aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-02-12 04:07:24 +0100
committerSven Gothel <[email protected]>2013-02-12 04:07:24 +0100
commitd47794338ea218d1be2d21a91c8eea44d83dcb0a (patch)
treea49c2d32585b8c8412e1fb05caefa5d847675d78 /src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java
parent6d508eb203fea16e094039b27a7368748aff122b (diff)
Java2D OGLPipeline(GLJPanel+Threading): More fine grained control about OGL threading and resource usage
- Still excluse OSX - Respect sun.java2d.opengl property - [Prepare] Allowing OGLPipeline thread usage w/o it's OGL resource usage
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java b/src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java
index 983f11133..ae8969d07 100644
--- a/src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java
+++ b/src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java
@@ -94,11 +94,7 @@ public class AWTThreadingPlugin implements ToolkitThreadingPlugin {
// QFT which is not allowed. For now, on X11 platforms,
// continue to perform this work on the EDT.
if (wait && Java2D.isOGLPipelineActive() && !ThreadingImpl.isX11()) {
- if(wait) {
- Java2D.invokeWithOGLContextCurrent(null, r);
- } else {
-
- }
+ Java2D.invokeWithOGLContextCurrent(null, r);
} else {
AWTEDTExecutor.singleton.invoke(wait, r);
}