1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
Index: libjogl2-java-2.0-rc5/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java
===================================================================
--- libjogl2-java-2.0-rc5.orig/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java 2011-12-19 03:43:56.000000000 +0100
+++ libjogl2-java-2.0-rc5/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java 2011-12-26 10:06:08.266867194 +0100
@@ -200,23 +200,23 @@
st.uniform(gl, pmvMatrixUniform);
st.useProgram(gl, false);
- if(useAndroidDebug) {
+/* if(useAndroidDebug) {
try {
android.os.Debug.startMethodTracing("GearsES2.trace");
// android.os.Debug.startAllocCounting();
useAndroidDebug = true;
} catch (NoClassDefFoundError e) { useAndroidDebug=false; }
- }
+ }*/
System.err.println(Thread.currentThread()+" GearsES2.reshape FIN");
}
private boolean useAndroidDebug = false;
public void dispose(GLAutoDrawable drawable) {
- if(useAndroidDebug) {
+/* if(useAndroidDebug) {
// android.os.Debug.stopAllocCounting();
android.os.Debug.stopMethodTracing();
- }
+ }*/
System.err.println(Thread.currentThread()+" GearsES2.dispose ... ");
if (drawable instanceof Window) {
Index: libjogl2-java-2.0-rc5/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RedSquareES2.java
===================================================================
--- libjogl2-java-2.0-rc5.orig/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RedSquareES2.java 2011-12-19 03:43:56.000000000 +0100
+++ libjogl2-java-2.0-rc5/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RedSquareES2.java 2011-12-26 10:01:49.134860058 +0100
@@ -172,23 +172,23 @@
st.uniform(gl, pmvMatrixUniform);
st.useProgram(gl, false);
- if(useAndroidDebug) {
+/* if(useAndroidDebug) {
try {
android.os.Debug.startMethodTracing("RedSquareES2.trace");
// android.os.Debug.startAllocCounting();
useAndroidDebug = true;
} catch (NoClassDefFoundError e) { useAndroidDebug=false; }
- }
+ }*/
System.err.println(Thread.currentThread()+" RedSquareES2.reshape FIN");
}
private boolean useAndroidDebug = false;
public void dispose(GLAutoDrawable glad) {
- if(useAndroidDebug) {
+/* if(useAndroidDebug) {
// android.os.Debug.stopAllocCounting();
android.os.Debug.stopMethodTracing();
- }
+ }*/
System.err.println(Thread.currentThread()+" RedSquareES2.dispose ... ");
if (null != glWindow) {
glWindow.removeMouseListener(myMouse);
|