diff options
author | Sven Gothel <[email protected]> | 2008-11-13 20:26:57 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-11-13 20:26:57 +0000 |
commit | c25a62a71154340da6b50e56ceef3fa780f89a93 (patch) | |
tree | 8fdec21df1774d491e165814e1a2e0067b84289f /src/classes/com/sun/opengl/impl/macosx | |
parent | 9802bc053ef45140690bb58232429d225dfe0f75 (diff) |
- Removed StaticGLInfo usage.
Function availability is checked by the dynamic ProcAddressTable,
so it works as described/desired and removed around 30 kB of text.
- Adding EGLExt to support EGLImage to share video buffers
between another API (e.g. OpenMax)
- EGL: Added platform extension query support
- EGLClientBuffer is opaque long
- GLXExt: Removed duplicated enumerates from GLX
- GLContext: Promoted getPlatformExtensionsString()
- GLProfile.setProfile<GL*>(void) changed order of
setting the GL profile to: highest -> lowest:
GL2 .. GL2ES12 .. GLES2 .. GLES1
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1784 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl/impl/macosx')
-rw-r--r-- | src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java b/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java index 8bf82b3d2..4959c308f 100644 --- a/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java +++ b/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java @@ -43,6 +43,7 @@ import java.nio.*; import java.util.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; +import com.sun.gluegen.runtime.ProcAddressTable; public abstract class MacOSXCGLContext extends GLContextImpl { @@ -71,6 +72,14 @@ public abstract class MacOSXCGLContext extends GLContextImpl return cglExt; } + public final ProcAddressTable getPlatformExtProcAddressTable() { + return getCGLExtProcAddressTable(); + } + + public final CGLExtProcAddressTable getCGLExtProcAddressTable() { + return cglExtProcAddressTable; + } + public GLDrawable getGLDrawable() { return drawable; } @@ -309,10 +318,6 @@ public abstract class MacOSXCGLContext extends GLContextImpl resetProcAddressTable(getCGLExtProcAddressTable()); } - public final CGLExtProcAddressTable getCGLExtProcAddressTable() { - return cglExtProcAddressTable; - } - public String getPlatformExtensionsString() { return ""; |