aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/GLDrawableImpl.java
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/com/sun/opengl/impl/GLDrawableImpl.java
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/com/sun/opengl/impl/GLDrawableImpl.java')
-rw-r--r--src/classes/com/sun/opengl/impl/GLDrawableImpl.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/impl/GLDrawableImpl.java b/src/classes/com/sun/opengl/impl/GLDrawableImpl.java
index 9ae42906f..643c9ebe5 100644
--- a/src/classes/com/sun/opengl/impl/GLDrawableImpl.java
+++ b/src/classes/com/sun/opengl/impl/GLDrawableImpl.java
@@ -55,6 +55,10 @@ public abstract class GLDrawableImpl implements GLDrawable {
this.realized = realized;
}
+ public GLDrawableFactoryImpl getFactoryImpl() {
+ return (GLDrawableFactoryImpl) getFactory();
+ }
+
/** For offscreen GLDrawables (pbuffers and "pixmap" drawables),
indicates that native resources should be reclaimed. */
public void destroy() throws GLException {