summaryrefslogtreecommitdiff
path: root/lib/mesa/src/mapi/glapi/gen/ARB_draw_instanced.xml
blob: 8d7fd6301b3efaf330c7dc9337afbc420ab8d5ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?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>