summaryrefslogtreecommitdiffstats
path: root/make/config
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-08-06 21:46:25 +0200
committerSven Gothel <[email protected]>2023-08-06 21:46:25 +0200
commitbcc4b5de41dcfca5eac19111506b996d3531d908 (patch)
tree7ded27bb1712055eb6d094597e888cfd9aa66c9d /make/config
parentaf321b4a90a4da9351dfbdd6d9a8202a73fc8c05 (diff)
Bug 1441, 852: Annotate ARB_draw_indirect dual sourcing, remove redundant manual declarations
Diffstat (limited to 'make/config')
-rw-r--r--make/config/jogl/gl-common.cfg1
-rw-r--r--make/config/jogl/gl4bc-common-cpubufferJavaCode.java8
2 files changed, 1 insertions, 8 deletions
diff --git a/make/config/jogl/gl-common.cfg b/make/config/jogl/gl-common.cfg
index 499c7db7f..e487bd4e1 100644
--- a/make/config/jogl/gl-common.cfg
+++ b/make/config/jogl/gl-common.cfg
@@ -745,6 +745,7 @@ BufferObjectKind Indirect glMultiDrawElementsIndirect
# `glMultiDrawArraysIndirect` uses both, Buffer for memory address and (see Bug 974) VBO offset for GL_DRAW_INDIRECT_BUFFER
BufferObjectKind Indirect glMultiDrawArraysIndirect
+# ARB_draw_indirect, note that ES 3.1 allows cpu sourced buffers if unbound (see Bug 852)
BufferObjectKind Indirect glDrawArraysIndirect
BufferObjectKind Indirect glDrawElementsIndirect
diff --git a/make/config/jogl/gl4bc-common-cpubufferJavaCode.java b/make/config/jogl/gl4bc-common-cpubufferJavaCode.java
index a29f540fa..dd18ed0d3 100644
--- a/make/config/jogl/gl4bc-common-cpubufferJavaCode.java
+++ b/make/config/jogl/gl4bc-common-cpubufferJavaCode.java
@@ -1,12 +1,4 @@
- /** Entry point to C language function: <code> void {@native glDrawArraysIndirect}(GLenum mode, const GLvoid * indirect); </code> <br>Part of <code>GL_VERSION_4_0</code>, <code>GL_ARB_draw_indirect</code>
- @param indirect a direct or array-backed {@link java.nio.Buffer} */
- public void glDrawArraysIndirect(int mode, Buffer indirect);
-
- /** Entry point to C language function: <code> void {@native glDrawElementsIndirect}(GLenum mode, GLenum type, const GLvoid * indirect); </code> <br>Part of <code>GL_VERSION_4_0</code>, <code>GL_ARB_draw_indirect</code>
- @param indirect a direct or array-backed {@link java.nio.Buffer} */
- public void glDrawElementsIndirect(int mode, int type, Buffer indirect);
-
/** Entry point to C language function: <code> void {@native glDrawElementsInstancedBaseInstance}(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); </code> <br>Part of <code>GL_VERSION_4_2</code>, <code>GL_ARB_base_instance</code>
@param indices a direct or array-backed {@link java.nio.Buffer} */
public void glDrawElementsInstancedBaseInstance(int mode, int count, int type, Buffer indices, int instancecount, int baseinstance);