1. 09 Feb, 2012 2 commits
  2. 04 Feb, 2012 2 commits
  3. 02 Feb, 2012 5 commits
  4. 01 Feb, 2012 1 commit
  5. 31 Jan, 2012 1 commit
  6. 19 Jan, 2012 1 commit
  7. 17 Jan, 2012 1 commit
  8. 15 Jan, 2012 7 commits
  9. 12 Jan, 2012 1 commit
  10. 11 Jan, 2012 5 commits
  11. 16 Dec, 2011 3 commits
  12. 15 Dec, 2011 3 commits
  13. 12 Dec, 2011 1 commit
    • Chris Wilson's avatar
      gl: Set the destination for swap buffers, required by EGL at least · 909f4a4a
      Chris Wilson authored
      
      
      EGL mandates that the current context be valid for a call to
      swapbuffers, and does not just operate upon the drawable passed in. The
      current code prevents this as a side effect of calling flush decouples
      the current context (so that the state can be clobbered by the
      application without impacting upon Cairo). So when we try to swap, EGL
      complains.
      
      We can get the desired behaviour by setting the surface upon the
      context, thus calling MakeCurrent as necessary, and then flushing any
      pending operations before swapping. This has the positive side-effect
      of not clobbering our own state unnecessarily.
      Reported-by: Pekka Paalanen's avatarPekka Paalanen <ppaalanen@gmail.com>
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      909f4a4a
  14. 11 Dec, 2011 4 commits
  15. 09 Dec, 2011 3 commits
    • Adrian Johnson's avatar
      doc: fix typos · be288ce0
      Adrian Johnson authored
      be288ce0
    • Adrian Johnson's avatar
      ps: simplify the EPS save and restore · c7ea9290
      Adrian Johnson authored
      userdict is not permitted in EPS files. Since the PS surface does not
      leave extra operators or dictionaries on the stack the EPS prolog and
      trailer can be reduced to:
      
      save
      50 dict begin
      
      ....
      
      end
      restore
      
      The save/restore pair is required to remove fonts and restore the
      graphics state. As "restore" does not restore the dictionary stack,
      using a new current dictionary for the EPS file allows the cairo dict
      entries to be cleaned up at the end the EPS.
      
      Bug 43634
      c7ea9290
    • Chris Wilson's avatar
      gl: Track surface references through operands · f446e57f
      Chris Wilson authored
      
      
      In the case where we created a surface to handle an operand, it needs to
      be freed when we release the operand. However, we also have to be
      careful not to introduce reference cycles into ordinary surfaces, so
      always remember to teardown the composite setup!
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      f446e57f