7d33d6dcf4ade80dba5b3f7d1650d97d9f4343fe
[mesa.git] / src / mapi / glapi / gen / gl_and_es_API.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3
4 <!-- OpenGL + OpenGL ES -->
5
6 <OpenGLAPI>
7
8 <xi:include href="gl_API.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
9
10 <!-- these can be moved to gl_API.xml -->
11 <xi:include href="OES_fixed_point.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
12 <xi:include href="OES_single_precision.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
13
14 <category name="es1.0">
15 <!-- from GL_OES_fixed_point -->
16 <enum name="FIXED" value="0x140C"/>
17
18 <type name="fixed" size="4" />
19 <type name="clampx" size="4" />
20
21 <function name="AlphaFuncx" es1="1.0" desktop="false">
22 <param name="func" type="GLenum"/>
23 <param name="ref" type="GLclampx"/>
24 </function>
25
26 <function name="ClearColorx" es1="1.0" desktop="false">
27 <param name="red" type="GLclampx"/>
28 <param name="green" type="GLclampx"/>
29 <param name="blue" type="GLclampx"/>
30 <param name="alpha" type="GLclampx"/>
31 </function>
32
33 <function name="ClearDepthx" es1="1.0" desktop="false">
34 <param name="depth" type="GLclampx"/>
35 </function>
36
37 <function name="Color4x" es1="1.0" desktop="false">
38 <param name="red" type="GLfixed"/>
39 <param name="green" type="GLfixed"/>
40 <param name="blue" type="GLfixed"/>
41 <param name="alpha" type="GLfixed"/>
42 </function>
43
44 <function name="DepthRangex" es1="1.0" desktop="false">
45 <param name="zNear" type="GLclampx"/>
46 <param name="zFar" type="GLclampx"/>
47 </function>
48
49 <function name="Fogx" es1="1.0" desktop="false">
50 <param name="pname" type="GLenum"/>
51 <param name="param" type="GLfixed"/>
52 </function>
53
54 <function name="Fogxv" es1="1.0" desktop="false">
55 <param name="pname" type="GLenum"/>
56 <param name="params" type="const GLfixed *" variable_param="pname"
57 marshal_count="_mesa_fog_enum_to_count(pname)"/>
58 </function>
59
60 <function name="Frustumx" es1="1.0" desktop="false">
61 <param name="left" type="GLfixed"/>
62 <param name="right" type="GLfixed"/>
63 <param name="bottom" type="GLfixed"/>
64 <param name="top" type="GLfixed"/>
65 <param name="zNear" type="GLfixed"/>
66 <param name="zFar" type="GLfixed"/>
67 </function>
68
69 <function name="LightModelx" es1="1.0" desktop="false">
70 <param name="pname" type="GLenum"/>
71 <param name="param" type="GLfixed"/>
72 </function>
73
74 <function name="LightModelxv" es1="1.0" desktop="false">
75 <param name="pname" type="GLenum"/>
76 <param name="params" type="const GLfixed *" variable_param="pname"
77 marshal_count="_mesa_light_model_enum_to_count(pname)"/>
78 </function>
79
80 <function name="Lightx" es1="1.0" desktop="false">
81 <param name="light" type="GLenum"/>
82 <param name="pname" type="GLenum"/>
83 <param name="param" type="GLfixed"/>
84 </function>
85
86 <function name="Lightxv" es1="1.0" desktop="false">
87 <param name="light" type="GLenum"/>
88 <param name="pname" type="GLenum"/>
89 <param name="params" type="const GLfixed *" variable_param="pname"
90 marshal_count="_mesa_light_enum_to_count(pname)"/>
91 </function>
92
93 <function name="LineWidthx" es1="1.0" desktop="false">
94 <param name="width" type="GLfixed"/>
95 </function>
96
97 <function name="LoadMatrixx" es1="1.0" desktop="false">
98 <param name="m" type="const GLfixed *" count="16"/>
99 </function>
100
101 <function name="Materialx" es1="1.0" desktop="false">
102 <param name="face" type="GLenum"/>
103 <param name="pname" type="GLenum"/>
104 <param name="param" type="GLfixed"/>
105 </function>
106
107 <function name="Materialxv" es1="1.0" desktop="false">
108 <param name="face" type="GLenum"/>
109 <param name="pname" type="GLenum"/>
110 <param name="params" type="const GLfixed *" variable_param="pname"/>
111 </function>
112
113 <function name="MultMatrixx" es1="1.0" desktop="false">
114 <param name="m" type="const GLfixed *" count="16"/>
115 </function>
116
117 <function name="MultiTexCoord4x" es1="1.0" desktop="false">
118 <param name="target" type="GLenum"/>
119 <param name="s" type="GLfixed"/>
120 <param name="t" type="GLfixed"/>
121 <param name="r" type="GLfixed"/>
122 <param name="q" type="GLfixed"/>
123 </function>
124
125 <function name="Normal3x" es1="1.0" desktop="false">
126 <param name="nx" type="GLfixed"/>
127 <param name="ny" type="GLfixed"/>
128 <param name="nz" type="GLfixed"/>
129 </function>
130
131 <function name="Orthox" es1="1.0" desktop="false">
132 <param name="left" type="GLfixed"/>
133 <param name="right" type="GLfixed"/>
134 <param name="bottom" type="GLfixed"/>
135 <param name="top" type="GLfixed"/>
136 <param name="zNear" type="GLfixed"/>
137 <param name="zFar" type="GLfixed"/>
138 </function>
139
140 <function name="PointSizex" es1="1.0" desktop="false">
141 <param name="size" type="GLfixed"/>
142 </function>
143
144 <function name="PolygonOffsetx" es1="1.0" desktop="false">
145 <param name="factor" type="GLfixed"/>
146 <param name="units" type="GLfixed"/>
147 </function>
148
149 <function name="Rotatex" es1="1.0" desktop="false">
150 <param name="angle" type="GLfixed"/>
151 <param name="x" type="GLfixed"/>
152 <param name="y" type="GLfixed"/>
153 <param name="z" type="GLfixed"/>
154 </function>
155
156 <function name="SampleCoveragex" es1="1.0" desktop="false">
157 <param name="value" type="GLclampx"/>
158 <param name="invert" type="GLboolean"/>
159 </function>
160
161 <function name="Scalex" es1="1.0" desktop="false">
162 <param name="x" type="GLfixed"/>
163 <param name="y" type="GLfixed"/>
164 <param name="z" type="GLfixed"/>
165 </function>
166
167 <function name="TexEnvx" es1="1.0" desktop="false">
168 <param name="target" type="GLenum"/>
169 <param name="pname" type="GLenum"/>
170 <param name="param" type="GLfixed"/>
171 </function>
172
173 <function name="TexEnvxv" es1="1.0" desktop="false">
174 <param name="target" type="GLenum"/>
175 <param name="pname" type="GLenum"/>
176 <param name="params" type="const GLfixed *" variable_param="pname"
177 marshal_count="_mesa_texenv_enum_to_count(pname)"/>
178 </function>
179
180 <function name="TexParameterx" es1="1.0" desktop="false">
181 <param name="target" type="GLenum"/>
182 <param name="pname" type="GLenum"/>
183 <param name="param" type="GLfixed"/>
184 </function>
185
186 <function name="Translatex" es1="1.0" desktop="false">
187 <param name="x" type="GLfixed"/>
188 <param name="y" type="GLfixed"/>
189 <param name="z" type="GLfixed"/>
190 </function>
191
192 <!-- from GL_OES_single_precision -->
193 <function name="Frustumf" es1="1.0" desktop="false">
194 <param name="left" type="GLfloat"/>
195 <param name="right" type="GLfloat"/>
196 <param name="bottom" type="GLfloat"/>
197 <param name="top" type="GLfloat"/>
198 <param name="zNear" type="GLfloat"/>
199 <param name="zFar" type="GLfloat"/>
200 </function>
201
202 <function name="Orthof" es1="1.0" desktop="false">
203 <param name="left" type="GLfloat"/>
204 <param name="right" type="GLfloat"/>
205 <param name="bottom" type="GLfloat"/>
206 <param name="top" type="GLfloat"/>
207 <param name="zNear" type="GLfloat"/>
208 <param name="zFar" type="GLfloat"/>
209 </function>
210 </category>
211
212 <category name="es1.1">
213 <!-- from GL_OES_fixed_point -->
214 <function name="ClipPlanex" es1="1.1" desktop="false">
215 <param name="plane" type="GLenum"/>
216 <param name="equation" type="const GLfixed *" count="4"/>
217 </function>
218
219 <function name="GetClipPlanex" es1="1.1">
220 <param name="plane" type="GLenum"/>
221 <param name="equation" type="GLfixed *" output="true" count="4"/>
222 </function>
223
224 <function name="GetFixedv" es1="1.1" desktop="false">
225 <param name="pname" type="GLenum"/>
226 <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
227 </function>
228
229 <function name="GetLightxv" es1="1.1" desktop="false">
230 <param name="light" type="GLenum"/>
231 <param name="pname" type="GLenum"/>
232 <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
233 </function>
234
235 <function name="GetMaterialxv" es1="1.1" desktop="false">
236 <param name="face" type="GLenum"/>
237 <param name="pname" type="GLenum"/>
238 <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
239 </function>
240
241 <function name="GetTexEnvxv" es1="1.1" desktop="false">
242 <param name="target" type="GLenum"/>
243 <param name="pname" type="GLenum"/>
244 <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
245 </function>
246
247 <function name="GetTexParameterxv" es1="1.1" desktop="false">
248 <param name="target" type="GLenum"/>
249 <param name="pname" type="GLenum"/>
250 <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
251 </function>
252
253 <function name="PointParameterx" es1="1.1" desktop="false">
254 <param name="pname" type="GLenum"/>
255 <param name="param" type="GLfixed"/>
256 </function>
257
258 <function name="PointParameterxv" es1="1.1" desktop="false">
259 <param name="pname" type="GLenum"/>
260 <param name="params" type="const GLfixed *"/>
261 </function>
262
263 <function name="TexParameterxv" es1="1.1" desktop="false">
264 <param name="target" type="GLenum"/>
265 <param name="pname" type="GLenum"/>
266 <param name="params" type="const GLfixed *" variable_param="pname"
267 marshal_count="_mesa_tex_param_enum_to_count(pname)"/>
268 </function>
269
270 <!-- from GL_OES_single_precision -->
271 <function name="ClipPlanef" es1="1.1" desktop="false">
272 <param name="plane" type="GLenum"/>
273 <param name="equation" type="const GLfloat *" count="4"/>
274 </function>
275
276 <function name="GetClipPlanef" es1="1.1">
277 <param name="plane" type="GLenum"/>
278 <param name="equation" type="GLfloat *" output="true" count="4"/>
279 </function>
280 </category>
281
282 <category name="es2.0">
283 <!-- enums missing from GL_ARB_framebuffer_object and GL_EXT_framebuffer_object -->
284 <enum name="FRAMEBUFFER_INCOMPLETE_DIMENSIONS" value="0x8CD9"/>
285 <enum name="RGB565" value="0x8D62"/>
286 </category>
287
288 <xi:include href="es_EXT.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
289
290 </OpenGLAPI>