diff options
author | Sven Gothel <[email protected]> | 2012-11-29 00:08:06 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-11-29 00:08:06 +0100 |
commit | 601d6c46df61853fb61df087327a055550316b1d (patch) | |
tree | c1c84cee25eb61bbfcf73663dc78d00802613dbf /src/newt/native/X11Display.c | |
parent | beb11947fb16dd5549b2e1b1383f95e30178bf0a (diff) |
SWT GLCanvas: Fix dispose bug, check for isDisposed() and add DisposeListener; Run GL tasks on current thread w/o restrictions
Fix dispose bug, check for isDisposed() and add DisposeListener
- Don't issue SWTAccessor.setRealized(..), since it's called implicit via super.dispose()
- Check isDisposed() ..
- add DisposeListener to act on parent's disposal (Shell, Composition, ..)
Run GL tasks on current thread w/o restrictions
+ * The current thread seems to be valid for all platforms,
+ * since no SWT lifecycle tasks are being performed w/ this call.
+ * Only GL task, which are independent from the SWT threading model.
Diffstat (limited to 'src/newt/native/X11Display.c')
0 files changed, 0 insertions, 0 deletions