From 2ebf1e32197d7236ff820c542e22ec78e700bdc1 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Mon, 29 May 2006 14:42:28 +0000 Subject: Fixed Issue 220: Gears demo throws exceptions with -Dsun.java2d.opengl=true On non-X11 platforms, removed workaround in Threading class which treats both the EDT and the QFT as viable threads upon which to execute OpenGL work. Deadlock issues remain on X11 threads when causing OpenGL contexts associated with heavyweight widgets to be made current on the QFT. On Windows the QFT is now used for all OpenGL work when the Java2D/JOGL bridge is active. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@786 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/javax/media/opengl/GLJPanel.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/classes/javax/media/opengl/GLJPanel.java') diff --git a/src/classes/javax/media/opengl/GLJPanel.java b/src/classes/javax/media/opengl/GLJPanel.java index a6a8b608d..b4b6b2c52 100644 --- a/src/classes/javax/media/opengl/GLJPanel.java +++ b/src/classes/javax/media/opengl/GLJPanel.java @@ -136,10 +136,6 @@ public class GLJPanel extends JPanel implements GLAutoDrawable { private int[] alignment = new int[1]; // Implementation using Java2D OpenGL pipeline's back buffer - private static boolean swingBufferPerWindow = - Debug.isPropertyDefined("swing.bufferPerWindow") ? - Debug.getBooleanProperty("swing.bufferPerWindow") : - true; private boolean oglPipelineEnabled = Java2D.isOGLPipelineActive() && !Debug.isPropertyDefined("jogl.gljpanel.noogl"); -- cgit v1.2.3