summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/scripts/eglestest-java-linux.sh2
-rw-r--r--src/newt/classes/jogamp/newt/driver/android/NEWTSurfaceView.java1
2 files changed, 3 insertions, 0 deletions
diff --git a/make/scripts/eglestest-java-linux.sh b/make/scripts/eglestest-java-linux.sh
index 521a5fb4c..3151d9d1e 100644
--- a/make/scripts/eglestest-java-linux.sh
+++ b/make/scripts/eglestest-java-linux.sh
@@ -37,6 +37,8 @@ java \
-Djava.library.path=../../gluegen/make/$BUILD_DIR/obj:$BUILD_DIR/lib \
-Djava.class.path=$CP_BASE:$CP_JOGL_MOBILE \
-Djogamp.debug.NativeLibrary=true \
+ -Dnativewindow.debug=all \
+ -Djogl.debug=all \
$TSTCLASS $* \
2>&1 | tee $LOGFILE \
diff --git a/src/newt/classes/jogamp/newt/driver/android/NEWTSurfaceView.java b/src/newt/classes/jogamp/newt/driver/android/NEWTSurfaceView.java
index 4cba7e77e..cdbe40471 100644
--- a/src/newt/classes/jogamp/newt/driver/android/NEWTSurfaceView.java
+++ b/src/newt/classes/jogamp/newt/driver/android/NEWTSurfaceView.java
@@ -44,6 +44,7 @@ public class NEWTSurfaceView extends SurfaceView implements Callback2 {
public NEWTSurfaceView(Context context) {
super(context);
+ System.setProperty("nativewindow.debug", "all");
System.setProperty("jogl.debug", "all");
System.setProperty("jogamp.debug.JNILibLoader", "true");
System.setProperty("jogamp.debug.NativeLibrary", "true");