diff options
author | Sven Gothel <[email protected]> | 2013-06-23 01:21:30 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-06-23 01:21:30 +0200 |
commit | 2d32b056c7b1b6b3d071d79fb4c2d4e9113b59d5 (patch) | |
tree | 65bd4a21fa8263a05d90edbd1ee6b4c23052a2d8 /make/scripts/rsync2here.sh | |
parent | 41c626d8a27981e694b3b728a9a2f2bc8def939d (diff) |
Fix Bug 761 (part 2/2): NEWT registers one customShutdownHook @ NativeWindowFactory.shutdownHook head, allowing proper resource cleanup.
1 WindowImpl.shutdownAll():
- For all instances:
- mark invalid (causes any user thread to disregard the window)
2 ScreenImpl.shutdownAll():
- Removed own shutdown-hook!
- For all instances:
- Reset ScreenMonitorState
3 DisplayImpl.shutdownAll():
- For all instances:
- Remove EDT
- closeNativeImpl
Manually tested on X11 w/ NV and ATI Catalyst (fglrx)
- DFLAGS="-Djogl.debug.GLDrawable -Dnativewindow.debug.X11Util -Dnativewindow.debug.NativeWindow -Dnewt.debug.Display -Dnewt.debug.Screen -Dnewt.debug.Window"
- java $DFLAGS com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT -time 2000 -sysExit testExit
- valid arguments for sysExit: testExit, testError, displayExit, displayError
Diffstat (limited to 'make/scripts/rsync2here.sh')
0 files changed, 0 insertions, 0 deletions