aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/openmax
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-23 01:10:04 +0200
committerSven Gothel <[email protected]>2013-06-23 01:10:04 +0200
commit41c626d8a27981e694b3b728a9a2f2bc8def939d (patch)
tree5915d8e984a08f026435ec7ee9783a26bfb552b5 /make/stub_includes/openmax
parente5df5210e059ef597c1c05942cf7dcc0327730cd (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/stub_includes/openmax')
0 files changed, 0 insertions, 0 deletions