summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2023-11-30 18:20:57 -0500
committerMarge Bot <emma+marge@anholt.net>2023-12-08 04:25:52 +0000
commit3a74cdcd9139b048307abb17b08f56afa1e502b9 (patch)
tree1160ecaf9f2594780033fe8699c333c870cc55a9 /src/mapi
parent98e42c6efbdca824b6925111fe819d44ea10c345 (diff)
glthread: pass struct marshal_cmd_DrawElementsUserBuf into Draw directly
Pass the whole structure directly instead of as separate parameters. Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26548>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/gl_API.xml9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index bc59ddc759a..874ec8dd552 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -12936,14 +12936,7 @@
</function>
<function name="DrawElementsUserBuf" es1="1.0" es2="2.0" marshal="custom">
- <param name="indexBuf" type="GLintptr"/> <!-- "struct gl_buffer_object *" really -->
- <param name="mode" type="GLenum"/>
- <param name="count" type="GLsizei"/>
- <param name="type" type="GLenum"/>
- <param name="indices" type="const GLvoid *"/>
- <param name="instancecount" type="GLsizei"/>
- <param name="basevertex" type="GLint"/>
- <param name="baseinstance" type="GLuint"/>
+ <param name="cmd" type="const GLvoid *"/> <!-- struct marshal_cmd_DrawElementsUserBuf -->
</function>
<function name="MultiDrawArraysUserBuf" es1="1.0" es2="2.0" marshal="custom">