diff options
author | Sven Gothel <[email protected]> | 2008-07-21 00:12:58 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-07-21 00:12:58 +0000 |
commit | 94c2dac899efa43ed421b95c6a24805bbd3eaacd (patch) | |
tree | 17358e1500a3200ee87335c14f8ac01c8f9f7893 /src/java/com/sun/gluegen/runtime/opengl/GLExtensionNames.java | |
parent | f321f151a652b9722af489a82793ac2802769638 (diff) |
- Renamed config: IgnoreExtendedInterfaceSymbols -> ExtendedInterfaceSymbols,
so it makes sense with 'ExtendedInterfaceSymbolsOnly'
- New config: ExtendedInterfaceSymbolsOnly
All symbols not in those Java base classes/interfaces are ignored!
- Rewrote/cleanup of the unified names, etc.
- Common UnifiedName logic, with specialisation GLUnifiedName
- UnifiedName behaves as a Set
- UnifiedName function mapping present at all times,
and the FunctionSymbol names are mapped to one entity.
- DropUniqExtensionNames is now considered within the general shouldIgnore*
- GLExtensionNames added: 3DFX
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/branches/JOGL_2_SANDBOX@104 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'src/java/com/sun/gluegen/runtime/opengl/GLExtensionNames.java')
-rw-r--r-- | src/java/com/sun/gluegen/runtime/opengl/GLExtensionNames.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/java/com/sun/gluegen/runtime/opengl/GLExtensionNames.java b/src/java/com/sun/gluegen/runtime/opengl/GLExtensionNames.java index cc9233d..bd9ffaf 100644 --- a/src/java/com/sun/gluegen/runtime/opengl/GLExtensionNames.java +++ b/src/java/com/sun/gluegen/runtime/opengl/GLExtensionNames.java @@ -50,7 +50,8 @@ public class GLExtensionNames { // Pass-3 Emit public static final String[] extensionsARB = { "ARB", "GL2", "OES", "OML" }; - public static final String[] extensionsVEN = { "AMD", + public static final String[] extensionsVEN = { "3DFX", + "AMD", "APPLE", "ATI", "EXT", @@ -143,6 +144,10 @@ public class GLExtensionNames { public static final boolean isExtensionVEN(String str, boolean isGLFunc) { return isExtension(extensionsVEN, str, isGLFunc); } + public static final boolean isExtension(String str, boolean isGLFunc) { + return isExtension(extensionsARB, str, isGLFunc) || + isExtension(extensionsVEN, str, isGLFunc); + } public static final int getFuncNamePermutationNumber(String name) { if(isExtensionARB(name, true) || isExtensionVEN(name, true)) { |