[cairo] Cairo + OpenGL + GTK

Juan Aranda linermedia at gmail.com
Tue Aug 28 04:39:57 PDT 2007


If you're doing gtk2, you should use GtkGLExt. GtkGLArea is for previous
versions.

On 8/27/07, Larry Lewis <lewislp at yahoo.com> wrote:
>
> 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
>
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20070828/a3247c83/attachment.html 


More information about the cairo mailing list