[cairo] rookie question

Carl Worth cworth at cworth.org
Tue Feb 5 08:46:05 PST 2008

On Tue, 5 Feb 2008 03:45:26 -0800 (PST), abi wrote:
> What is the difference between cairo , directfb , opengl ?

I'm afraid that questions a bit too broad for me to attempt any answer
here on the mailing list. Is there something more specific that you're
looking to answer?

> Where does the cairo fit in the x server system ?

This one's easier to address. The most typical usage of cairo with the
X Window System is that cairo provides an easy-to-use drawing API that
gives the application access to the X Render extension. So an
application that uses cairo_xlib_surface_create[*], will then be using
X Render for all cairo drawing.

And within the X server, the Render extension can be implemented with
hardware acceleration. This can happen with EXA today, which provides
driver hooks to accelerate Render. There's still ongoing work to
improve the implementation of EXA-based drivers, (see the recent talk
that Eric and I gave at linux.conf.au for example). And there are
experimental efforts, (called glucose), to instead use OpenGL inside
the X server to implement Render.

I hope that helps a bit,


[*] And a cairo-using GTK+ application targeting the X Window System
counts here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080205/90e1c15a/attachment.pgp 

More information about the cairo mailing list