diff options
author | Sven Gothel <[email protected]> | 2008-11-14 05:09:17 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-11-14 05:09:17 +0000 |
commit | d14ce72a37dd82b7e5b2a40acaed1281fb117ead (patch) | |
tree | a7b4e3dd940cd9d58aafed1cb086b04d87c2cba8 /src | |
parent | 1d4b8640e128143707e6c19f6249d6b4dba0d2a0 (diff) |
Added details to GLInfo / some function availibility checks
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@288 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src')
-rwxr-xr-x | src/demos/GLInfo.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/demos/GLInfo.java b/src/demos/GLInfo.java index e670e88..6e7ef73 100755 --- a/src/demos/GLInfo.java +++ b/src/demos/GLInfo.java @@ -59,6 +59,17 @@ public class GLInfo implements GLEventListener { System.err.println("GL_VERSION: " + gl.glGetString(GL.GL_VERSION)); System.err.println("GL_EXTENSIONS: "); System.err.println(" " + gl.glGetString(GL.GL_EXTENSIONS)); + System.err.println("Platform EXTENSIONS: "); + System.err.println(" " + gl.getContext().getPlatformExtensionsString()); + System.err.println("Availability Tests: "); + System.err.println(" Fixed: glBegin: "+gl.isFunctionAvailable("glBegin")); + System.err.println(" ES1 : glClearColorx: "+gl.isFunctionAvailable("glClearColorx")); + System.err.println(" GLSL : glUseProgram: "+gl.isFunctionAvailable("glUseProgram")); + System.err.println(" EGL : eglCreateContext: "+gl.isFunctionAvailable("eglCreateContext")); + System.err.println(" EGLEx: eglCreateImage: "+gl.isFunctionAvailable("eglCreateImage")); + System.err.println(" GLX : glXCreateWindow: "+gl.isFunctionAvailable("glXCreateWindow")); + System.err.println(" WGL : wglCreateContext: "+gl.isFunctionAvailable("wglCreateContext")); + System.err.println(" CGL : CGLCreateContext: "+gl.isFunctionAvailable("CGLCreateContext")); } public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) { |