diff options
author | Kenneth Russel <[email protected]> | 2005-07-19 01:00:42 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-07-19 01:00:42 +0000 |
commit | 730e752dc282ab4230e6fc80d934011bffdc6007 (patch) | |
tree | 419398176a9d7d1e47be48fa53ad9fc1b8f13143 /src/net/java/games/jogl/impl/x11/X11GLDrawable.java | |
parent | 35435c313ba527c9bea35a14f72492d2f80a9c84 (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/X11GLDrawable.java')
-rw-r--r-- | src/net/java/games/jogl/impl/x11/X11GLDrawable.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/java/games/jogl/impl/x11/X11GLDrawable.java b/src/net/java/games/jogl/impl/x11/X11GLDrawable.java index 32098ab43..50394c3b4 100644 --- a/src/net/java/games/jogl/impl/x11/X11GLDrawable.java +++ b/src/net/java/games/jogl/impl/x11/X11GLDrawable.java @@ -134,7 +134,7 @@ public abstract class X11GLDrawable extends GLDrawableImpl { } caps = new GLCapabilities[infos.length]; for (int i = 0; i < infos.length; i++) { - caps[i] = X11GLContextFactory.xvi2GLCapabilities(display, infos[i]); + caps[i] = X11GLDrawableFactory.xvi2GLCapabilities(display, infos[i]); } } finally { unlockAWT(); @@ -163,10 +163,10 @@ public abstract class X11GLDrawable extends GLDrawableImpl { // 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(); } } |