diff options
author | Kenneth Russel <[email protected]> | 2005-07-18 21:28:47 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-07-18 21:28:47 +0000 |
commit | 5e36587af91f43faff49f4ff61c40cf084bae298 (patch) | |
tree | afa7bf5f33e96520ffe71d26ef3bede13a67c515 /src/net/java/games/jogl/GLDrawableFactory.java | |
parent | 9ccfb4b547a75be721d9bbc2d760e51f170832cd (diff) |
Implemented pbuffer instantiation support in GLDrawableFactory rather
than GLCanvas on Windows. Restructured GLJPanel and jogl-demos to use
new APIs. Still needs to be ported to other platforms.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@326 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/GLDrawableFactory.java')
-rw-r--r-- | src/net/java/games/jogl/GLDrawableFactory.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/net/java/games/jogl/GLDrawableFactory.java b/src/net/java/games/jogl/GLDrawableFactory.java index 38a2b904f..bf2a8535d 100644 --- a/src/net/java/games/jogl/GLDrawableFactory.java +++ b/src/net/java/games/jogl/GLDrawableFactory.java @@ -211,8 +211,9 @@ public class GLDrawableFactory { public boolean canCreateGLPbuffer(GLCapabilities capabilities, int initialWidth, int initialHeight) { - // FIXME - throw new GLException("Not yet implemented"); + return GLContextFactory.getFactory().canCreateGLPbuffer(capabilities, + initialWidth, + initialHeight); } @@ -223,7 +224,9 @@ public class GLDrawableFactory { int initialWidth, int initialHeight, GLContext shareWith) { - // FIXME - throw new GLException("Not yet implemented"); + return GLContextFactory.getFactory().createGLPbuffer(capabilities, + initialWidth, + initialHeight, + shareWith); } } |