summaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-gl4bc.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-11 15:33:10 +0100
committerSven Gothel <[email protected]>2015-03-11 15:33:10 +0100
commit68391b118e93170c568edc21edad7f6b0c1f97a3 (patch)
treec0fd4e18d0bca4f1ca0875bf2d1d0df430afd09d /make/config/jogl/gl-gl4bc.cfg
parentcd92c17175db0c3a3a04b5b327cfcb887bf8a7d7 (diff)
Bug 1135: Complete GLBufferObjectTracker for GL 4.5 using GlueGen's DelegateImplementation/ReturnsOpaque (Bug 1144)
Using GlueGen's new DelegateImplementation/ReturnsOpaque feature (Bug 1144) allows us to drop manually C implementation stubs, while simply delegating into the renamed private generated variant using the manual stub. Completed glBufferStorage and glNamedBufferStorage for GL 4.4 while subsuming DSA's of GL 4.5 and GL_EXT_direct_state_access (only the single functions, otherwise extension is not compatible).
Diffstat (limited to 'make/config/jogl/gl-gl4bc.cfg')
-rw-r--r--make/config/jogl/gl-gl4bc.cfg105
1 files changed, 63 insertions, 42 deletions
diff --git a/make/config/jogl/gl-gl4bc.cfg b/make/config/jogl/gl-gl4bc.cfg
index ae3ebb22f..0b92d78b9 100644
--- a/make/config/jogl/gl-gl4bc.cfg
+++ b/make/config/jogl/gl-gl4bc.cfg
@@ -67,50 +67,71 @@ Include gl3-common.cfg
Include gl2_es2-CustomJavaCode.cfg
#
-# Manually implement following GL functions to be redirected
+# Manually implement following GL 4 functions to be redirected
# to GLBufferObjectTracker.
#
-ManuallyImplement glNamedBufferDataEXT
-ForceProcAddressGen glNamedBufferDataEXT
-MethodJavadoc glNamedBufferDataEXT * <p>
-MethodJavadoc glNamedBufferDataEXT * Throws a {@link GLException} if GL-function constraints are not met or the native GL-function fails.
-MethodJavadoc glNamedBufferDataEXT * </p>
-MethodJavadoc glNamedBufferDataEXT * <p>
-MethodJavadoc glNamedBufferDataEXT * @throws GLException if size is less-than zero
-MethodJavadoc glNamedBufferDataEXT * @throws GLException if a native GL-Error occurs
-MethodJavadoc glNamedBufferDataEXT * </p>
-
-ManuallyImplement glMapNamedBufferEXT
-ForceProcAddressGen glMapNamedBufferEXT
-MethodJavadoc glMapNamedBufferEXT * <p>
-MethodJavadoc glMapNamedBufferEXT * Throws a {@link GLException} if GL-function constraints are not met.
-MethodJavadoc glMapNamedBufferEXT * </p>
-MethodJavadoc glMapNamedBufferEXT * <p>
-MethodJavadoc glMapNamedBufferEXT * Returns {@link GL2#mapNamedBuffer(int, int)}'s {@link GLBufferStorage#getMappedBuffer()}.
-MethodJavadoc glMapNamedBufferEXT * </p>
-MethodJavadoc glMapNamedBufferEXT * <p>
-MethodJavadoc glMapNamedBufferEXT * @throws GLException if buffer is not tracked
-MethodJavadoc glMapNamedBufferEXT * @throws GLException if buffer is already mapped
-MethodJavadoc glMapNamedBufferEXT * @throws GLException if buffer has invalid store size, i.e. less-than zero
-MethodJavadoc glMapNamedBufferEXT * </p>
-
-ManuallyImplement glMapNamedBufferRangeEXT
-ForceProcAddressGen glMapNamedBufferRangeEXT
-MethodJavadoc glMapNamedBufferRangeEXT * <p>
-MethodJavadoc glMapNamedBufferRangeEXT * Throws a {@link GLException} if GL-function constraints are not met.
-MethodJavadoc glMapNamedBufferRangeEXT * </p>
-MethodJavadoc glMapNamedBufferRangeEXT * <p>
-MethodJavadoc glMapNamedBufferRangeEXT * Returns {@link GL2#mapNamedBufferRange(int, long, long, int)}'s {@link GLBufferStorage#getMappedBuffer()}.
-MethodJavadoc glMapNamedBufferRangeEXT * </p>
-MethodJavadoc glMapNamedBufferRangeEXT * <p>
-MethodJavadoc glMapNamedBufferRangeEXT * @throws GLException if buffer is not tracked
-MethodJavadoc glMapNamedBufferRangeEXT * @throws GLException if buffer is already mapped
-MethodJavadoc glMapNamedBufferRangeEXT * @throws GLException if buffer has invalid store size, i.e. less-than zero
-MethodJavadoc glMapNamedBufferRangeEXT * @throws GLException if buffer mapping range does not fit, incl. offset
-MethodJavadoc glMapNamedBufferRangeEXT * </p>
-
-ManuallyImplement glUnmapNamedBufferEXT
-ForceProcAddressGen glUnmapNamedBufferEXT
+# RenameJavaSymbol: GL_EXT_direct_state_access -> GL 4.5 !
+# see gl-common.cfg
+#
+DelegateImplementation glNamedBufferData glNamedBufferDataDelegate
+MethodJavadoc glNamedBufferData * <p>
+MethodJavadoc glNamedBufferData * Throws a {@link GLException} if GL-function constraints are not met or the native GL-function fails.
+MethodJavadoc glNamedBufferData * </p>
+MethodJavadoc glNamedBufferData * <p>
+MethodJavadoc glNamedBufferData * @throws GLException if size is less-than zero
+MethodJavadoc glNamedBufferData * @throws GLException if a native GL-Error occurs
+MethodJavadoc glNamedBufferData * </p>
+
+DelegateImplementation glBufferStorage glBufferStorageDelegate
+MethodJavadoc glBufferStorage * <p>
+MethodJavadoc glBufferStorage * Throws a {@link GLException} if GL-function constraints are not met or the native GL-function fails.
+MethodJavadoc glBufferStorage * </p>
+MethodJavadoc glBufferStorage * <p>
+MethodJavadoc glBufferStorage * @throws GLException if buffer is not bound to target
+MethodJavadoc glBufferStorage * @throws GLException if size is less-or-equal zero
+MethodJavadoc glBufferStorage * @throws GLException if a native GL-Error occurs
+MethodJavadoc glBufferStorage * </p>
+
+DelegateImplementation glNamedBufferStorage glNamedBufferStorageDelegate
+MethodJavadoc glNamedBufferStorage * <p>
+MethodJavadoc glNamedBufferStorage * Throws a {@link GLException} if GL-function constraints are not met or the native GL-function fails.
+MethodJavadoc glNamedBufferStorage * </p>
+MethodJavadoc glNamedBufferStorage * <p>
+MethodJavadoc glNamedBufferStorage * @throws GLException if buffer is not bound to target
+MethodJavadoc glNamedBufferStorage * @throws GLException if size is less-or-equal zero
+MethodJavadoc glNamedBufferStorage * @throws GLException if a native GL-Error occurs
+MethodJavadoc glNamedBufferStorage * </p>
+
+DelegateImplementation glMapNamedBuffer glMapNamedBufferDelegate
+ReturnsOpaque long glMapNamedBufferDelegate
+MethodJavadoc glMapNamedBuffer * <p>
+MethodJavadoc glMapNamedBuffer * Throws a {@link GLException} if GL-function constraints are not met.
+MethodJavadoc glMapNamedBuffer * </p>
+MethodJavadoc glMapNamedBuffer * <p>
+MethodJavadoc glMapNamedBuffer * Returns {@link GL2#mapNamedBuffer(int, int)}'s {@link GLBufferStorage#getMappedBuffer()}.
+MethodJavadoc glMapNamedBuffer * </p>
+MethodJavadoc glMapNamedBuffer * <p>
+MethodJavadoc glMapNamedBuffer * @throws GLException if buffer is not tracked
+MethodJavadoc glMapNamedBuffer * @throws GLException if buffer is already mapped
+MethodJavadoc glMapNamedBuffer * @throws GLException if buffer has invalid store size, i.e. less-than zero
+MethodJavadoc glMapNamedBuffer * </p>
+
+DelegateImplementation glMapNamedBufferRange glMapNamedBufferRangeDelegate
+ReturnsOpaque long glMapNamedBufferRangeDelegate
+MethodJavadoc glMapNamedBufferRange * <p>
+MethodJavadoc glMapNamedBufferRange * Throws a {@link GLException} if GL-function constraints are not met.
+MethodJavadoc glMapNamedBufferRange * </p>
+MethodJavadoc glMapNamedBufferRange * <p>
+MethodJavadoc glMapNamedBufferRange * Returns {@link GL2#mapNamedBufferRange(int, long, long, int)}'s {@link GLBufferStorage#getMappedBuffer()}.
+MethodJavadoc glMapNamedBufferRange * </p>
+MethodJavadoc glMapNamedBufferRange * <p>
+MethodJavadoc glMapNamedBufferRange * @throws GLException if buffer is not tracked
+MethodJavadoc glMapNamedBufferRange * @throws GLException if buffer is already mapped
+MethodJavadoc glMapNamedBufferRange * @throws GLException if buffer has invalid store size, i.e. less-than zero
+MethodJavadoc glMapNamedBufferRange * @throws GLException if buffer mapping range does not fit, incl. offset
+MethodJavadoc glMapNamedBufferRange * </p>
+
+DelegateImplementation glUnmapNamedBuffer glUnmapNamedBufferDelegate
# Manuall implement glDebugMessageCallback* using the proc address resolver
ForceProcAddressGen glDebugMessageCallback