views:

47

answers:

1

Simple and short: What is the most advanced OpenGL binding for GTK+? I would prefer a widget which allows me to use it similar to QGLWidget.

Note: I stumbled upon gtkglext, gtkglarea and clutter. I read the first two have shortcomings/ serious issues.

A: 

Ok, I read pretty much through the last 2 hours and my results are:

  • gtkglext will completly replace the backend by OpenGL, this was not my intention
  • clutter has all native gl calls boxed into objects and does not support native gl calls at all, though it provides many predifened filters and funny stuff
  • gtkglarea seems fine, its design is lovely. It has the same usage style as QGLWidget in Qt (as far as I can say) simple demo of gtkglarea

Note: gtkglarea has still some problems like core dump on exit (at least 1.99)

Note2: Version 2.0.1 fixes this issue

Edit: For those seeking for 2D only cairo seems to be most suitable.

penguinpower