From 204764628bbbd8228dcc2e735ac5ee6c21714295 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 4 Jul 2008 23:09:45 +0000 Subject: GL Unification 2nd round. Terminology: ARB Extensions: "GL2", "ARB", "OES", "OML" Vendor Extensions: "EXT", "NV", "ATI", "SGI", "SGIS", "SGIX", "HP", "IBM", "WIN" Pass-1 Unify ARB extensions with the same value Pass-2 Unify vendor extensions, if exist as an ARB extension with the same value. Pass-3 Emit Done: - Unification of GL enumerates - Unification of GL functions - dynamic extension lookup - .. TODO: - Break down GL.java: GL + GL2ES1ES2 (for future GL3, etc) - Add a GL2 small implementation, to only support the GL2ES2 subset, 'GL2SubES2' .. +++ - Fixed X11 build breakage of 'jawt' linkage. - Fixed NEWT native code mouse- and keyevent id's, missed sync while moving them from the bitfield notation. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/branches/JOGL_2_SANDBOX@93 a78bb65f-1512-4460-ba86-f6dc96a7bf27 --- .../com/sun/gluegen/procaddress/ProcAddressConfiguration.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java') diff --git a/src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java b/src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java index e5edd0d..de4000c 100755 --- a/src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java +++ b/src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java @@ -77,9 +77,7 @@ public class ProcAddressConfiguration extends JavaConfiguration } else if (cmd.equalsIgnoreCase("ForceProcAddressGen")) { - String sym = readString("ForceProcAddressGen", tok, filename, lineNo); - forceProcAddressGen.add(sym); - forceProcAddressGenSet.add(sym); + addForceProcAddressGen( readString("ForceProcAddressGen", tok, filename, lineNo) ); } else if (cmd.equalsIgnoreCase("GetProcAddressTableExpr")) { @@ -258,4 +256,9 @@ public class ProcAddressConfiguration extends JavaConfiguration public boolean forceProcAddressGen(String funcName) { return forceProcAddressGenSet.contains(funcName); } + + public void addForceProcAddressGen(String funcName) { + forceProcAddressGen.add(funcName); + forceProcAddressGenSet.add(funcName); + } } -- cgit v1.2.3