mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 02:30:24 +01:00
We want to support glthread on GLES contexts with reasonable apps, and on desktop for apps that use VBOs but haven't completely moved to core GL. To do so, we have to deal with the "the user may or may not pass user pointers to draw calls" problem. Acked-by: Timothy Arceri <tarceri@itsqueeze.com> Acked-by: Marek Olšák <maraeo@gmail.com> Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de> Tested-by: Mike Lothian <mike@fireburn.co.uk>
50 lines
1.4 KiB
XML
50 lines
1.4 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="DrawArraysInstancedARB" exec="dynamic" marshal="draw">
|
|
<param name="mode" type="GLenum"/>
|
|
<param name="first" type="GLint"/>
|
|
<param name="count" type="GLsizei"/>
|
|
<param name="primcount" type="GLsizei"/>
|
|
</function>
|
|
|
|
<function name="DrawElementsInstancedARB" exec="dynamic" marshal="draw"
|
|
marshal_fail="_mesa_glthread_is_non_vbo_draw_elements(ctx)">
|
|
<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>
|
|
|
|
|
|
<category name="GL_EXT_draw_instanced" number="327">
|
|
|
|
<function name="DrawArraysInstancedEXT" alias="DrawArraysInstancedARB">
|
|
<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="DrawElementsInstancedARB">
|
|
<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>
|