summaryrefslogtreecommitdiffstats
path: root/src/mesa/es/glapi/es_EXT.xml
blob: 291a53b4b27f43bf1a334d21ccc21bbe85a6b07d (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "../../glapi/gen/gl_API.dtd">

<!-- OpenGL ES extensions -->

<OpenGLAPI>

<category name="GL_OES_compressed_paletted_texture" number="6">
    <enum name="PALETTE4_RGB8_OES"                        value="0x8B90"/>
    <enum name="PALETTE4_RGBA8_OES"                       value="0x8B91"/>
    <enum name="PALETTE4_R5_G6_B5_OES"                    value="0x8B92"/>
    <enum name="PALETTE4_RGBA4_OES"                       value="0x8B93"/>
    <enum name="PALETTE4_RGB5_A1_OES"                     value="0x8B94"/>
    <enum name="PALETTE8_RGB8_OES"                        value="0x8B95"/>
    <enum name="PALETTE8_RGBA8_OES"                       value="0x8B96"/>
    <enum name="PALETTE8_R5_G6_B5_OES"                    value="0x8B97"/>
    <enum name="PALETTE8_RGBA4_OES"                       value="0x8B98"/>
    <enum name="PALETTE8_RGB5_A1_OES"                     value="0x8B99"/>
</category>

<!-- 23. GL_OES_EGL_image -->
<xi:include href="../../glapi/gen/OES_EGL_image.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>

<category name="GL_OES_depth24" number="24">
    <enum name="DEPTH_COMPONENT24_OES"                    value="0x81A6"/>
</category>

<category name="GL_OES_depth32" number="25">
    <enum name="DEPTH_COMPONENT32_OES"                    value="0x81A7"/>
</category>

<category name="GL_OES_element_index_uint" number="26">
    <!-- No new functions, types, enums. -->
</category>

<category name="GL_OES_fbo_render_mipmap" number="27">
    <!-- No new functions, types, enums. -->
</category>

<category name="GL_OES_mapbuffer" number="29">
    <enum name="WRITE_ONLY_OES"                           value="0x88B9"/>
    <enum name="BUFFER_ACCESS_OES"                        value="0x88BB"/>
    <enum name="BUFFER_MAPPED_OES"                        value="0x88BC"/>
    <enum name="BUFFER_MAP_POINTER_OES"                   value="0x88BD"/>

    <function name="GetBufferPointervOES" offset="assign">
        <param name="target" type="GLenum"/>
        <param name="pname" type="GLenum"/>
        <param name="params" type="GLvoid **"/>
    </function>

    <function name="MapBufferOES" offset="assign">
        <param name="target" type="GLenum"/>
        <param name="access" type="GLenum"/>
	<return type="GLvoid *"/>
    </function>

    <function name="UnmapBufferOES" offset="assign">
        <param name="target" type="GLenum"/>
	<return type="GLboolean"/>
    </function>
</category>

<category name="GL_OES_rgb8_rgba8" number="30">
    <enum name="RGB8_OES"                                 value="0x8051"/>
    <enum name="RGBA8_OES"                                value="0x8058"/>
</category>

<category name="GL_OES_stencil1" number="31">
    <enum name="STENCIL_INDEX1_OES"                       value="0x8D46"/>
</category>

<category name="GL_OES_stencil4" number="32">
    <enum name="STENCIL_INDEX4_OES"                       value="0x8D47"/>
</category>

<category name="GL_OES_stencil8" number="33">
    <enum name="STENCIL_INDEX8_OES"                       value="0x8D48"/>
</category>

<category name="GL_EXT_texture_filter_anisotropic" number="41">
    <enum name="TEXTURE_MAX_ANISOTROPY_EXT"               value="0x84FE"/>
    <enum name="MAX_TEXTURE_MAX_ANISOTROPY_EXT"           value="0x84FF"/>
</category>

<category name="GL_EXT_texture_compression_dxt1" number="49">
    <enum name="COMPRESSED_RGB_S3TC_DXT1_EXT"             value="0x83F0"/>
    <enum name="COMPRESSED_RGBA_S3TC_DXT1_EXT"            value="0x83F1"/>
</category>

<category name="GL_EXT_texture_format_BGRA8888" number="51">
    <enum name="BGRA_EXT"                              value="0x80E1"/>
</category>

<category name="GL_EXT_blend_minmax" number="65">
    <enum name="MIN_EXT"                               value="0x8007"/>
    <enum name="MAX_EXT"                               value="0x8008"/>
</category>

<category name="GL_EXT_read_format_bgra" number="66">
    <enum name="BGRA_EXT"                              value="0x80E1"/>
    <enum name="UNSIGNED_SHORT_4_4_4_4_REV_EXT"        value="0x8365"/>
    <enum name="UNSIGNED_SHORT_1_5_5_5_REV_EXT"        value="0x8366"/>
</category>

<category name="GL_EXT_multi_draw_arrays" number="69">
    <function name="MultiDrawArraysEXT" offset="assign">
        <param name="mode" type="GLenum"/>
        <param name="first" type="GLint *"/> <!-- Spec bug. Should be const. -->
        <param name="count" type="GLsizei *"/> <!-- Spec bug. Should be const. -->
        <param name="primcount" type="GLsizei"/>
        <glx handcode="true"/>
    </function>

    <function name="MultiDrawElementsEXT" offset="assign">
        <param name="mode" type="GLenum"/>
        <param name="count" type="const GLsizei *"/>
        <param name="type" type="GLenum"/>
        <param name="indices" type="const GLvoid **"/>
        <param name="primcount" type="GLsizei"/>
        <glx handcode="true"/>
    </function>
</category>

</OpenGLAPI>