aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax/media
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-12-14 02:00:38 +0000
committerKenneth Russel <[email protected]>2008-12-14 02:00:38 +0000
commite9ac743a4160e880202459dfed289f417988d87b (patch)
treedfad0de6464cf2369880b77f8c69aa3389809591 /src/classes/javax/media
parent638507b43021bc7635844ba38ea4db4e1ab5ef87 (diff)
Fixed nested toolkit locking problem with X11PbufferGLXDrawable. With
this fix pbuffers and the GLJPanel are working again on X11 platforms. Moved lockToolkit, unlockToolkit and isToolkitLocked from GLDrawableFactory to GLDrawableFactoryImpl. Updated all call sites. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1819 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax/media')
-rw-r--r--src/classes/javax/media/opengl/GLDrawableFactory.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/classes/javax/media/opengl/GLDrawableFactory.java b/src/classes/javax/media/opengl/GLDrawableFactory.java
index 68e7d668e..f6ada6c50 100644
--- a/src/classes/javax/media/opengl/GLDrawableFactory.java
+++ b/src/classes/javax/media/opengl/GLDrawableFactory.java
@@ -260,25 +260,6 @@ public abstract class GLDrawableFactory {
public void shutdown() {
}
- public void lockToolkit() throws GLException {
- if(lockedToolkit) {
- throw new GLException("Toolkit already locked");
- }
- lockedToolkit=true;
- }
-
- public void unlockToolkit() {
- if(lockedToolkit) {
- lockedToolkit=false;
- }
- }
-
- public boolean isToolkitLocked() {
- return lockedToolkit;
- }
-
- protected static boolean lockedToolkit = false;
-
/**
* <P> Selects a graphics configuration on the specified graphics
* device compatible with the supplied GLCapabilities. This method