diff options
author | Travis Bryson <[email protected]> | 2005-02-28 23:38:51 +0000 |
---|---|---|
committer | Travis Bryson <[email protected]> | 2005-02-28 23:38:51 +0000 |
commit | c35019b5256ca33fb642d54608101ab7292f3c60 (patch) | |
tree | 000d0e2c0937fd9d3893cf5c2007eb6efc69eae7 /make | |
parent | b41b720c4366d4e2cdc1ba146123b87da966d724 (diff) |
Add PrimitiveArrayExpansion mode option to grammar, Implement PrimitiveArrayExpansion mode in gluegen, Add VoidPointerExpansion mode option to grammar, Implement VoidPointerExpansion mode in gluegen, change grammar file appropriately, Add a couple of Apple NIOOnly options, omission was previously a bug
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@250 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r-- | make/gl-common.cfg | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/make/gl-common.cfg b/make/gl-common.cfg index 703715979..a2f091f43 100644 --- a/make/gl-common.cfg +++ b/make/gl-common.cfg @@ -13,7 +13,16 @@ Import net.java.games.jogl.impl.* # Generate "flattened" NIO variants for routines taking C primitive # pointers that aren't of type void* NioMode ALL_POINTERS -FlattenNIOVariants true + +# Comment out FlattenNIOVariants since default is true +# FlattenNIOVariants true + +# Generate Java primitive arrays for all C pointers, including void * +PrimitiveArrayExpansionMode ALL_POINTERS + +# For expansion of C void* pointers, expand into the following Java +# primitive types: short, int, float, byte, double +VoidPointerExpansion short int float byte double # Don't output #defines of GL version identifier strings as constants, # because we don't need them java-side. @@ -153,6 +162,7 @@ NIOOnly glGetBufferSubDataARB NIOOnly glGetProgramStringARB NIOOnly glElementPointerATI NIOOnly glElementPointerNV +NIOOnly glElementPointerApple NIOOnly glFogCoordPointer NIOOnly glFogCoordPointerEXT NIOOnly glMatrixIndexPointerARB @@ -164,6 +174,7 @@ NIOOnly glTangentPointerEXT # NIOOnly glUpdateObjectBufferATI # FIXME: look up semantics of this routine # NIOOnly glVariantPointerEXT # FIXME: look up semantics of this routine NIOOnly glVertexArrayRangeNV +NIOOnly glVertexArrayRangeApple NIOOnly glVertexAttribPointerARB NIOOnly glVertexAttribPointerNV NIOOnly glVertexWeightPointerEXT |