Re: [GtkGLExt] OpenGL 2.0 support in Gtkglext?



Hongbo Zhou wrote:
> Dear All,
>         Just curious. Does Gtkglext support OpenGL 2.0 or above? Can I
> use GLSL with gtkglext? Thank you!
> 

Of course OpenGL 2.0 is supported :) There's really nothing special
required from GtkGLExt (or similar libraries) for OpenGL 2.x support,
you just check the GL version and use OpenGL 2.x functions as usual.

For OpenGL 3.x, this isn't possible yet, as both "normal" and "forward
compatible" context creation for OpenGL 3 must be done a little
differently. Current GtkGLExt creation methods will give you at most 2.x
context. (See
http://www.mail-archive.com/gtkglext-list gnome org/msg00537.html.)

Michalis


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