aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-01-09 03:52:53 +0100
committerSven Gothel <[email protected]>2012-01-09 03:52:53 +0100
commit29d4e29537de0d9043fcb1363e707e4f6c16f6f3 (patch)
tree74b4c5e77ed33069ffc1bd1557dfb75d019720b8 /src/test/com/jogamp
parentacb48154608c8f4e3f49306ff6e2ab3d5df8bc72 (diff)
TestAWTCardLayoutAnimatorStartStopBug532: Minor edit / Uncomment Windows hdc/hwnd dump.
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java b/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java
index d230f153e..5415ad159 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java
@@ -95,7 +95,7 @@ public class TestAWTCardLayoutAnimatorStartStopBug532 extends UITestCase {
}
canvas.addGLEventListener(new GearsES2(1));
- if(Platform.OS_TYPE == Platform.OSType.WINDOWS) {
+ /* if(Platform.OS_TYPE == Platform.OSType.WINDOWS) {
canvas.addGLEventListener(new GLEventListener() {
public void init(GLAutoDrawable drawable) { }
public void dispose(GLAutoDrawable drawable) { }
@@ -104,13 +104,13 @@ public class TestAWTCardLayoutAnimatorStartStopBug532 extends UITestCase {
long hdc = win.getSurfaceHandle();
long hdw = win.getWindowHandle();
long hdw_hdc = GDI.WindowFromDC(hdc);
- // System.err.println("*** hdc 0x"+Long.toHexString(hdc)+", hdw(hdc) 0x"+Long.toHexString(hdw_hdc)+", hdw 0x"+Long.toHexString(hdw) + " - " + Thread.currentThread().getName() + ", " + animatorCtrl);
+ System.err.println("*** hdc 0x"+Long.toHexString(hdc)+", hdw(hdc) 0x"+Long.toHexString(hdw_hdc)+", hdw 0x"+Long.toHexString(hdw) + " - " + Thread.currentThread().getName() + ", " + animatorCtrl);
// System.err.println(drawable.getNativeSurface().toString());
}
public void reshape(GLAutoDrawable drawable, int x, int y, int width,
int height) { }
});
- }
+ } */
final JFrame frame = new JFrame();
frame.setTitle(getSimpleTestName());
@@ -133,6 +133,7 @@ public class TestAWTCardLayoutAnimatorStartStopBug532 extends UITestCase {
if(!newSelection.equals(selected)) {
final String oldSelected = selected;
if(newSelection.equals(CANVAS)) {
+ cl.show(cards, CANVAS);
switch (animCtrl) {
case StartStop:
animatorCtrl.start();
@@ -141,7 +142,6 @@ public class TestAWTCardLayoutAnimatorStartStopBug532 extends UITestCase {
animatorCtrl.resume();
break;
}
- cl.show(cards, CANVAS);
selected = CANVAS;
} else if(newSelection.equals(LABEL)) {
switch (animCtrl) {