[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 04:21:41 PDT 2010


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

Benjamin Otte <otte at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|cairo_restore does not undo |cairo_surface_flush() does
                   |a clip done on a DirectFB   |not undo a clip done on a
                   |surface                     |DirectFB surface

--- Comment #3 from Benjamin Otte <otte at gnome.org> 2010-08-12 04:21:40 PDT ---
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