[cairo] server side gradients

David Reveman davidr at novell.com
Thu Feb 8 13:44:54 PST 2007


I've updated my server-side gradient patch for cairo's xlib backend. A
bug in libXrender was avoided in the earlier patch by making a call to
XSync (I didn't know why, back when I wrote that patch). I recently
tracked down this libXrender bug and the patch has been updated with an
appropriate workaround and comments. More info about that bug here
https://bugs.freedesktop.org/show_bug.cgi?id=9526. The buggy_gradient
variable is currently set to TRUE for all servers and should of course
be updated to reflect the servers that support gradients properly.
However, I believe that the patch is good to go in as it is.

This should provide significant performance improvement for the xlib
backend.

- David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-xlib-gradients-5.patch
Type: text/x-patch
Size: 10602 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070208/9178ef9e/cairo-xlib-gradients-5.bin


More information about the cairo mailing list