Login  Register

OpenGL 4 status

Posted by Job Zwiers on May 21, 2011; 3:08pm
URL: https://forum.jogamp.org/OpenGL-4-status-tp2969055.html

Hi,

Can someone tell me what the status of Jogl support for OpenGL 4 is at the moment?
There is a GL4 interface already for some time, but (on my OpenGL4 capable system), the following fails:

GL4 gl = drawable.getGL().getGL4();

Message: Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Not a GL4 implementation
        at jogamp.opengl.gl4.GL4bcImpl.getGL4(GL4bcImpl.java:32456)

 A similar line GL3 gl = drawable.getGL().getGL3()  works fine;  
in that case, gl.glGetString(GL3.GL_VERSION); returns OGL version 3.3

A tool like GPU Caps Viewer reports OGL 4.1, and it does run the OGL4 tesselation demo fine.

System:
Jogl build: b391
NVidia GTX 460, driver: 270.61(whql),  Win7 64 bits

Any ideas?

Job