From c35019b5256ca33fb642d54608101ab7292f3c60 Mon Sep 17 00:00:00 2001 From: Travis Bryson Date: Mon, 28 Feb 2005 23:38:51 +0000 Subject: 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 --- make/gl-common.cfg | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'make') 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 -- cgit v1.2.3