Tizen 2.0 Release
[profile/ivi/osmesa.git] / src / mapi / glapi / gen / GL3x.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3
4 <!-- Note: no GLX protocol info yet. -->
5
6 <OpenGLAPI>
7
8 <category name="3.0">
9
10   <enum name="COMPARE_REF_TO_TEXTURE"           value="0x884E"/>
11   <enum name="CLIP_DISTANCE0"                   value="0x3000"/>
12   <enum name="CLIP_DISTANCE1"                   value="0x3001"/>
13   <enum name="CLIP_DISTANCE2"                   value="0x3002"/>
14   <enum name="CLIP_DISTANCE3"                   value="0x3003"/>
15   <enum name="CLIP_DISTANCE4"                   value="0x3004"/>
16   <enum name="CLIP_DISTANCE5"                   value="0x3005"/>
17   <enum name="CLIP_DISTANCE6"                   value="0x3006"/>
18   <enum name="CLIP_DISTANCE7"                   value="0x3007"/>
19   <enum name="MAX_CLIP_DISTANCES"               value="0x0D32"/>
20   <enum name="MAJOR_VERSION"                    value="0x821B"/>
21   <enum name="MINOR_VERSION"                    value="0x821C"/>
22   <enum name="NUM_EXTENSIONS"                   value="0x821D"/>
23   <enum name="CONTEXT_FLAGS"                    value="0x821E"/>
24   <enum name="DEPTH_BUFFER"                     value="0x8223"/>
25   <enum name="STENCIL_BUFFER"                   value="0x8224"/>
26   <enum name="COMPRESSED_RED"                   value="0x8225"/>
27   <enum name="COMPRESSED_RG"                    value="0x8226"/>
28   <enum name="CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT"  value="0x0001"/>
29   <enum name="RGBA32F"                          value="0x8814"/>
30   <enum name="RGB32F"                           value="0x8815"/>
31   <enum name="RGBA16F"                          value="0x881A"/>
32   <enum name="RGB16F"                           value="0x881B"/>
33   <enum name="VERTEX_ATTRIB_ARRAY_INTEGER"      value="0x88FD"/>
34   <enum name="MAX_ARRAY_TEXTURE_LAYERS"         value="0x88FF"/>
35   <enum name="MIN_PROGRAM_TEXEL_OFFSET"         value="0x8904"/>
36   <enum name="MAX_PROGRAM_TEXEL_OFFSET"         value="0x8905"/>
37   <enum name="CLAMP_READ_COLOR"                 value="0x891C"/>
38   <enum name="FIXED_ONLY"                       value="0x891D"/>
39   <enum name="MAX_VARYING_COMPONENTS"           value="0x8B4B"/>
40   <enum name="TEXTURE_1D_ARRAY"                 value="0x8C18"/>
41   <enum name="PROXY_TEXTURE_1D_ARRAY"           value="0x8C19"/>
42   <enum name="TEXTURE_2D_ARRAY"                 value="0x8C1A"/>
43   <enum name="PROXY_TEXTURE_2D_ARRAY"           value="0x8C1B"/>
44   <enum name="TEXTURE_BINDING_1D_ARRAY"         value="0x8C1C"/>
45   <enum name="TEXTURE_BINDING_2D_ARRAY"         value="0x8C1D"/>
46   <enum name="R11F_G11F_B10F"                   value="0x8C3A"/>
47   <enum name="UNSIGNED_INT_10F_11F_11F_REV"     value="0x8C3B"/>
48   <enum name="RGB9_E5"                          value="0x8C3D"/>
49   <enum name="UNSIGNED_INT_5_9_9_9_REV"         value="0x8C3E"/>
50   <enum name="TEXTURE_SHARED_SIZE"              value="0x8C3F"/>
51   <enum name="TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH"  value="0x8C76"/>
52   <enum name="TRANSFORM_FEEDBACK_BUFFER_MODE"   value="0x8C7F"/>
53   <enum name="MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS"  value="0x8C80"/>
54   <enum name="TRANSFORM_FEEDBACK_VARYINGS"      value="0x8C83"/>
55   <enum name="TRANSFORM_FEEDBACK_BUFFER_START"  value="0x8C84"/>
56   <enum name="TRANSFORM_FEEDBACK_BUFFER_SIZE"   value="0x8C85"/>
57   <enum name="PRIMITIVES_GENERATED"             value="0x8C87"/>
58   <enum name="TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN"  value="0x8C88"/>
59   <enum name="RASTERIZER_DISCARD"               value="0x8C89"/>
60   <enum name="MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS"  value="0x8C8A"/>
61   <enum name="MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS"  value="0x8C8B"/>
62   <enum name="INTERLEAVED_ATTRIBS"              value="0x8C8C"/>
63   <enum name="SEPARATE_ATTRIBS"                 value="0x8C8D"/>
64   <enum name="TRANSFORM_FEEDBACK_BUFFER"        value="0x8C8E"/>
65   <enum name="TRANSFORM_FEEDBACK_BUFFER_BINDING"  value="0x8C8F"/>
66   <enum name="RGBA32UI"                         value="0x8D70"/>
67   <enum name="RGB32UI"                          value="0x8D71"/>
68   <enum name="RGBA16UI"                         value="0x8D76"/>
69   <enum name="RGB16UI"                          value="0x8D77"/>
70   <enum name="RGBA8UI"                          value="0x8D7C"/>
71   <enum name="RGB8UI"                           value="0x8D7D"/>
72   <enum name="RGBA32I"                          value="0x8D82"/>
73   <enum name="RGB32I"                           value="0x8D83"/>
74   <enum name="RGBA16I"                          value="0x8D88"/>
75   <enum name="RGB16I"                           value="0x8D89"/>
76   <enum name="RGBA8I"                           value="0x8D8E"/>
77   <enum name="RGB8I"                            value="0x8D8F"/>
78   <enum name="RED_INTEGER"                      value="0x8D94"/>
79   <enum name="GREEN_INTEGER"                    value="0x8D95"/>
80   <enum name="BLUE_INTEGER"                     value="0x8D96"/>
81   <enum name="RGB_INTEGER"                      value="0x8D98"/>
82   <enum name="RGBA_INTEGER"                     value="0x8D99"/>
83   <enum name="BGR_INTEGER"                      value="0x8D9A"/>
84   <enum name="BGRA_INTEGER"                     value="0x8D9B"/>
85   <enum name="SAMPLER_1D_ARRAY"                 value="0x8DC0"/>
86   <enum name="SAMPLER_2D_ARRAY"                 value="0x8DC1"/>
87   <enum name="SAMPLER_1D_ARRAY_SHADOW"          value="0x8DC3"/>
88   <enum name="SAMPLER_2D_ARRAY_SHADOW"          value="0x8DC4"/>
89   <enum name="SAMPLER_CUBE_SHADOW"              value="0x8DC5"/>
90   <enum name="UNSIGNED_INT_VEC2"                value="0x8DC6"/>
91   <enum name="UNSIGNED_INT_VEC3"                value="0x8DC7"/>
92   <enum name="UNSIGNED_INT_VEC4"                value="0x8DC8"/>
93   <enum name="INT_SAMPLER_1D"                   value="0x8DC9"/>
94   <enum name="INT_SAMPLER_2D"                   value="0x8DCA"/>
95   <enum name="INT_SAMPLER_3D"                   value="0x8DCB"/>
96   <enum name="INT_SAMPLER_CUBE"                 value="0x8DCC"/>
97   <enum name="INT_SAMPLER_1D_ARRAY"             value="0x8DCE"/>
98   <enum name="INT_SAMPLER_2D_ARRAY"             value="0x8DCF"/>
99   <enum name="UNSIGNED_INT_SAMPLER_1D"          value="0x8DD1"/>
100   <enum name="UNSIGNED_INT_SAMPLER_2D"          value="0x8DD2"/>
101   <enum name="UNSIGNED_INT_SAMPLER_3D"          value="0x8DD3"/>
102   <enum name="UNSIGNED_INT_SAMPLER_CUBE"        value="0x8DD4"/>
103   <enum name="UNSIGNED_INT_SAMPLER_1D_ARRAY"    value="0x8DD6"/>
104   <enum name="UNSIGNED_INT_SAMPLER_2D_ARRAY"    value="0x8DD7"/>
105   <enum name="QUERY_WAIT"                       value="0x8E13"/>
106   <enum name="QUERY_NO_WAIT"                    value="0x8E14"/>
107   <enum name="QUERY_BY_REGION_WAIT"             value="0x8E15"/>
108   <enum name="QUERY_BY_REGION_NO_WAIT"          value="0x8E16"/>
109   <enum name="BUFFER_ACCESS_FLAGS"              value="0x911F"/>
110   <enum name="BUFFER_MAP_LENGTH"                value="0x9120"/>
111   <enum name="BUFFER_MAP_OFFSET"                value="0x9121"/>
112
113   <!-- These functions are unique to GL3 -->
114
115   <function name="ClearBufferiv" offset="assign">
116     <param name="buffer" type="GLenum"/>
117     <param name="drawbuffer" type="GLint"/>
118     <param name="value" type="const GLint *"/>
119   </function>
120
121   <function name="ClearBufferuiv" offset="assign">
122     <param name="buffer" type="GLenum"/>
123     <param name="drawbuffer" type="GLint"/>
124     <param name="value" type="const GLuint *"/>
125   </function>
126
127   <function name="ClearBufferfv" offset="assign">
128     <param name="buffer" type="GLenum"/>
129     <param name="drawbuffer" type="GLint"/>
130     <param name="value" type="const GLfloat *"/>
131   </function>
132
133   <function name="ClearBufferfi" offset="assign">
134     <param name="buffer" type="GLenum"/>
135     <param name="drawbuffer" type="GLint"/>
136     <param name="depth" type="GLfloat"/>
137     <param name="stencil" type="GLint"/>
138   </function>
139
140   <function name="GetStringi" offset="assign">
141     <param name="name" type="GLenum"/>
142     <param name="index" type="GLuint"/>
143       <return type="const GLubyte *"/>
144   </function>
145
146   <function name="ClampColor" offset="assign">
147     <param name="target" type="GLenum"/>
148     <param name="clamp" type="GLenum"/>
149   </function>
150
151   <!-- These functions alias ones form GL_ARB_draw_buffers2 -->
152
153   <function name="ColorMaski" alias="ColorMaskIndexedEXT">
154     <param name="buf" type="GLuint"/>
155     <param name="r" type="GLboolean"/>
156     <param name="g" type="GLboolean"/>
157     <param name="b" type="GLboolean"/>
158     <param name="a" type="GLboolean"/>
159   </function>
160
161   <function name="GetBooleani_v" alias="GetBooleanIndexedvEXT">
162     <param name="value" type="GLenum"/>
163     <param name="index" type="GLuint"/>
164     <param name="data" type="GLboolean *"/>
165   </function>
166
167   <function name="GetIntegeri_v" alias="GetIntegerIndexedvEXT">
168     <param name="value" type="GLenum"/>
169     <param name="index" type="GLuint"/>
170     <param name="data" type="GLint *"/>
171   </function>
172
173   <function name="Enablei" alias="EnableIndexedEXT">
174     <param name="target" type="GLenum"/>
175     <param name="index" type="GLuint"/>
176   </function>
177
178   <function name="Disablei" alias="DisableIndexedEXT">
179     <param name="target" type="GLenum"/>
180     <param name="index" type="GLuint"/>
181   </function>
182
183   <function name="IsEnabledi" alias="IsEnabledIndexedEXT">
184     <param name="target" type="GLenum"/>
185     <param name="index" type="GLuint"/>
186       <return type="GLboolean"/>
187   </function>
188
189   <!-- These functions alias ones form GL_EXT_transform_feedback -->
190
191   <function name="GetFragDataLocation" alias="GetFragDataLocationEXT">
192     <param name="program" type="GLuint"/>
193     <param name="name" type="const GLchar *"/>
194       <return type="GLint"/>
195   </function>
196
197   <function name="BindFragDataLocation" alias="BindFragDataLocationEXT">
198     <param name="program" type="GLuint"/>
199     <param name="colorNumber" type="GLuint"/>
200     <param name="name" type="const GLchar *"/>
201   </function>
202
203   <function name="BeginTransformFeedback" alias="BeginTransformFeedbackEXT">
204     <param name="mode" type="GLenum"/>
205   </function>
206
207   <function name="EndTransformFeedback" alias="EndTransformFeedbackEXT">
208   </function>
209
210   <function name="BindBufferRange" alias="BindBufferRangeEXT">
211     <param name="target" type="GLenum"/>
212     <param name="index" type="GLuint"/>
213     <param name="buffer" type="GLuint"/>
214     <param name="offset" type="GLintptr"/>
215     <param name="size" type="GLsizeiptr"/>
216   </function>
217
218   <function name="BindBufferBase" alias="BindBufferBaseEXT">
219     <param name="target" type="GLenum"/>
220     <param name="index" type="GLuint"/>
221     <param name="buffer" type="GLuint"/>
222   </function>
223
224   <function name="TransformFeedbackVaryings" alias="TransformFeedbackVaryingsEXT">
225     <param name="program" type="GLuint"/>
226     <param name="count" type="GLsizei"/>
227     <param name="varyings" type="const GLchar* *"/>
228     <param name="bufferMode" type="GLenum"/>
229   </function>
230
231   <function name="GetTransformFeedbackVarying" alias="GetTransformFeedbackVaryingEXT">
232     <param name="program" type="GLuint"/>
233     <param name="index" type="GLuint"/>
234     <param name="bufSize" type="GLsizei"/>
235     <param name="length" type="GLsizei *"/>
236     <param name="size" type="GLsizei *"/>
237     <param name="type" type="GLenum *"/>
238     <param name="name" type="GLchar *"/>
239   </function>
240
241   <!-- These functions alias ones from GL_NV_conditional_render -->
242
243   <function name="BeginConditionalRender" alias="BeginConditionalRenderNV">
244     <param name="query" type="GLuint"/>
245     <param name="mode" type="GLenum"/>
246   </function>
247
248   <function name="EndConditionalRender" alias="EndConditionalRenderNV">
249   </function>
250
251   <!-- These functions alias ones from GL_EXT_gpu_shader4 -->
252
253   <function name="VertexAttribIPointer" alias="VertexAttribIPointerEXT">
254     <param name="index" type="GLuint"/>
255     <param name="size" type="GLint"/>
256     <param name="type" type="GLenum"/>
257     <param name="stride" type="GLsizei"/>
258     <param name="pointer" type="const GLvoid *"/>
259   </function>
260
261   <function name="GetVertexAttribIiv" alias="GetVertexAttribIivEXT">
262     <param name="index" type="GLuint"/>
263     <param name="pname" type="GLenum"/>
264     <param name="params" type="GLint *"/>
265   </function>
266
267   <function name="GetVertexAttribIuiv" alias="GetVertexAttribIuivEXT">
268     <param name="index" type="GLuint"/>
269     <param name="pname" type="GLenum"/>
270     <param name="params" type="GLuint *"/>
271   </function>
272
273   <function name="VertexAttribI1i" alias="VertexAttribI1iEXT">
274     <param name="index" type="GLuint"/>
275     <param name="x" type="GLint"/>
276   </function>
277
278   <function name="VertexAttribI2i" alias="VertexAttribI2iEXT">
279     <param name="index" type="GLuint"/>
280     <param name="x" type="GLint"/>
281     <param name="y" type="GLint"/>
282   </function>
283
284   <function name="VertexAttribI3i" alias="VertexAttribI3iEXT">
285     <param name="index" type="GLuint"/>
286     <param name="x" type="GLint"/>
287     <param name="y" type="GLint"/>
288     <param name="z" type="GLint"/>
289   </function>
290
291   <function name="VertexAttribI4i" alias="VertexAttribI4iEXT">
292     <param name="index" type="GLuint"/>
293     <param name="x" type="GLint"/>
294     <param name="y" type="GLint"/>
295     <param name="z" type="GLint"/>
296     <param name="w" type="GLint"/>
297   </function>
298
299   <function name="VertexAttribI1ui" alias="VertexAttribI1uiEXT">
300     <param name="index" type="GLuint"/>
301     <param name="x" type="GLuint"/>
302   </function>
303
304   <function name="VertexAttribI2ui" alias="VertexAttribI2uiEXT">
305     <param name="index" type="GLuint"/>
306     <param name="x" type="GLuint"/>
307     <param name="y" type="GLuint"/>
308   </function>
309
310   <function name="VertexAttribI3ui" alias="VertexAttribI3uiEXT">
311     <param name="index" type="GLuint"/>
312     <param name="x" type="GLuint"/>
313     <param name="y" type="GLuint"/>
314     <param name="z" type="GLuint"/>
315   </function>
316
317   <function name="VertexAttribI4ui" alias="VertexAttribI4uiEXT">
318     <param name="index" type="GLuint"/>
319     <param name="x" type="GLuint"/>
320     <param name="y" type="GLuint"/>
321     <param name="z" type="GLuint"/>
322     <param name="w" type="GLuint"/>
323   </function>
324
325   <function name="VertexAttribI1iv" alias="VertexAttribI1ivEXT">
326     <param name="index" type="GLuint"/>
327     <param name="v" type="const GLint *"/>
328   </function>
329
330   <function name="VertexAttribI2iv" alias="VertexAttribI2ivEXT">
331     <param name="index" type="GLuint"/>
332     <param name="v" type="const GLint *"/>
333   </function>
334
335   <function name="VertexAttribI3iv" alias="VertexAttribI3ivEXT">
336     <param name="index" type="GLuint"/>
337     <param name="v" type="const GLint *"/>
338   </function>
339
340   <function name="VertexAttribI4iv" alias="VertexAttribI4ivEXT">
341     <param name="index" type="GLuint"/>
342     <param name="v" type="const GLint *"/>
343   </function>
344
345   <function name="VertexAttribI1uiv" alias="VertexAttribI1uivEXT">
346     <param name="index" type="GLuint"/>
347     <param name="v" type="const GLuint *"/>
348   </function>
349
350   <function name="VertexAttribI2uiv" alias="VertexAttribI2uivEXT">
351     <param name="index" type="GLuint"/>
352     <param name="v" type="const GLuint *"/>
353   </function>
354
355   <function name="VertexAttribI3uiv" alias="VertexAttribI3uivEXT">
356     <param name="index" type="GLuint"/>
357     <param name="v" type="const GLuint *"/>
358   </function>
359
360   <function name="VertexAttribI4uiv" alias="VertexAttribI4uivEXT">
361     <param name="index" type="GLuint"/>
362     <param name="v" type="const GLuint *"/>
363   </function>
364
365   <function name="VertexAttribI4bv" alias="VertexAttribI4bvEXT">
366     <param name="index" type="GLuint"/>
367     <param name="v" type="const GLbyte *"/>
368   </function>
369
370   <function name="VertexAttribI4sv" alias="VertexAttribI4svEXT">
371     <param name="index" type="GLuint"/>
372     <param name="v" type="const GLshort *"/>
373   </function>
374
375   <function name="VertexAttribI4ubv" alias="VertexAttribI4ubvEXT">
376     <param name="index" type="GLuint"/>
377     <param name="v" type="const GLubyte *"/>
378   </function>
379
380   <function name="VertexAttribI4usv" alias="VertexAttribI4usvEXT">
381     <param name="index" type="GLuint"/>
382     <param name="v" type="const GLushort *"/>
383   </function>
384
385   <function name="GetUniformuiv" alias="GetUniformuivEXT">
386     <param name="program" type="GLuint"/>
387     <param name="location" type="GLint"/>
388     <param name="params" type="GLuint *"/>
389   </function>
390
391   <function name="Uniform1ui" alias="Uniform1uiEXT">
392     <param name="location" type="GLint"/>
393     <param name="x" type="GLuint"/>
394   </function>
395
396   <function name="Uniform2ui" alias="Uniform2uiEXT">
397     <param name="location" type="GLint"/>
398     <param name="x" type="GLuint"/>
399     <param name="y" type="GLuint"/>
400   </function>
401
402   <function name="Uniform3ui" alias="Uniform3uiEXT">
403     <param name="location" type="GLint"/>
404     <param name="x" type="GLuint"/>
405     <param name="y" type="GLuint"/>
406     <param name="z" type="GLuint"/>
407   </function>
408
409   <function name="Uniform4ui" alias="Uniform4uiEXT">
410     <param name="location" type="GLint"/>
411     <param name="x" type="GLuint"/>
412     <param name="y" type="GLuint"/>
413     <param name="z" type="GLuint"/>
414     <param name="w" type="GLuint"/>
415   </function>
416
417   <function name="Uniform1uiv" alias="Uniform1uivEXT">
418     <param name="location" type="GLint"/>
419     <param name="count" type="GLsizei"/>
420     <param name="value" type="const GLuint *"/>
421   </function>
422
423   <function name="Uniform2uiv" alias="Uniform2uivEXT">
424     <param name="location" type="GLint"/>
425     <param name="count" type="GLsizei"/>
426     <param name="value" type="const GLuint *"/>
427   </function>
428
429   <function name="Uniform3uiv" alias="Uniform3uivEXT">
430     <param name="location" type="GLint"/>
431     <param name="count" type="GLsizei"/>
432     <param name="value" type="const GLuint *"/>
433   </function>
434
435   <function name="Uniform4uiv" alias="Uniform4uivEXT">
436     <param name="location" type="GLint"/>
437     <param name="count" type="GLsizei"/>
438     <param name="value" type="const GLuint *"/>
439   </function>
440
441   <!-- These functions alias ones from GL_EXT_texture_integer -->
442
443   <function name="TexParameterIiv" alias="TexParameterIivEXT">
444     <param name="target" type="GLenum"/>
445     <param name="pname" type="GLenum"/>
446     <param name="params" type="const GLint *"/>
447   </function>
448
449   <function name="TexParameterIuiv" alias="TexParameterIuivEXT">
450     <param name="target" type="GLenum"/>
451     <param name="pname" type="GLenum"/>
452     <param name="params" type="const GLuint *"/>
453   </function>
454
455   <function name="GetTexParameterIiv" alias="GetTexParameterIivEXT">
456     <param name="target" type="GLenum"/>
457     <param name="pname" type="GLenum"/>
458     <param name="params" type="GLint *"/>
459   </function>
460
461   <function name="GetTexParameterIuiv" alias="GetTexParameterIuivEXT">
462     <param name="target" type="GLenum"/>
463     <param name="pname" type="GLenum"/>
464     <param name="params" type="GLuint *"/>
465   </function>
466
467 </category>
468
469
470 <category name="3.1">
471
472   <enum name="SAMPLER_2D_RECT"                value="0x8B63"/>
473   <enum name="SAMPLER_2D_RECT_SHADOW"         value="0x8B64"/>
474   <enum name="SAMPLER_BUFFER"                 value="0x8DC2"/>
475   <enum name="INT_SAMPLER_2D_RECT"            value="0x8DCD"/>
476   <enum name="INT_SAMPLER_BUFFER"             value="0x8DD0"/>
477   <enum name="UNSIGNED_INT_SAMPLER_2D_RECT"   value="0x8DD5"/>
478   <enum name="UNSIGNED_INT_SAMPLER_BUFFER"    value="0x8DD8"/>
479   <enum name="TEXTURE_BUFFER"                 value="0x8C2A"/>
480   <enum name="MAX_TEXTURE_BUFFER_SIZE"        value="0x8C2B"/>
481   <enum name="TEXTURE_BINDING_BUFFER"         value="0x8C2C"/>
482   <enum name="TEXTURE_BUFFER_DATA_STORE_BINDING" value="0x8C2D"/>
483   <enum name="TEXTURE_BUFFER_FORMAT"          value="0x8C2E"/>
484   <enum name="TEXTURE_RECTANGLE"              value="0x84F5"/>
485   <enum name="TEXTURE_BINDING_RECTANGLE"      value="0x84F6"/>
486   <enum name="PROXY_TEXTURE_RECTANGLE"        value="0x84F7"/>
487   <enum name="MAX_RECTANGLE_TEXTURE_SIZE"     value="0x84F8"/>
488   <enum name="RED_SNORM"                      value="0x8F90"/>
489   <enum name="RG_SNORM"                       value="0x8F91"/>
490   <enum name="RGB_SNORM"                      value="0x8F92"/>
491   <enum name="RGBA_SNORM"                     value="0x8F93"/>
492   <enum name="R8_SNORM"                       value="0x8F94"/>
493   <enum name="RG8_SNORM"                      value="0x8F95"/>
494   <enum name="RGB8_SNORM"                     value="0x8F96"/>
495   <enum name="RGBA8_SNORM"                    value="0x8F97"/>
496   <enum name="R16_SNORM"                      value="0x8F98"/>
497   <enum name="RG16_SNORM"                     value="0x8F99"/>
498   <enum name="RGB16_SNORM"                    value="0x8F9A"/>
499   <enum name="RGBA16_SNORM"                   value="0x8F9B"/>
500   <enum name="SIGNED_NORMALIZED"              value="0x8F9C"/>
501   <enum name="PRIMITIVE_RESTART"              value="0x8F9D"/>
502   <enum name="PRIMITIVE_RESTART_INDEX"        value="0x8F9E"/>
503
504   <function name="DrawArraysInstanced" alias="DrawArraysInstancedARB">
505     <param name="mode" type="GLenum"/>
506     <param name="first" type="GLint"/>
507     <param name="count" type="GLsizei"/>
508     <param name="primcount" type="GLsizei"/>
509   </function>
510
511   <function name="DrawElementsInstanced" alias="DrawElementsInstancedARB">
512     <param name="mode" type="GLenum"/>
513     <param name="count" type="GLsizei"/>
514     <param name="type" type="GLenum"/>
515     <param name="indices" type="const GLvoid *"/>
516     <param name="primcount" type="GLsizei"/>
517   </function>
518
519   <function name="TexBuffer" offset="assign">
520     <param name="target" type="GLenum"/>
521     <param name="internalFormat" type="GLenum"/>
522     <param name="buffer" type="GLuint"/>
523   </function>
524
525   <function name="PrimitiveRestartIndex" alias="PrimitiveRestartIndexNV">
526     <param name="index" type="GLuint"/>
527   </function>
528
529 </category>
530
531
532 <category name="3.2">
533
534   <enum name="CONTEXT_CORE_PROFILE_BIT"             value="0x00000001"/>
535   <enum name="CONTEXT_COMPATIBILITY_PROFILE_BIT"    value="0x00000002"/>
536   <enum name="LINES_ADJACENCY"                      value="0x000A"/>
537   <enum name="LINE_STRIP_ADJACENCY"                 value="0x000B"/>
538   <enum name="TRIANGLES_ADJACENCY"                  value="0x000C"/>
539   <enum name="TRIANGLE_STRIP_ADJACENCY"             value="0x000D"/>
540   <enum name="PROGRAM_POINT_SIZE"                   value="0x8642"/>
541   <enum name="MAX_GEOMETRY_TEXTURE_IMAGE_UNITS"     value="0x8C29"/>
542   <enum name="FRAMEBUFFER_ATTACHMENT_LAYERED"       value="0x8DA7"/>
543   <enum name="FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS" value="0x8DA8"/>
544   <enum name="GEOMETRY_SHADER"                      value="0x8DD9"/>
545   <enum name="GEOMETRY_VERTICES_OUT"                value="0x8916"/>
546   <enum name="GEOMETRY_INPUT_TYPE"                  value="0x8917"/>
547   <enum name="GEOMETRY_OUTPUT_TYPE"                 value="0x8918"/>
548   <enum name="MAX_GEOMETRY_UNIFORM_COMPONENTS"      value="0x8DDF"/>
549   <enum name="MAX_GEOMETRY_OUTPUT_VERTICES"         value="0x8DE0"/>
550   <enum name="MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS" value="0x8DE1"/>
551   <enum name="MAX_VERTEX_OUTPUT_COMPONENTS"         value="0x9122"/>
552   <enum name="MAX_GEOMETRY_INPUT_COMPONENTS"        value="0x9123"/>
553   <enum name="MAX_GEOMETRY_OUTPUT_COMPONENTS"       value="0x9124"/>
554   <enum name="MAX_FRAGMENT_INPUT_COMPONENTS"        value="0x9125"/>
555   <enum name="CONTEXT_PROFILE_MASK"                 value="0x9126"/>
556
557   <function name="GetInteger64i_v" offset="assign">
558     <param name="cap" type="GLenum"/>
559     <param name="index" type="GLuint"/>
560     <param name="data" type="GLint64 *"/>
561   </function>
562
563   <function name="GetBufferParameteri64v" offset="assign">
564     <param name="target" type="GLenum"/>
565     <param name="pname" type="GLenum"/>
566     <param name="params" type="GLint64 *"/>
567   </function>
568
569   <function name="FramebufferTexture" offset="assign">
570     <param name="target" type="GLenum"/>
571     <param name="attachment" type="GLenum"/>
572     <param name="texture" type="GLuint"/>
573     <param name="level" type="GLint"/>
574   </function>
575
576 </category>
577
578
579 <category name="3.3">
580   <!-- There are other new functions and tokens defined by other extensions -->
581
582   <function name="VertexAttribDivisor" offset="assign">
583     <param name="index" type="GLuint"/>
584     <param name="divisor" type="GLuint"/>
585   </function>
586
587 </category>
588
589 </OpenGLAPI>