From ca8c96700270ea9da09407c27178d5e9ad3d4fd6 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 29 Mar 2006 00:18:57 +0000 Subject: Removed workaround for sharing textures and display lists between pbuffers and on-screen contexts that was necessary in 10.4.3 because it was causing problems with multisampling in particular on ATI hardware git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@692 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java | 8 +------- .../com/sun/opengl/impl/macosx/MacOSXOnscreenGLContext.java | 4 ++++ 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'src/classes/com/sun/opengl/impl/macosx') diff --git a/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java b/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java index f4cd14c47..d55bc2f15 100644 --- a/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java +++ b/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java @@ -85,13 +85,7 @@ public abstract class MacOSXGLContext extends GLContextImpl return glExtensionName; } - protected boolean create() { - // Note that we specify pbuffer support for all contexts by - // default; workaround for problem on Mac OS X 10.4.3 where could - // not share textures and display lists between pbuffers and - // on-screen contexts - return create(true, false); - } + protected abstract boolean create(); /** * Creates and initializes an appropriate OpenGl nsContext. Should only be diff --git a/src/classes/com/sun/opengl/impl/macosx/MacOSXOnscreenGLContext.java b/src/classes/com/sun/opengl/impl/macosx/MacOSXOnscreenGLContext.java index 9b60cd77a..f09f24e9d 100644 --- a/src/classes/com/sun/opengl/impl/macosx/MacOSXOnscreenGLContext.java +++ b/src/classes/com/sun/opengl/impl/macosx/MacOSXOnscreenGLContext.java @@ -106,4 +106,8 @@ public class MacOSXOnscreenGLContext extends MacOSXGLContext { } CGL.updateContext(nsContext); } + + protected boolean create() { + return create(false, false); + } } -- cgit v1.2.3