diff options
author | Sven Gothel <[email protected]> | 2013-09-05 12:47:15 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-09-05 12:47:15 +0200 |
commit | 3f2e0d3a9a6cab80936851c44f61107a2993ddfe (patch) | |
tree | c2b0f7203044ea245981777ab40f397174a9ec4d /make/scripts | |
parent | 7ee9b87bdb025f98651c2685d416029a17fc3937 (diff) |
TileRendererBase: Add interface TileRendererNotify, to notify implementing GLEventListener about attached/detached TileRenderer
.. since GLEventListener's reshape(..) method must query certain tile renderer attributes (tile pos and image size),
they have to be aware of the TileRendererBase.
To simplify such awareness and hence automate this attachement and passing over the tile renderer reference,
they should implement this new interface.
Gears example implements the new interface,
which caches the TR reference and pauses rotation.
Diffstat (limited to 'make/scripts')
-rw-r--r-- | make/scripts/tests.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh index 5e4506d36..8f3f923d7 100644 --- a/make/scripts/tests.sh +++ b/make/scripts/tests.sh @@ -325,10 +325,11 @@ function testawtswt() { # # tile rendring / printing w/ & w/o AWT # -#testnoawt com.jogamp.opengl.test.junit.jogl.tile.TestTiledRendering1GL2NEWT $* -#testnoawt com.jogamp.opengl.test.junit.jogl.tile.TestTiledRendering2GL2NEWT $* -#testnoawt com.jogamp.opengl.test.junit.jogl.tile.TestRandomTiledRendering2GL2NEWT $* +testnoawt com.jogamp.opengl.test.junit.jogl.tile.TestTiledRendering1GL2NEWT $* +testnoawt com.jogamp.opengl.test.junit.jogl.tile.TestTiledRendering2GL2NEWT $* +testnoawt com.jogamp.opengl.test.junit.jogl.tile.TestRandomTiledRendering2GL2NEWT $* testawt com.jogamp.opengl.test.junit.jogl.tile.TestRandomTiledRendering3GL2AWT $* +#testawt com.jogamp.opengl.test.junit.jogl.tile.TestTiledPrintingGearsAWT $* # # core/newt (testnoawt and testawt) |