diff options
author | Sven Gothel <[email protected]> | 2013-03-13 07:12:59 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-03-13 07:12:59 +0100 |
commit | e2506d7663b752f00f0a98f793ebad52e65bd1e3 (patch) | |
tree | 66e669f22824892aec2d157aca5c384f1bd348c4 /src/jogl/classes/javax | |
parent | c225285e09f0a29fca418601bf1aa07cafb54339 (diff) |
Bug 665: Allow re-association of GLContext/GLEventListener to a GLDrawable (Part 5)
- GLAutoDrawableBase:
- Add 'setPreserveGLStateAtDestroy(..)' to preserve the GLEventListenerState at destroy() operation,
and impl. details pullGLEventListenerState()/pushGLEventListenerState().
pullGLEventListenerState() is called automatic at destroyImplInLock(),
where pushGLEventListenerState() has to be called after drawable realization
instead of context creation.
- Note/TODO: Method will become public in GLAutoDrawable in general!
- NEWT/GLWindow:
- Use GLEventListenerState preservation for reparenting case w/ destruction,
i.e. keep GLContext/GLEventListener alive while reparenting in recreation mode.
Scenario: NewtCanvasAWT Child <-> Top on OSX w/ CALayer
Diffstat (limited to 'src/jogl/classes/javax')
0 files changed, 0 insertions, 0 deletions