diff options
author | Michael Bien <[email protected]> | 2010-11-18 17:08:04 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-11-18 17:08:04 +0100 |
commit | 8c9f3bb33732346fab0112b4a2e177b13f4e8087 (patch) | |
tree | 0c34bda8d57110c552b6a4731ce6b97db69402ef | |
parent | 448d9ca99a38f4f107c86ca3475129568cd74cf7 (diff) |
print platform info additional to the module info.
6 files changed, 9 insertions, 0 deletions
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()); diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowVersion.java b/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowVersion.java index 6f9666039..6f4c75887 100644 --- a/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowVersion.java +++ b/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowVersion.java @@ -54,6 +54,7 @@ public class NativeWindowVersion extends JogampVersion { } public static void main(String args[]) { + System.err.println(VersionUtil.getPlatformInfo()); System.err.println(NativeWindowVersion.getInstance()); } } diff --git a/src/newt/classes/com/jogamp/newt/NewtVersion.java b/src/newt/classes/com/jogamp/newt/NewtVersion.java index a11621370..aee67c4bc 100644 --- a/src/newt/classes/com/jogamp/newt/NewtVersion.java +++ b/src/newt/classes/com/jogamp/newt/NewtVersion.java @@ -54,6 +54,7 @@ public class NewtVersion extends JogampVersion { } public static void main(String args[]) { + System.err.println(VersionUtil.getPlatformInfo()); System.err.println(NewtVersion.getInstance()); } } diff --git a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java index 6c0635006..7c0384bd0 100644 --- a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java +++ b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java @@ -35,6 +35,7 @@ package com.jogamp.newt.opengl; import com.jogamp.common.GlueGenVersion; +import com.jogamp.common.util.VersionUtil; import com.jogamp.nativewindow.NativeWindowVersion; import com.jogamp.newt.*; import com.jogamp.newt.event.*; @@ -862,6 +863,7 @@ public class GLWindow implements GLAutoDrawable, Window, NEWTEventConsumer { * 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()); |