[Xcb] cairo XCB/RENDER support (was: Re: xcb-render-util crashs)

Julien Danjou julien at danjou.info
Tue Nov 18 01:29:25 PST 2008

At 1226943210 time_t, Ian Osgood wrote:
> Yes, as currently designed the call to xcb_render_util_query_version()
> on line 1767 of cairo_xcb_surface.c must be preceded by a check for the
> Render extension.  After that, major = minor = -1 and all the
> CAIRO_SURFACE_RENDER_HAS macros will return false. You would also
> need to comb through the code to make sure there are cairo or
> core X fallbacks for every potential use of Render protocol.
> (cairo was originally designed as a convenience library for
> Render, so that might take some work.)

FWIW, I've opened bug 18588 at b.fd.o with a patch to fix this.
Unfortunately it seems some fallback paths are missing, the stuff drawn
are not really as beautiful as the ones drawn with RENDER available.

Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20081118/afc9975f/attachment.pgp 

More information about the Xcb mailing list