aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/GLCanvas.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-07-18 23:15:37 +0000
committerKenneth Russel <[email protected]>2005-07-18 23:15:37 +0000
commit35435c313ba527c9bea35a14f72492d2f80a9c84 (patch)
treeae7f1ed0a184d990292f0e295fa943c0139868a0 /src/net/java/games/jogl/GLCanvas.java
parent8f5492988de9fddf61623b7274915c777ad3a97d (diff)
Moved pbuffer creation support from MacOSXOnscreenGLDrawable to
MacOSXGLContextFactory. This completes the transition from creating pbuffers as a subordinate object of a GLCanvas to creating them as standalone GLDrawables. Deleted code from GLAutoDrawable and all implementations related to pbuffer instantiation. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@328 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/GLCanvas.java')
-rw-r--r--src/net/java/games/jogl/GLCanvas.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/net/java/games/jogl/GLCanvas.java b/src/net/java/games/jogl/GLCanvas.java
index 29ce3a701..3d9df841b 100644
--- a/src/net/java/games/jogl/GLCanvas.java
+++ b/src/net/java/games/jogl/GLCanvas.java
@@ -173,17 +173,6 @@ public class GLCanvas extends Canvas implements GLAutoDrawable {
maybeDoSingleThreadedWorkaround(swapBuffersOnEventDispatchThreadAction, swapBuffersAction, false);
}
- public boolean canCreateOffscreenDrawable() {
- return context.canCreatePbufferContext();
- }
-
- public GLPbuffer createOffscreenDrawable(GLCapabilities capabilities,
- int initialWidth,
- int initialHeight) {
- // FIXME: add option to not share textures and display lists with parent context
- return new GLPbufferImpl(context.createPbufferDrawable(capabilities, initialWidth, initialHeight), getContext());
- }
-
//----------------------------------------------------------------------
// Internals only below this point
//