From 532abb435b1197515eab0616eb8bba5f1146cbac Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 1 Oct 2011 05:29:14 +0200 Subject: Android/EGL: dump all caps, write-back format --- .../com/jogamp/android/launcher/NEWTLauncherActivity.java | 7 ++++--- .../jogamp/opengl/egl/EGLGraphicsConfigurationFactory.java | 3 +++ .../classes/jogamp/newt/driver/android/AndroidWindow.java | 12 ++++++++++-- 3 files changed, 17 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java b/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java index d80a9af98..42bd98320 100644 --- a/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java +++ b/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java @@ -63,14 +63,15 @@ public abstract class NEWTLauncherActivity extends Activity { System.setProperty("nativewindow.debug.GraphicsConfiguration", "true"); // System.setProperty("jogl.debug", "all"); - System.setProperty("jogl.debug.GLProfile", "true"); - System.setProperty("jogl.debug.GLDrawable", "true"); + // System.setProperty("jogl.debug.GLProfile", "true"); + // System.setProperty("jogl.debug.GLDrawable", "true"); + // System.setProperty("jogl.debug.GLContext", "true"); System.setProperty("jogl.debug.GLSLCode", "true"); System.setProperty("jogl.debug.CapabilitiesChooser", "true"); // System.setProperty("jogl.debug.GLSLState", "true"); // System.setProperty("jogl.debug.DebugGL", "true"); - // System.setProperty("jogl.debug.TraceGL", "true"); + System.setProperty("jogl.debug.TraceGL", "true"); // System.setProperty("newt.debug", "all"); System.setProperty("newt.debug.Window", "true"); diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLGraphicsConfigurationFactory.java b/src/jogl/classes/jogamp/opengl/egl/EGLGraphicsConfigurationFactory.java index 8af432bd3..36a93f348 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLGraphicsConfigurationFactory.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLGraphicsConfigurationFactory.java @@ -295,6 +295,9 @@ public class EGLGraphicsConfigurationFactory extends GLGraphicsConfigurationFact if(DEBUG) { System.err.println("EGLGraphicsConfiguration.eglChooseConfig: got configs: "+availableCaps.size()); + for(int i=0; i