diff options
author | Sven Gothel <[email protected]> | 2013-06-23 01:10:04 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-06-23 01:10:04 +0200 |
commit | 41c626d8a27981e694b3b728a9a2f2bc8def939d (patch) | |
tree | 5915d8e984a08f026435ec7ee9783a26bfb552b5 /make/scripts/tests-solx64.sh | |
parent | e5df5210e059ef597c1c05942cf7dcc0327730cd (diff) |
Fix Bug 761 (part 1/2): Move GLDrawableFactory.shutdownHook -> NativeWindowFactory.shutdownHook, the latter handles customShutdownHooks for NativeWindow, JOGL and NEWT.
Unifying our shutdown mechanism is required to provide a controlled shutdown sequence.
NativeWindowFactory is chosen to be the new central entry point, since it is the lowest denominator (common module).
- Move GLDrawableFactory.shutdownHook -> NativeWindowFactory.shutdownHook
Reverse the shutdown dependency for clarity and availability to all modules,
i.e. NEWT may not know about JOGL.
Remove the 'gamma' shutdown hook,
instead simply call GLDrawableFactoryImpl.resetDisplayGamma() before destroy.
NativeWindowFactory.shutdownHook handles customShutdownHooks for NativeWindow, JOGL and NEWT
- Modules can register their shutdown runnable at head or tail of list.
- Allows controlled shutdown across all modules.
Diffstat (limited to 'make/scripts/tests-solx64.sh')
0 files changed, 0 insertions, 0 deletions