diff options
author | Sven Gothel <[email protected]> | 2011-10-13 17:04:17 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-13 17:04:17 +0200 |
commit | d186f6e945fd157b219231fb3861b3b0ce10ee75 (patch) | |
tree | b3851f97222cf224251956cb8ad06508c7a9d090 /etc | |
parent | 3fd89ccc138eddb915372cff4843f69f764048a7 (diff) |
OSX/SWT: Adding OSXUtil: RunOnMainThread(), IsMainThread() / Utilizing those for SWT access/calls
Adding OSXUtil: RunOnMainThread(), IsMainThread()
- Issuing a native call where the user Runnable is to be performed on the main thread
- Enable query if we are on the main thread.
Utilizing those for SWT access/calls
- Using the above to call all SWT functions on the main thread if required (incomplete)
TODO/Issues:
- JOGL OSX CGL Context fails, ie expecting NS, but having CGL
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/profile.jogl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/profile.jogl b/etc/profile.jogl index 9b38d6a06..d46917682 100755 --- a/etc/profile.jogl +++ b/etc/profile.jogl @@ -93,6 +93,8 @@ if [ "$KERNEL" = "linux" ] ; then SWT_SUB="gtk" elif [ "$KERNEL" = "darwin" ] ; then SWT_SUB="cocoa" + KERNEL="macosx" + ARCH="x86_64" fi if [ -z "$SWT_CLASSPATH" ] ; then SWT_CLASSPATH_0=$JOGL_BUILD_DIR/../make/lib/swt/$SWT_SUB-$KERNEL-$ARCH/swt-debug.jar |