diff options
author | Sven Gothel <[email protected]> | 2008-07-04 23:09:45 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-07-04 23:09:45 +0000 |
commit | 204764628bbbd8228dcc2e735ac5ee6c21714295 (patch) | |
tree | 2a0d8a34b5719b77a7f25966261d5fd9dc4063ea /src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java | |
parent | d850a0ee7939dcfa98202b9373435fca78e007de (diff) |
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
Diffstat (limited to 'src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java')
-rwxr-xr-x | src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java | 9 |
1 files changed, 6 insertions, 3 deletions
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); + } } |