Re: Using OpenGL with GTK



cogl,clutter,gtkdrawingarea should work - depending on what you want ranging from a framework to convenience rappers to just a gl context. gtkglext is a different story, it renders the whole widget via OpenGL not only the content of a specific widget. Also see http://stackoverflow.com/questions/3815806/gtk-and-opengl-bindings

On Sun, Feb 16, 2014 at 2:59 AM, Rena <hyperhacker gmail com> wrote:
What's the ideal way to use OpenGL in a GTK application? It seems like
there are a few not very good options:

1) GtkGlExt: great except it doesn't support introspection, so I can't use it from a scripting language without manually writing a binding for it. Not sure if it's still supported? A bug to add introspection has been open for
ages.

2) GtkGlArea: seems to be a predecessor to GtkGlExt?

3) SDL: no introspection here either, plus I have to have a separate window
for the OpenGL render.

Is there another way?

--
Sent from my Game Boy.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]