[cairo] Cairo + OpenGL + GTK

Larry Lewis lewislp at yahoo.com
Mon Aug 27 03:42:30 PDT 2007

What's the recommended approach for achieving OpenGL-accelerated drawing of Cairo in a GTK window?  I'm rendering lots of bitmaps with a little vector drawing thrown in for good measure, and the huge performance jump in cairogears on the COMP and SHADOW tests using the GLX backend is encouraging.

On the GTK side, there's GtkGlArea and GtkGlExt for integration into a widget.  Is one of these the preferred method of integration into GTK or is there another alternative?

Any help would be appreciated.

Larry Lewis

More information about the cairo mailing list