[cairo-bugs] [Bug 29501] cairo_surface_flush() does not undo a clip done on a DirectFB surface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 12 05:33:53 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29501

--- Comment #4 from Allison Newman <allison.newman at sfr.com> 2010-08-12 05:33:51 PDT ---
Ahhhh.  Thank you Benjamin, yes, that was effectively a bug in my code,
although as you have noted, the problem is still present, even with the flush.

I'll have a shot at providing a first attempt at correcting the bug now that I
know this is truly a problem, rather than just a bug in my own code!

(In reply to comment #3)
> This is a bug in Cairo's DirectFB implementation.
> 
> However, it has nothing to do with cairo_restore() but with the way surfaces
> are handled in Cairo. Cairo surfaces assume full ownership of the given
> resources when they are created. So they are free to set any clip they like on
> the DirectFBSurface.
> 
> But there is a function that the user can use to make Cairo release its contol
> of the resource and restore its settings to the original state:
> cairo_surface_flush(). And that function is not implemented by the DirectFB
> backend.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the cairo-bugs mailing list