From d14ce72a37dd82b7e5b2a40acaed1281fb117ead Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 14 Nov 2008 05:09:17 +0000 Subject: 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 --- src/demos/GLInfo.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') 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) { -- cgit v1.2.3