From 8c9f3bb33732346fab0112b4a2e177b13f4e8087 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Thu, 18 Nov 2010 17:08:04 +0100 Subject: print platform info additional to the module info. --- src/jogl/classes/com/jogamp/opengl/JoglVersion.java | 1 + src/jogl/classes/javax/media/opengl/GLProfile.java | 2 ++ src/jogl/classes/javax/media/opengl/awt/GLCanvas.java | 2 ++ 3 files changed, 5 insertions(+) (limited to 'src/jogl/classes') diff --git a/src/jogl/classes/com/jogamp/opengl/JoglVersion.java b/src/jogl/classes/com/jogamp/opengl/JoglVersion.java index bafe7ceaa..8bd3c4777 100644 --- a/src/jogl/classes/com/jogamp/opengl/JoglVersion.java +++ b/src/jogl/classes/com/jogamp/opengl/JoglVersion.java @@ -97,6 +97,7 @@ public class JoglVersion extends JogampVersion { } public static void main(String args[]) { + System.err.println(VersionUtil.getPlatformInfo()); System.err.println(JoglVersion.getInstance()); } } diff --git a/src/jogl/classes/javax/media/opengl/GLProfile.java b/src/jogl/classes/javax/media/opengl/GLProfile.java index 02252ac33..dab0c0daa 100644 --- a/src/jogl/classes/javax/media/opengl/GLProfile.java +++ b/src/jogl/classes/javax/media/opengl/GLProfile.java @@ -40,6 +40,7 @@ package javax.media.opengl; import com.jogamp.common.GlueGenVersion; import com.jogamp.common.jvm.JVMUtil; import com.jogamp.common.util.ReflectionUtil; +import com.jogamp.common.util.VersionUtil; import com.jogamp.nativewindow.NativeWindowVersion; import com.jogamp.opengl.impl.Debug; import com.jogamp.opengl.impl.GLDrawableFactoryImpl; @@ -1172,6 +1173,7 @@ public class GLProfile { addedAnyProfile = addedAnyProfile || initProfilesForDevice(defaultEGLDevice); if(DEBUG) { + System.err.println(VersionUtil.getPlatformInfo()); System.err.println(GlueGenVersion.getInstance()); System.err.println(NativeWindowVersion.getInstance()); System.err.print(JoglVersion.getInstance()); diff --git a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java index dba041f8d..47e81d0e9 100644 --- a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java +++ b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java @@ -41,6 +41,7 @@ package javax.media.opengl.awt; import com.jogamp.common.GlueGenVersion; +import com.jogamp.common.util.VersionUtil; import com.jogamp.nativewindow.NativeWindowVersion; import javax.media.opengl.*; import javax.media.nativewindow.*; @@ -799,6 +800,7 @@ public class GLCanvas extends Canvas implements AWTGLAutoDrawable { * A most simple JOGL AWT test entry */ public static void main(String args[]) { + System.err.println(VersionUtil.getPlatformInfo()); System.err.println(GlueGenVersion.getInstance()); System.err.println(NativeWindowVersion.getInstance()); System.err.print(JoglVersion.getInstance()); -- cgit v1.2.3