summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2004-04-21 01:36:13 +0000
committerKenneth Russel <[email protected]>2004-04-21 01:36:13 +0000
commit0f2fa98495ce75434fc011e7ba2976c78edd38d0 (patch)
treeb0c3040900b1c1c9de052b960753ad2eaaa273b9 /make
parent2ee2b7b51e3e82553e7dc17fe1a04e8cec5be8bf (diff)
Fixed Issue 28: All functions that take arrays as parameters should also take buffers
Fixed Issue 36: glSelectBuffer/glFeedbackBuffer need direct buffers git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@112 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r--make/gl-common.cfg9
1 files changed, 8 insertions, 1 deletions
diff --git a/make/gl-common.cfg b/make/gl-common.cfg
index 6d09f2388..12cc271d5 100644
--- a/make/gl-common.cfg
+++ b/make/gl-common.cfg
@@ -10,6 +10,11 @@ Import java.util.*
Import net.java.games.jogl.*
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
+
# Don't output #defines of GL version identifier strings as constants,
# because we don't need them java-side.
Ignore GL_VERSION_.+
@@ -127,12 +132,14 @@ Opaque boolean GLboolean
ReturnsString glGetString
#
-# NIOOnly directives for vertex arrays
+# NIOOnly directives for vertex arrays and other core routines
#
NIOOnly glColorPointer
NIOOnly glEdgeFlagPointer
+NIOOnly glFeedbackBuffer
NIOOnly glIndexPointer
NIOOnly glNormalPointer
+NIOOnly glSelectBuffer
NIOOnly glTexCoordPointer
NIOOnly glVertexPointer
#