glthread: add support for glFog, glLight, glLightModel, glTexEnv, glTexGen
[mesa.git] / src / mapi / glapi / gen / OES_fixed_point.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3
4 <!-- This is included by gl_and_es_API.xml. Could be moved to gl_API.xml. -->
5 <!-- this extension is incomplete -->
6
7 <OpenGLAPI>
8
9 <category name="GL_OES_fixed_point" number="292">
10 <enum name="FIXED_OES" value="0x140C"/>
11
12 <type name="fixed" size="4" />
13 <type name="clampx" size="4" />
14
15 <!-- OpenGL ES 1.0 -->
16 <function name="AlphaFuncxOES" es1="1.0" alias="AlphaFuncx">
17 <param name="func" type="GLenum"/>
18 <param name="ref" type="GLclampx"/>
19 </function>
20
21 <function name="ClearColorxOES" es1="1.0" alias="ClearColorx">
22 <param name="red" type="GLclampx"/>
23 <param name="green" type="GLclampx"/>
24 <param name="blue" type="GLclampx"/>
25 <param name="alpha" type="GLclampx"/>
26 </function>
27
28 <function name="ClearDepthxOES" es1="1.0" alias="ClearDepthx">
29 <param name="depth" type="GLclampx"/>
30 </function>
31
32 <function name="Color4xOES" es1="1.0" alias="Color4x">
33 <param name="red" type="GLfixed"/>
34 <param name="green" type="GLfixed"/>
35 <param name="blue" type="GLfixed"/>
36 <param name="alpha" type="GLfixed"/>
37 </function>
38
39 <function name="DepthRangexOES" es1="1.0" alias="DepthRangex">
40 <param name="zNear" type="GLclampx"/>
41 <param name="zFar" type="GLclampx"/>
42 </function>
43
44 <function name="FogxOES" es1="1.0" alias="Fogx">
45 <param name="pname" type="GLenum"/>
46 <param name="param" type="GLfixed"/>
47 </function>
48
49 <function name="FogxvOES" es1="1.0" alias="Fogxv">
50 <param name="pname" type="GLenum"/>
51 <param name="params" type="const GLfixed *"/>
52 </function>
53
54 <function name="FrustumxOES" es1="1.0" alias="Frustumx">
55 <param name="left" type="GLfixed"/>
56 <param name="right" type="GLfixed"/>
57 <param name="bottom" type="GLfixed"/>
58 <param name="top" type="GLfixed"/>
59 <param name="zNear" type="GLfixed"/>
60 <param name="zFar" type="GLfixed"/>
61 </function>
62
63 <function name="LightModelxOES" es1="1.0" alias="LightModelx">
64 <param name="pname" type="GLenum"/>
65 <param name="param" type="GLfixed"/>
66 </function>
67
68 <function name="LightModelxvOES" es1="1.0" alias="LightModelxv">
69 <param name="pname" type="GLenum"/>
70 <param name="params" type="const GLfixed *"/>
71 </function>
72
73 <function name="LightxOES" es1="1.0" alias="Lightx">
74 <param name="light" type="GLenum"/>
75 <param name="pname" type="GLenum"/>
76 <param name="param" type="GLfixed"/>
77 </function>
78
79 <function name="LightxvOES" es1="1.0" alias="Lightxv">
80 <param name="light" type="GLenum"/>
81 <param name="pname" type="GLenum"/>
82 <param name="params" type="const GLfixed *"/>
83 </function>
84
85 <function name="LineWidthxOES" es1="1.0" alias="LineWidthx">
86 <param name="width" type="GLfixed"/>
87 </function>
88
89 <function name="LoadMatrixxOES" es1="1.0" alias="LoadMatrixx">
90 <param name="m" type="const GLfixed *"/>
91 </function>
92
93 <function name="MaterialxOES" es1="1.0" alias="Materialx">
94 <param name="face" type="GLenum"/>
95 <param name="pname" type="GLenum"/>
96 <param name="param" type="GLfixed"/>
97 </function>
98
99 <function name="MaterialxvOES" es1="1.0" alias="Materialxv">
100 <param name="face" type="GLenum"/>
101 <param name="pname" type="GLenum"/>
102 <param name="params" type="const GLfixed *"/>
103 </function>
104
105 <function name="MultMatrixxOES" es1="1.0" alias="MultMatrixx">
106 <param name="m" type="const GLfixed *"/>
107 </function>
108
109 <function name="MultiTexCoord4xOES" es1="1.0" alias="MultiTexCoord4x">
110 <param name="target" type="GLenum"/>
111 <param name="s" type="GLfixed"/>
112 <param name="t" type="GLfixed"/>
113 <param name="r" type="GLfixed"/>
114 <param name="q" type="GLfixed"/>
115 </function>
116
117 <function name="Normal3xOES" es1="1.0" alias="Normal3x">
118 <param name="nx" type="GLfixed"/>
119 <param name="ny" type="GLfixed"/>
120 <param name="nz" type="GLfixed"/>
121 </function>
122
123 <function name="OrthoxOES" es1="1.0" alias="Orthox">
124 <param name="left" type="GLfixed"/>
125 <param name="right" type="GLfixed"/>
126 <param name="bottom" type="GLfixed"/>
127 <param name="top" type="GLfixed"/>
128 <param name="zNear" type="GLfixed"/>
129 <param name="zFar" type="GLfixed"/>
130 </function>
131
132 <function name="PointSizexOES" es1="1.0" alias="PointSizex">
133 <param name="size" type="GLfixed"/>
134 </function>
135
136 <function name="PolygonOffsetxOES" es1="1.0" alias="PolygonOffsetx">
137 <param name="factor" type="GLfixed"/>
138 <param name="units" type="GLfixed"/>
139 </function>
140
141 <function name="RotatexOES" es1="1.0" alias="Rotatex">
142 <param name="angle" type="GLfixed"/>
143 <param name="x" type="GLfixed"/>
144 <param name="y" type="GLfixed"/>
145 <param name="z" type="GLfixed"/>
146 </function>
147
148 <function name="SampleCoveragexOES" es1="1.0" alias="SampleCoveragex">
149 <param name="value" type="GLclampx"/>
150 <param name="invert" type="GLboolean"/>
151 </function>
152
153 <function name="ScalexOES" es1="1.0" alias="Scalex">
154 <param name="x" type="GLfixed"/>
155 <param name="y" type="GLfixed"/>
156 <param name="z" type="GLfixed"/>
157 </function>
158
159 <function name="TexEnvxOES" es1="1.0" alias="TexEnvx">
160 <param name="target" type="GLenum"/>
161 <param name="pname" type="GLenum"/>
162 <param name="param" type="GLfixed"/>
163 </function>
164
165 <function name="TexEnvxvOES" es1="1.0" alias="TexEnvxv">
166 <param name="target" type="GLenum"/>
167 <param name="pname" type="GLenum"/>
168 <param name="params" type="const GLfixed *"/>
169 </function>
170
171 <function name="TexParameterxOES" es1="1.0" alias="TexParameterx">
172 <param name="target" type="GLenum"/>
173 <param name="pname" type="GLenum"/>
174 <param name="param" type="GLfixed"/>
175 </function>
176
177 <function name="TranslatexOES" es1="1.0" alias="Translatex">
178 <param name="x" type="GLfixed"/>
179 <param name="y" type="GLfixed"/>
180 <param name="z" type="GLfixed"/>
181 </function>
182
183 <!-- OpenGL ES 1.1 -->
184 <function name="ClipPlanexOES" es1="1.0" alias="ClipPlanex">
185 <param name="plane" type="GLenum"/>
186 <param name="equation" type="const GLfixed *"/>
187 </function>
188
189 <function name="GetClipPlanexOES"
190 es1="1.0" desktop="false" alias="GetClipPlanex">
191 <param name="plane" type="GLenum"/>
192 <param name="equation" type="GLfixed *"/>
193 </function>
194
195 <function name="GetFixedvOES" es1="1.0" alias="GetFixedv">
196 <param name="pname" type="GLenum"/>
197 <param name="params" type="GLfixed *"/>
198 </function>
199
200 <function name="GetLightxvOES" es1="1.0" alias="GetLightxv">
201 <param name="light" type="GLenum"/>
202 <param name="pname" type="GLenum"/>
203 <param name="params" type="GLfixed *"/>
204 </function>
205
206 <function name="GetMaterialxvOES" es1="1.0" alias="GetMaterialxv">
207 <param name="face" type="GLenum"/>
208 <param name="pname" type="GLenum"/>
209 <param name="params" type="GLfixed *"/>
210 </function>
211
212 <function name="GetTexEnvxvOES" es1="1.0" alias="GetTexEnvxv">
213 <param name="target" type="GLenum"/>
214 <param name="pname" type="GLenum"/>
215 <param name="params" type="GLfixed *"/>
216 </function>
217
218 <function name="GetTexParameterxvOES" es1="1.0" alias="GetTexParameterxv">
219 <param name="target" type="GLenum"/>
220 <param name="pname" type="GLenum"/>
221 <param name="params" type="GLfixed *"/>
222 </function>
223
224 <function name="PointParameterxOES" es1="1.0" alias="PointParameterx">
225 <param name="pname" type="GLenum"/>
226 <param name="param" type="GLfixed"/>
227 </function>
228
229 <function name="PointParameterxvOES" es1="1.0" alias="PointParameterxv">
230 <param name="pname" type="GLenum"/>
231 <param name="params" type="const GLfixed *"/>
232 </function>
233
234 <function name="TexParameterxvOES" es1="1.0" alias="TexParameterxv">
235 <param name="target" type="GLenum"/>
236 <param name="pname" type="GLenum"/>
237 <param name="params" type="const GLfixed *" count="_mesa_tex_param_enum_to_count(pname)"/>
238 </function>
239
240 <!-- texgen -->
241 <function name="GetTexGenxvOES"
242 es1="1.0" desktop="false">
243 <param name="coord" type="GLenum"/>
244 <param name="pname" type="GLenum"/>
245 <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
246 </function>
247
248 <function name="TexGenxOES" es1="1.0" desktop="false">
249 <param name="coord" type="GLenum"/>
250 <param name="pname" type="GLenum"/>
251 <param name="param" type="GLint"/>
252 </function>
253
254 <function name="TexGenxvOES" es1="1.0" desktop="false">
255 <param name="coord" type="GLenum"/>
256 <param name="pname" type="GLenum"/>
257 <param name="params" type="const GLfixed *" variable_param="pname"
258 marshal_count="_mesa_texgen_enum_to_count(pname)"/>
259 </function>
260 </category>
261
262 </OpenGLAPI>