diff options
author | Sven Gothel <[email protected]> | 2010-11-27 07:55:31 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-27 07:55:31 +0100 |
commit | 86c164950b0a0d351fc8af3884187b10201b6237 (patch) | |
tree | 498535608116440d9122db89af33f7f8c998378f /make/scripts | |
parent | c6c30d46bc9c6ff472e35cf592713297b1ef7409 (diff) |
GLCanvas: Fix disableBackgroundErase/X11, make drawable creation more robust, doc Java2D/AWT properties.
On X11 disableBackgroundErase() must happen before native peer creation,
this patch issues it before and after super.addNotify().
Make drawable creation more robust, ie only create a drawable in case the size is > 0x0
and do this check/create at display/paint in case size it not yet determined.
Add documentation about Java2D/AWT properties impact on GLCanvas.
Make JUnit tests on AWT/GLProfile's more robust, while adding frame validate()
ensuring 1st paint will have a size, hence will create the drawable.
This is necessary for eg. AMD GPU's and GL context > 3.
Diffstat (limited to 'make/scripts')
-rw-r--r-- | make/scripts/tests-x64.bat | 4 | ||||
-rw-r--r-- | make/scripts/tests.sh | 16 |
2 files changed, 11 insertions, 9 deletions
diff --git a/make/scripts/tests-x64.bat b/make/scripts/tests-x64.bat index 686a5f8ae..0780fca7d 100644 --- a/make/scripts/tests-x64.bat +++ b/make/scripts/tests-x64.bat @@ -1,8 +1,10 @@ REM scripts\java-win64-dbg.bat com.jogamp.newt.opengl.GLWindow +scripts\java-win64.bat com.jogamp.test.junit.jogl.awt.TestAWT01GLn +REM scripts\java-win64.bat com.jogamp.test.junit.jogl.awt.TestSwingAWT01GLn REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.acore.TestGLProfile01NEWT REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.demos.gl2.gears.newt.TestGearsNEWT -time 30000 REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.demos.gl2.gears.TestGearsGLJPanelAWT -time 5000 -scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.awt.TestAWT03GLCanvasRecreate01 +REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.awt.TestAWT03GLCanvasRecreate01 REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411 REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.glsl.TestTransformFeedbackVaryingsBug407NEWT REM scripts\java-win64-dbg.bat com.jogamp.test.junit.jogl.glsl.TestGLSLSimple01NEWT -time 2000 diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh index 790ec614f..8c70605dc 100644 --- a/make/scripts/tests.sh +++ b/make/scripts/tests.sh @@ -60,11 +60,11 @@ function testawt() { # # newt (testnoawt and testawt) # -testnoawt com.jogamp.nativewindow.NativeWindowVersion $* -testnoawt com.jogamp.opengl.JoglVersion $* -testnoawt com.jogamp.newt.NewtVersion $* -testnoawt com.jogamp.newt.opengl.GLWindow $* -testnoawt com.jogamp.test.junit.jogl.acore.TestGLProfile01NEWT $* +#testnoawt com.jogamp.nativewindow.NativeWindowVersion $* +#testnoawt com.jogamp.opengl.JoglVersion $* +#testnoawt com.jogamp.newt.NewtVersion $* +#testnoawt com.jogamp.newt.opengl.GLWindow $* +#testnoawt com.jogamp.test.junit.jogl.acore.TestGLProfile01NEWT $* #testawt com.jogamp.test.junit.jogl.acore.TestGLProfile01NEWT $* #testnoawt com.jogamp.test.junit.jogl.glsl.TestTransformFeedbackVaryingsBug407NEWT $* #testnoawt com.jogamp.test.junit.jogl.glsl.TestGLSLSimple01NEWT $* @@ -86,11 +86,11 @@ testnoawt com.jogamp.test.junit.jogl.acore.TestGLProfile01NEWT $* # # awt (testawt) # -testawt javax.media.opengl.awt.GLCanvas $* -#testawt com.jogamp.test.junit.jogl.awt.TestAWT01GLn $* +#testawt javax.media.opengl.awt.GLCanvas $* +testawt com.jogamp.test.junit.jogl.awt.TestAWT01GLn $* +#testawt com.jogamp.test.junit.jogl.awt.TestSwingAWT01GLn #testawt com.jogamp.test.junit.jogl.awt.TestAWT03GLCanvasRecreate01 $* #testawt com.jogamp.test.junit.jogl.awt.TestAWT02WindowClosing -#testawt com.jogamp.test.junit.jogl.awt.TestSwingAWT01GLn #testawt com.jogamp.test.junit.jogl.demos.gl2.gears.TestGearsAWT #testawt com.jogamp.test.junit.jogl.demos.gl2.gears.TestGearsGLJPanelAWT #testawt com.jogamp.test.junit.jogl.texture.TestTexture01AWT |