aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/ARB_indirect_parameters.xml
blob: 2739f153875b0c988585cab64e9da098ca042f0a (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
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">

<OpenGLAPI>

<category name="GL_ARB_draw_indirect" number="154">

    <enum name="PARAMETER_BUFFER_ARB"                   value="0x80EE"/>
    <enum name="PARAMETER_BUFFER_BINDING_ARB"           value="0x80EF"/>

    <function name="MultiDrawArraysIndirectCountARB" marshal="draw"
              marshal_sync="_mesa_glthread_has_non_vbo_vertices(ctx)">
        <param name="mode" type="GLenum"/>
        <param name="indirect" type="GLintptr"/>
        <param name="drawcount" type="GLintptr"/>
        <param name="maxdrawcount" type="GLsizei"/>
        <param name="stride" type="GLsizei"/>
    </function>

    <!-- Use "...has_non_vbo_vertices", because indices always come from a buffer object. -->
    <function name="MultiDrawElementsIndirectCountARB" marshal="draw"
              marshal_sync="_mesa_glthread_has_non_vbo_vertices(ctx)">
        <param name="mode" type="GLenum"/>
        <param name="type" type="GLenum"/>
        <param name="indirect" type="GLintptr"/>
        <param name="drawcount" type="GLintptr"/>
        <param name="maxdrawcount" type="GLsizei"/>
        <param name="stride" type="GLsizei"/>
    </function>

</category>

</OpenGLAPI>