Any one can tell me what's opengl version encapsulated in jogl ?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Any one can tell me what's opengl version encapsulated in jogl ?

george2008
Hi,

Any one can tell me what's opengl version encapsulated in jogl ?

Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Any one can tell me what's opengl version encapsulated in jogl ?

jmaasing
It says right here: http://jogamp.org/jogl/www/
"JOGL provides full access to the APIs in the OpenGL [ 1.0 .. 4.5 ], ES [ 1.0 .. 3.1 ] and EGL [ 1.0 .. 1.5 ] specification as well as nearly all vendor extensions."

However, the version of OpenGL is determined by your hardware / graphic-card driver. JOGL is mostly a binding allowing java programs access to the C API of the driver.
Reply | Threaded
Open this post in threaded view
|

Re: Any one can tell me what's opengl version encapsulated in jogl ?

george2008
thanks.

The method 'glGetString(GL.GL_VERSION)' can tell me the version on my hardware.
Reply | Threaded
Open this post in threaded view
|

Re: Any one can tell me what's opengl version encapsulated in jogl ?

gouessej
Administrator
Yes but rather use GLContext.getVersion() or GLContext.getVersionNumber(), those methods are more reliable, they handle some corner cases.
Julien Gouesse | Personal blog | Website