aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-02-13 03:33:03 +0100
committerSven Gothel <[email protected]>2014-02-13 03:33:03 +0100
commit325986eb0b14e90d9ef35cbb0ca57c9c91df4827 (patch)
tree889e7496bfa7ade06ff57beed5ac13d9dda569b9
parent8631e403aa0c02c53b06819ef9b112af1885d4f7 (diff)
Bug 974 - Add missing [GL4] glMultiDrawArraysIndirect(int mode, int type, long indirect_offset, int drawcount, int stride)
-rw-r--r--make/config/jogl/gl-common-gpubufferonly.cfg1
-rw-r--r--make/config/jogl/gl-common.cfg1
-rw-r--r--make/config/jogl/gl4bc-common-cpubufferJavaCode.java4
3 files changed, 6 insertions, 0 deletions
diff --git a/make/config/jogl/gl-common-gpubufferonly.cfg b/make/config/jogl/gl-common-gpubufferonly.cfg
index 14671f353..9370d9502 100644
--- a/make/config/jogl/gl-common-gpubufferonly.cfg
+++ b/make/config/jogl/gl-common-gpubufferonly.cfg
@@ -44,6 +44,7 @@ BufferObjectOnly glDrawElementsInstancedBaseVertex
BufferObjectOnly glDrawElementsInstancedBaseVertexBaseInstance
BufferObjectOnly glDrawRangeElements
BufferObjectOnly glDrawRangeElementsBaseVertex
+BufferObjectOnly glMultiDrawArraysIndirect
BufferObjectOnly glDrawArraysIndirect
BufferObjectOnly glDrawElementsIndirect
diff --git a/make/config/jogl/gl-common.cfg b/make/config/jogl/gl-common.cfg
index 74ead0498..d5c45314e 100644
--- a/make/config/jogl/gl-common.cfg
+++ b/make/config/jogl/gl-common.cfg
@@ -651,6 +651,7 @@ BufferObjectKind Element glDrawRangeElementsBaseVertex
BufferObjectKind Indirect glDrawArraysIndirect
BufferObjectKind Indirect glDrawElementsIndirect
+BufferObjectKind Indirect glMultiDrawArraysIndirect
# There are no PBOs in the embedded OpenGL variants right now
BufferObjectKind UnpackPixel glBitmap
diff --git a/make/config/jogl/gl4bc-common-cpubufferJavaCode.java b/make/config/jogl/gl4bc-common-cpubufferJavaCode.java
index a29f540fa..39dc9f6c4 100644
--- a/make/config/jogl/gl4bc-common-cpubufferJavaCode.java
+++ b/make/config/jogl/gl4bc-common-cpubufferJavaCode.java
@@ -7,6 +7,10 @@
@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 glMultiDrawArraysIndirect}(GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride); </code> <br>Part of <code>GL_VERSION_4_3</code>, <code>GL_ARB_multi_draw_indirect</code>
+ @param indirect a direct or array-backed {@link java.nio.Buffer} */
+ public void glMultiDrawArraysIndirect(int mode, Buffer indirect, int drawcount, int stride);
+
/** 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);