If you're doing gtk2, you should use GtkGLExt. GtkGLArea is for previous versions.<br><br><div><span class="gmail_quote">On 8/27/07, <b class="gmail_sendername">Larry Lewis</b> <<a href="mailto:lewislp@yahoo.com">lewislp@yahoo.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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.
<br><br>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?<br><br>Any help would be appreciated.
<br><br>Larry Lewis<br><br><br>_______________________________________________<br>cairo mailing list<br><a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br><a href="http://lists.cairographics.org/mailman/listinfo/cairo">
http://lists.cairographics.org/mailman/listinfo/cairo</a><br></blockquote></div><br>