From 6798fc1fb008eff4179f64775a7bf33cfbfd1981 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 10 May 2010 09:43:22 +0200 Subject: ../jogl.log --- .../com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java | 10 +++++----- .../classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/jogl/classes') diff --git a/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java b/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java index 352c1e25e..b59cb7940 100644 --- a/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java +++ b/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java @@ -219,7 +219,7 @@ public class WindowsWGLContext extends GLContextImpl { boolean createContextARBTried = false; // utilize the shared context's GLXExt in case it was using the ARB method and it already exists - if(false && null!=factory.getSharedContext() && factory.getSharedContext().isCreatedWithARBMethod()) { // FIXME JAU + if( null!=factory.getSharedContext() && factory.getSharedContext().isCreatedWithARBMethod() ) { if(DEBUG) { System.err.println("WindowsWGLContext.createContext using shared Context: "+factory.getSharedContext()); } @@ -253,8 +253,8 @@ public class WindowsWGLContext extends GLContextImpl { hglrc = temp_hglrc; return; } - // FIXME JAU hglrc = createContextARB(share, true, major, minor, ctp); - // FIXME JAU createContextARBTried=true; + hglrc = createContextARB(share, true, major, minor, ctp); + createContextARBTried=true; } if(0!=hglrc) { @@ -380,8 +380,8 @@ public class WindowsWGLContext extends GLContextImpl { wglMakeContextCurrentEXTAvailable=false; if (wglExtProcAddressTable == null) { - // FIXME: cache ProcAddressTables by capability bits so we can - // share them among contexts with the same capabilities + // FIXME: cache ProcAddressTables by OpenGL context type bits so we can + // share them among contexts classes (GL4, GL4bc, GL3, GL3bc, ..) wglExtProcAddressTable = new WGLExtProcAddressTable(new GLProcAddressResolver()); } resetProcAddressTable(getWGLExtProcAddressTable()); diff --git a/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java b/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java index 1d7f696b2..cdb7931d1 100644 --- a/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java +++ b/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java @@ -474,8 +474,8 @@ public abstract class X11GLXContext extends GLContextImpl { glXQueryExtensionsStringAvailable = false; if (glXExtProcAddressTable == null) { - // FIXME: cache ProcAddressTables by capability bits so we can - // share them among contexts with the same capabilities + // FIXME: cache ProcAddressTables by OpenGL context type bits so we can + // share them among contexts classes (GL4, GL4bc, GL3, GL3bc, ..) glXExtProcAddressTable = new GLXExtProcAddressTable(new GLProcAddressResolver()); } resetProcAddressTable(getGLXExtProcAddressTable()); -- cgit v1.2.3