mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 08:58:10 +02:00
The main motivation is that no_error allows us to drop count==0 draws at the beginning of the marshal function, instead of forwarding them to the frontend thread. Such draws are plentiful with Viewperf. 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">
|
|
<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_struct="public" 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>
|