diff options
author | Sven Gothel <[email protected]> | 2011-11-11 07:35:43 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-11 07:35:43 +0100 |
commit | 7e81956daf1d5c81f6344e7f5509ae08947f8434 (patch) | |
tree | ac118f8062c9da59604cf69a7a2f5a4e9f84f091 /src/test | |
parent | f0962124acf99a608f5e5e2f5f59fcb10f604403 (diff) |
OS X Layered View: Part7 Allow NEWT onscreen MacWindow to be used incl reparenting
Test: enable NEWT 'onscreen' case
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingOffscreenLayer01AWT.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingOffscreenLayer01AWT.java b/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingOffscreenLayer01AWT.java index 018b52f16..378d43049 100644 --- a/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingOffscreenLayer01AWT.java +++ b/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingOffscreenLayer01AWT.java @@ -132,6 +132,11 @@ public class TestParentingOffscreenLayer01AWT extends UITestCase { testOffscreenLayerPath1_Impl(true); } + @Test + public void testOffscreenLayerPath1_NewtOnscreen() throws InterruptedException, InvocationTargetException { + testOffscreenLayerPath1_Impl(false); + } + private void testOffscreenLayerPath1_Impl(boolean newtOffscreenClass) throws InterruptedException, InvocationTargetException { if( newtOffscreenClass && !JAWTUtil.isCachedJAWTUsingOffscreenLayer() ) { System.err.println("JAWT OffscreenLayer n/a on this platform."); |