[cairo-bugs] [Bug 16237] Should the XCB backend for cairo_surface_flush() call xcb_flush ()?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 10 11:24:58 PDT 2008


Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk>  2008-10-10 11:24:44 PST ---
cairo_surface_flush() only guarantees that all operations are complete before
you try to read back from the surface. X enforces that all outstanding
operations are complete before a XGetImage() reads back from the surface. The
remaining issue would then be somebody mixing direct pixel manipulation with
XRender to a ShmPixmap and that would require cairo_surface_flush() to call
XSync()! And if XFlush() was a performance disaster...

However, cairo_surface_show_page() calling XFlush() has merit and would seem to
fit the sematics, so copying to TODO.

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

More information about the cairo-bugs mailing list