summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-30 16:54:55 +0100
committerSven Gothel <[email protected]>2012-10-30 16:54:55 +0100
commitadea26fedc2fcd99685a73ac3301ccaeadc2fd99 (patch)
tree7e0e4d719fccc477267d2912eba77939de575f1a /make
parentb961225542227ec30f4b79c4425384e7e161437c (diff)
EGL/EGLExt Robustness: Use NIODirectOnly for all bindings. For these internal APIs, critical array is not required, hence redundant.
Diffstat (limited to 'make')
-rw-r--r--make/config/jogl/egl.cfg6
-rw-r--r--make/config/jogl/eglext.cfg4
2 files changed, 9 insertions, 1 deletions
diff --git a/make/config/jogl/egl.cfg b/make/config/jogl/egl.cfg
index ee74b46e6..b30985076 100644
--- a/make/config/jogl/egl.cfg
+++ b/make/config/jogl/egl.cfg
@@ -9,6 +9,10 @@ Style AllStatic
# Shouldn't matter which one of these we pick up
Include egl-common.cfg
+# Only NIO direct function, no arrays ..
+NIOOnly __ALL__
+NIODirectOnly __ALL__
+
HierarchicalNativeOutput false
# Use a ProcAddressTable so we dynamically look up the routines
@@ -44,7 +48,7 @@ CustomJavaCode EGL {
CustomJavaCode EGL if (eglGetProcAddressHandle == 0) {
CustomJavaCode EGL throw new GLException("Passed null pointer for method \"eglGetProcAddress\"");
CustomJavaCode EGL }
-CustomJavaCode EGL return dispatch_eglGetProcAddress1(procname, eglGetProcAddressHandle);
+CustomJavaCode EGL return dispatch_eglGetProcAddress0(procname, eglGetProcAddressHandle);
CustomJavaCode EGL }
diff --git a/make/config/jogl/eglext.cfg b/make/config/jogl/eglext.cfg
index 2e422ff72..a7fb45409 100644
--- a/make/config/jogl/eglext.cfg
+++ b/make/config/jogl/eglext.cfg
@@ -11,6 +11,10 @@ ImplJavaClass EGLExtImpl
# Shouldn't matter which one of these we pick up
Include egl-common.cfg
+# Only NIO direct function, no arrays ..
+NIOOnly __ALL__
+NIODirectOnly __ALL__
+
ExtendedInterfaceSymbolsIgnore ../build-temp/gensrc/classes/jogamp/opengl/egl/EGL.java
HierarchicalNativeOutput false