aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-02 17:13:56 +0200
committerSven Gothel <[email protected]>2012-10-02 17:13:56 +0200
commit9c96be7c0a1a19365ae983908260c6ff44f045c4 (patch)
tree5e03b885fe747df85cbccfb79aba98ba2fb1c2e1 /src/nativewindow/classes
parent541dc2cdeaff64d4a241446752900bd6381d546a (diff)
NativeWindowFactory: Remove 'remedy' of Bug 613 Commit 92398025abdabb2fdef0d78edd41e730991a6f94 GlobalToolkitLock for create/destroy
Turns out on it has no effect and ATI prop. driver still has XCB failures at this point.
Diffstat (limited to 'src/nativewindow/classes')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
index 006ee4c97..37d408990 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
@@ -42,7 +42,6 @@ import java.util.HashMap;
import java.util.Map;
import jogamp.nativewindow.Debug;
-import jogamp.nativewindow.GlobalToolkitLock;
import jogamp.nativewindow.NativeWindowFactoryImpl;
import jogamp.nativewindow.ToolkitProperties;
import jogamp.nativewindow.ResourceToolkitLock;
@@ -376,14 +375,6 @@ public abstract class NativeWindowFactory {
}
/**
- * Ony call this for small code segments for desktop w/ threading issues.
- * @return {@link GlobalToolkitLock} if desktop has threading issues, otherwise {@link #getNullToolkitLock()}
- */
- public static ToolkitLock getGlobalToolkitLockIfRequired() {
- return desktopHasThreadingIssues ? GlobalToolkitLock.getSingleton() : getNullToolkitLock();
- }
-
- /**
* Provides the system default {@link ToolkitLock} for the default system windowing type.
* @see #getNativeWindowType(boolean)
* @see #getDefaultToolkitLock(java.lang.String)