aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/glapi/gen/APPLE_object_purgeable.xml
blob: 829fc263156486e242c27b387fc7ce166a7e47fa (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
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">

<OpenGLAPI>
<category name="GL_APPLE_object_purgeable" number="371">
    <enum name="RELEASED_APPLE"               value="0x8A19"/>
    <enum name="VOLATILE_APPLE"               value="0x8A1A"/>
    <enum name="RETAINED_APPLE"               value="0x8A1B"/>
    <enum name="UNDEFINED_APPLE"              value="0x8A1C"/>
    <enum name="PURGEABLE_APPLE"    count="1" value="0x8A1D">
       <size name="GetObjectParameterivAPPLE" count="1" mode="get"/>
    </enum>

    <enum name="BUFFER_OBJECT_APPLE"          value="0x85B3"/>

    <function name="ObjectPurgeableAPPLE">
        <param name="objectType" type="GLenum"/>
        <param name="name" type="GLuint"/>
        <param name="option" type="GLenum"/>
	<return type="GLenum"/>
    </function>

    <function name="ObjectUnpurgeableAPPLE">
        <param name="objectType" type="GLenum"/>
        <param name="name" type="GLuint"/>
        <param name="option" type="GLenum"/>
	<return type="GLenum"/>
    </function>

    <function name="GetObjectParameterivAPPLE">
        <param name="objectType" type="GLenum"/>
        <param name="name" type="GLuint"/>
        <param name="pname" type="GLenum"/>
        <param name="value" type="GLint *" output="true"/>
    </function>
</category>
</OpenGLAPI>