summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-10-29 06:31:11 +0200
committerSven Gothel <[email protected]>2010-10-29 06:31:11 +0200
commit8e1e785f26ff57b58fe6218f7ad1c9379760d367 (patch)
tree90f791066b14801ac16f030f5553461d1c5541c1
parenta0c7b5ca791f659d9c98654b47246092aad42665 (diff)
Using GLCanvas _and_ NEWT side by side currently causes a deadlock in AWT with AMD drivers
-rw-r--r--src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWTRobotUsageBeforeJOGLInitBug411.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWTRobotUsageBeforeJOGLInitBug411.java b/src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWTRobotUsageBeforeJOGLInitBug411.java
index 3e54e1c8e..326a6942a 100644
--- a/src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWTRobotUsageBeforeJOGLInitBug411.java
+++ b/src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWTRobotUsageBeforeJOGLInitBug411.java
@@ -280,6 +280,10 @@ public class TestSwingAWTRobotUsageBeforeJOGLInitBug411 extends UITestCase {
GLProfile glp = GLProfile.getDefault();
GLCapabilities caps = new GLCapabilities(glp);
+ /**
+ * Using GLCanvas _and_ NEWT side by side currently causes a deadlock
+ * in AWT with AMD drivers !
+ *
GLWindow win0 = GLWindow.create(caps);
win0.setSize(100,100);
win0.setVisible(true);
@@ -288,6 +292,7 @@ public class TestSwingAWTRobotUsageBeforeJOGLInitBug411 extends UITestCase {
win0.addGLEventListener(new Gears());
Animator anim0 = new Animator(win0);
anim0.start();
+ */
GLCanvas glCanvas = new GLCanvas(caps);
Animator anim1 = new Animator(glCanvas);
@@ -297,8 +302,10 @@ public class TestSwingAWTRobotUsageBeforeJOGLInitBug411 extends UITestCase {
Thread.sleep(100); // wait 1/10Hz to allow animation to be paused
Assert.assertEquals(false, anim1.isAnimating());
+ /**
win0.destroy(true);
Assert.assertEquals(false, anim0.isAnimating());
+ */
System.err.println("TestSwingAWTRobotUsageBeforeJOGLInitBug411.test02GLCanvas(): End");
}