From 9ccfb4b547a75be721d9bbc2d760e51f170832cd Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sun, 17 Jul 2005 18:59:50 +0000 Subject: Rewrote and refactored creation of dummy window and OpenGL context on Windows to be encapsulated in WindowsDummyGLDrawable class. This is a prerequisite for implementing top-level pbuffer support in the GLDrawableFactory (i.e., not associated with a GLCanvas). Refactored context implementations further on all platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@325 232f8b59-042b-4e1e-8c03-345bb8c30851 --- .../java/games/jogl/impl/x11/X11PbufferGLContext.java | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java') diff --git a/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java b/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java index bebbdb91c..0d89c96df 100644 --- a/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java +++ b/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java @@ -51,16 +51,6 @@ public class X11PbufferGLContext extends X11GLContext { this.drawable = drawable; } - public boolean canCreatePbufferContext() { - return false; - } - - public GLDrawableImpl createPbufferDrawable(GLCapabilities capabilities, - int initialWidth, - int initialHeight) { - throw new GLException("Not supported"); - } - public void bindPbufferToTexture() { // FIXME: figure out how to implement this throw new GLException("Not yet implemented"); @@ -128,14 +118,6 @@ public class X11PbufferGLContext extends X11GLContext { } } - public int getOffscreenContextReadBuffer() { - throw new GLException("Should not call this"); - } - - public boolean offscreenImageNeedsVerticalFlip() { - throw new GLException("Should not call this"); - } - public int getFloatingPointMode() { return drawable.getFloatingPointMode(); } -- cgit v1.2.3