aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/impl/x11/X11GLContext.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-07-19 01:00:42 +0000
committerKenneth Russel <[email protected]>2005-07-19 01:00:42 +0000
commit730e752dc282ab4230e6fc80d934011bffdc6007 (patch)
tree419398176a9d7d1e47be48fa53ad9fc1b8f13143 /src/net/java/games/jogl/impl/x11/X11GLContext.java
parent35435c313ba527c9bea35a14f72492d2f80a9c84 (diff)
Moved all functionality from GLContextFactory implementations into
concrete GLDrawableFactory implementations. Made GLDrawableFactory abstract and added GLDrawableFactoryImpl to support creation of offscreen GLDrawables for non-pbuffer fallback path of GLJPanel. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@329 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/impl/x11/X11GLContext.java')
-rw-r--r--src/net/java/games/jogl/impl/x11/X11GLContext.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/java/games/jogl/impl/x11/X11GLContext.java b/src/net/java/games/jogl/impl/x11/X11GLContext.java
index dd6448265..15c1c8733 100644
--- a/src/net/java/games/jogl/impl/x11/X11GLContext.java
+++ b/src/net/java/games/jogl/impl/x11/X11GLContext.java
@@ -260,7 +260,7 @@ public abstract class X11GLContext extends GLContextImpl {
public boolean isExtensionAvailable(String glExtensionName) {
if (glExtensionName.equals("GL_ARB_pbuffer") ||
glExtensionName.equals("GL_ARB_pixel_format")) {
- return X11GLContextFactory.getFactory().canCreateGLPbuffer(null, 0, 0);
+ return GLDrawableFactory.getFactory().canCreateGLPbuffer(null, 0, 0);
}
return super.isExtensionAvailable(glExtensionName);
}
@@ -296,10 +296,10 @@ public abstract class X11GLContext extends GLContextImpl {
// These synchronization primitives prevent the AWT from making
// requests from the X server asynchronously to this code.
protected void lockAWT() {
- X11GLContextFactory.lockAWT();
+ X11GLDrawableFactory.lockAWT();
}
protected void unlockAWT() {
- X11GLContextFactory.unlockAWT();
+ X11GLDrawableFactory.unlockAWT();
}
}