mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 09:08:07 +02:00
Since changing 1 field to 8 bits and the removal of cmd_size, call sizes have decreased, so we have 4 unused bytes in 2 DrawArrays structures So far we use: - DrawArrays - DrawArraysInstancedBaseInstance - DrawArraysInstancedBaseInstanceDrawID Change them to these by either removing 4 more bytes or adding 4 bytes, so that we don't waste space, which drops the number of used calls by 1: - DrawArraysInstanced - DrawArraysInstancedBaseInstanceDrawID Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27350>
51 lines
1.5 KiB
XML
51 lines
1.5 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
|
|
|
|
<!-- Note: no GLX protocol info yet. -->
|
|
|
|
|
|
<OpenGLAPI>
|
|
|
|
<category name="GL_ARB_draw_instanced" number="44">
|
|
|
|
<function name="DrawArraysInstanced" marshal="custom" exec="dlist" es2="2.0"
|
|
marshal_no_error="true" marshal_struct="public">
|
|
<param name="mode" type="GLenum"/>
|
|
<param name="first" type="GLint"/>
|
|
<param name="count" type="GLsizei"/>
|
|
<param name="primcount" type="GLsizei"/>
|
|
</function>
|
|
|
|
<function name="DrawElementsInstanced" marshal="custom" exec="dlist" es2="2.0"
|
|
marshal_no_error="true">
|
|
<param name="mode" type="GLenum"/>
|
|
<param name="count" type="GLsizei"/>
|
|
<param name="type" type="GLenum"/>
|
|
<param name="indices" type="const GLvoid *"/>
|
|
<param name="instance_count" type="GLsizei"/>
|
|
</function>
|
|
|
|
</category>
|
|
|
|
|
|
<category name="GL_EXT_draw_instanced" number="327">
|
|
|
|
<function name="DrawArraysInstancedEXT" alias="DrawArraysInstanced" es2="2.0">
|
|
<param name="mode" type="GLenum"/>
|
|
<param name="first" type="GLint"/>
|
|
<param name="count" type="GLsizei"/>
|
|
<param name="primcount" type="GLsizei"/>
|
|
</function>
|
|
|
|
<function name="DrawElementsInstancedEXT" alias="DrawElementsInstanced" es2="2.0">
|
|
<param name="mode" type="GLenum"/>
|
|
<param name="count" type="GLsizei"/>
|
|
<param name="type" type="GLenum"/>
|
|
<param name="indices" type="const GLvoid *"/>
|
|
<param name="primcount" type="GLsizei"/>
|
|
</function>
|
|
|
|
</category>
|
|
|
|
|
|
</OpenGLAPI>
|