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

<!-- Note: no GLX protocol info yet. -->


<OpenGLAPI>

<category name="GL_ARB_map_buffer_range" number="50">

    <enum name="MAP_READ_BIT"                value="0x0001"/>
    <enum name="MAP_WRITE_BIT"               value="0x0002"/>
    <enum name="MAP_INVALIDATE_RANGE_BIT"    value="0x0004"/>
    <enum name="MAP_INVALIDATE_BUFFER_BIT"   value="0x0008"/>
    <enum name="MAP_FLUSH_EXPLICIT_BIT"      value="0x0010"/>
    <enum name="MAP_UNSYNCHRONIZED_BIT"      value="0x0020"/>

    <function name="MapBufferRange" es2="3.0" no_error="true">
        <param name="target" type="GLenum"/>
        <param name="offset" type="GLintptr"/>
        <param name="length" type="GLsizeiptr"/>
        <param name="access" type="GLbitfield"/>
        <return type="GLvoid *"/>
    </function>

    <function name="FlushMappedBufferRange" es2="3.0" no_error="true">
        <param name="target" type="GLenum"/>
        <param name="offset" type="GLintptr"/>
        <param name="length" type="GLsizeiptr"/>
    </function>

</category>

</OpenGLAPI>