1. 20 Feb, 2012 1 commit
  2. 19 Feb, 2012 1 commit
  3. 18 Feb, 2012 2 commits
  4. 15 Feb, 2012 3 commits
  5. 14 Feb, 2012 2 commits
  6. 13 Feb, 2012 21 commits
  7. 10 Feb, 2012 1 commit
  8. 09 Feb, 2012 9 commits
    • Robert Bragg's avatar
      buffer: explicitly relate buffers to a context · 3ea6acc0
      Robert Bragg authored
      All CoglBuffer constructors now take an explicit CoglContext
      constructor. This is part of the on going effort to adapt to Cogl API so
      it no longer depends on a global, default context.
      Reviewed-by: 's avatarNeil Roberts <neil@linux.intel.com>
    • Robert Bragg's avatar
      debug: don't overlay wireframe · 26987821
      Robert Bragg authored
      When using COGL_DEBUG=wireframe we were overlaying a wireframe of the
      users geometry over the top of what was drawn for each primitive. It
      seems to be more useful though that if the wireframe debug option has
      been enabled then we should draw only the wireframes instead of
      overlaying them.
      Reviewed-by: 's avatarNeil Roberts <neil@linux.intel.com>
    • Robert Bragg's avatar
      cogl-crate: remove spurious cogl_set_depth_test_enabled call · 983c9f0d
      Robert Bragg authored
      Use of cogl_set_depth_test_enabled() has been deprecated for some time
      and cogl-create already uses the new api for enabling depth testing so
      it was just an oversight that we forgot to remove the old call to
      Reviewed-by: 's avatarNeil Roberts <neil@linux.intel.com>
    • Robert Bragg's avatar
      journal: use pipeline term instead of source · b168ff8e
      Robert Bragg authored
      Since we are adapting the Cogl api to be less stateful one of the things
      we no longer require is the cogl_set_source() api since a pipeline can
      be explicitly passed as an argument when drawing. This means the term
      "source" has been deprecated and internally we should aim to
      consistently use the term "pipeline" instead. This patch updates the
      journal code to use the term pipeline instead of source.
      Reviewed-by: 's avatarNeil Roberts <neil@linux.intel.com>
    • Robert Bragg's avatar
      debug: Adds COGL_DEBUG=winsys option · 9a254d82
      Robert Bragg authored
      Although we internally had a COGL_DEBUG_WINSYS enum we weren't providing
      a way to enable that via the COGL_DEBUG environment variable. This adds
      a "winsys" option that can be used to enable printing of winsys debug
      Reviewed-by: 's avatarNeil Roberts <neil@linux.intel.com>
    • Robert Bragg's avatar
      display: Remove _EXP symbol mangling and add gtk-doc · 379fa8b4
      Robert Bragg authored
      We are in the process of removing all _EXP suffix mangling for
      experimental APIs (Ref: c6528c4b) and adding missing gtk-doc
      comments so that we can instead rely on the "Stability: unstable"
      markers in the gtk-doc comments. This patch tackles the display api
      Reviewed-by: 's avatarNeil Roberts <neil@linux.intel.com>
    • Robert Bragg's avatar
      framebuffer: Add cogl_framebuffer draw methods · 92c30630
      Robert Bragg authored
      This adds cogl_framebuffer_ apis for drawing attributes and primitives
      that replace corresponding apis that depend on the default CoglContext.
      This is part of the on going effort to adapt the Cogl api so it no
      longer depends on a global context variable.
      All the new drawing functions also take an explicit pipeline argument
      since we are also aiming to avoid being a stateful api like Cairo and
      OpenGL. Being stateless makes it easier for orthogonal components to
      share access to the GPU. Being stateless should also minimize any
      impedance miss-match for those wanting to build higher level stateless
      apis on top of Cogl.
      Note: none of the legacy, global state options such as
      cogl_set_depth_test_enabled(), cogl_set_backface_culling_enabled() or
      cogl_program_use() are supported by these new drawing apis and if set
      will simply be silently ignored.
      Reviewed-by: 's avatarNeil Roberts <neil@linux.intel.com>
    • Robert Bragg's avatar
      examples: use framebuffer matrix stack apis · 0365f6cd
      Robert Bragg authored
      Instead of using apis like cogl_push/pop_matrix, cogl_rotate,
      cogl_translate and cogl_scale all the examples now use the
      cogl_framebuffer_* equivalents. Our aim is to remove the need for the
      default CoglContext and so we are switching towards apis that
      are explicitly tied to a specific context.
      Reviewed-by: 's avatarNeil Roberts <neil@linux.intel.com>
    • Robert Bragg's avatar
      examples: use cogl_framebuffer_clear4f not cogl_clear · 7287dd1f
      Robert Bragg authored
      cogl_clear depends on the default CoglContext which we are trying to
      steer the API away from requiring. cogl_framebuffer_clear4f is
      explicitly passed a framebuffer pointer which is implicitly related to a
      specific context.
      This updates all the examples to use cogl_framebuffer_clear4f instead of
      cogl_clear and removes any redundant CoglColor that was previously
      passed to cogl_clear.
      Reviewed-by: 's avatarNeil Roberts <neil@linux.intel.com>