• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2# Copyright (C) 2015 Intel Corporation
3#
4# Permission is hereby granted, free of charge, to any person obtaining a
5# copy of this software and associated documentation files (the "Software"),
6# to deal in the Software without restriction, including without limitation
7# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8# and/or sell copies of the Software, and to permit persons to whom the
9# Software is furnished to do so, subject to the following conditions:
10#
11# The above copyright notice and this permission notice (including the next
12# paragraph) shall be included in all copies or substantial portions of the
13# Software.
14#
15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21# IN THE SOFTWARE.
22
23"""Table of functions that have ABI-mandated offsets in the dispatch table.
24
25This list will never change."""
26offsets = {
27    "NewList": 0,
28    "EndList": 1,
29    "CallList": 2,
30    "CallLists": 3,
31    "DeleteLists": 4,
32    "GenLists": 5,
33    "ListBase": 6,
34    "Begin": 7,
35    "Bitmap": 8,
36    "Color3b": 9,
37    "Color3bv": 10,
38    "Color3d": 11,
39    "Color3dv": 12,
40    "Color3f": 13,
41    "Color3fv": 14,
42    "Color3i": 15,
43    "Color3iv": 16,
44    "Color3s": 17,
45    "Color3sv": 18,
46    "Color3ub": 19,
47    "Color3ubv": 20,
48    "Color3ui": 21,
49    "Color3uiv": 22,
50    "Color3us": 23,
51    "Color3usv": 24,
52    "Color4b": 25,
53    "Color4bv": 26,
54    "Color4d": 27,
55    "Color4dv": 28,
56    "Color4f": 29,
57    "Color4fv": 30,
58    "Color4i": 31,
59    "Color4iv": 32,
60    "Color4s": 33,
61    "Color4sv": 34,
62    "Color4ub": 35,
63    "Color4ubv": 36,
64    "Color4ui": 37,
65    "Color4uiv": 38,
66    "Color4us": 39,
67    "Color4usv": 40,
68    "EdgeFlag": 41,
69    "EdgeFlagv": 42,
70    "End": 43,
71    "Indexd": 44,
72    "Indexdv": 45,
73    "Indexf": 46,
74    "Indexfv": 47,
75    "Indexi": 48,
76    "Indexiv": 49,
77    "Indexs": 50,
78    "Indexsv": 51,
79    "Normal3b": 52,
80    "Normal3bv": 53,
81    "Normal3d": 54,
82    "Normal3dv": 55,
83    "Normal3f": 56,
84    "Normal3fv": 57,
85    "Normal3i": 58,
86    "Normal3iv": 59,
87    "Normal3s": 60,
88    "Normal3sv": 61,
89    "RasterPos2d": 62,
90    "RasterPos2dv": 63,
91    "RasterPos2f": 64,
92    "RasterPos2fv": 65,
93    "RasterPos2i": 66,
94    "RasterPos2iv": 67,
95    "RasterPos2s": 68,
96    "RasterPos2sv": 69,
97    "RasterPos3d": 70,
98    "RasterPos3dv": 71,
99    "RasterPos3f": 72,
100    "RasterPos3fv": 73,
101    "RasterPos3i": 74,
102    "RasterPos3iv": 75,
103    "RasterPos3s": 76,
104    "RasterPos3sv": 77,
105    "RasterPos4d": 78,
106    "RasterPos4dv": 79,
107    "RasterPos4f": 80,
108    "RasterPos4fv": 81,
109    "RasterPos4i": 82,
110    "RasterPos4iv": 83,
111    "RasterPos4s": 84,
112    "RasterPos4sv": 85,
113    "Rectd": 86,
114    "Rectdv": 87,
115    "Rectf": 88,
116    "Rectfv": 89,
117    "Recti": 90,
118    "Rectiv": 91,
119    "Rects": 92,
120    "Rectsv": 93,
121    "TexCoord1d": 94,
122    "TexCoord1dv": 95,
123    "TexCoord1f": 96,
124    "TexCoord1fv": 97,
125    "TexCoord1i": 98,
126    "TexCoord1iv": 99,
127    "TexCoord1s": 100,
128    "TexCoord1sv": 101,
129    "TexCoord2d": 102,
130    "TexCoord2dv": 103,
131    "TexCoord2f": 104,
132    "TexCoord2fv": 105,
133    "TexCoord2i": 106,
134    "TexCoord2iv": 107,
135    "TexCoord2s": 108,
136    "TexCoord2sv": 109,
137    "TexCoord3d": 110,
138    "TexCoord3dv": 111,
139    "TexCoord3f": 112,
140    "TexCoord3fv": 113,
141    "TexCoord3i": 114,
142    "TexCoord3iv": 115,
143    "TexCoord3s": 116,
144    "TexCoord3sv": 117,
145    "TexCoord4d": 118,
146    "TexCoord4dv": 119,
147    "TexCoord4f": 120,
148    "TexCoord4fv": 121,
149    "TexCoord4i": 122,
150    "TexCoord4iv": 123,
151    "TexCoord4s": 124,
152    "TexCoord4sv": 125,
153    "Vertex2d": 126,
154    "Vertex2dv": 127,
155    "Vertex2f": 128,
156    "Vertex2fv": 129,
157    "Vertex2i": 130,
158    "Vertex2iv": 131,
159    "Vertex2s": 132,
160    "Vertex2sv": 133,
161    "Vertex3d": 134,
162    "Vertex3dv": 135,
163    "Vertex3f": 136,
164    "Vertex3fv": 137,
165    "Vertex3i": 138,
166    "Vertex3iv": 139,
167    "Vertex3s": 140,
168    "Vertex3sv": 141,
169    "Vertex4d": 142,
170    "Vertex4dv": 143,
171    "Vertex4f": 144,
172    "Vertex4fv": 145,
173    "Vertex4i": 146,
174    "Vertex4iv": 147,
175    "Vertex4s": 148,
176    "Vertex4sv": 149,
177    "ClipPlane": 150,
178    "ColorMaterial": 151,
179    "CullFace": 152,
180    "Fogf": 153,
181    "Fogfv": 154,
182    "Fogi": 155,
183    "Fogiv": 156,
184    "FrontFace": 157,
185    "Hint": 158,
186    "Lightf": 159,
187    "Lightfv": 160,
188    "Lighti": 161,
189    "Lightiv": 162,
190    "LightModelf": 163,
191    "LightModelfv": 164,
192    "LightModeli": 165,
193    "LightModeliv": 166,
194    "LineStipple": 167,
195    "LineWidth": 168,
196    "Materialf": 169,
197    "Materialfv": 170,
198    "Materiali": 171,
199    "Materialiv": 172,
200    "PointSize": 173,
201    "PolygonMode": 174,
202    "PolygonStipple": 175,
203    "Scissor": 176,
204    "ShadeModel": 177,
205    "TexParameterf": 178,
206    "TexParameterfv": 179,
207    "TexParameteri": 180,
208    "TexParameteriv": 181,
209    "TexImage1D": 182,
210    "TexImage2D": 183,
211    "TexEnvf": 184,
212    "TexEnvfv": 185,
213    "TexEnvi": 186,
214    "TexEnviv": 187,
215    "TexGend": 188,
216    "TexGendv": 189,
217    "TexGenf": 190,
218    "TexGenfv": 191,
219    "TexGeni": 192,
220    "TexGeniv": 193,
221    "FeedbackBuffer": 194,
222    "SelectBuffer": 195,
223    "RenderMode": 196,
224    "InitNames": 197,
225    "LoadName": 198,
226    "PassThrough": 199,
227    "PopName": 200,
228    "PushName": 201,
229    "DrawBuffer": 202,
230    "Clear": 203,
231    "ClearAccum": 204,
232    "ClearIndex": 205,
233    "ClearColor": 206,
234    "ClearStencil": 207,
235    "ClearDepth": 208,
236    "StencilMask": 209,
237    "ColorMask": 210,
238    "DepthMask": 211,
239    "IndexMask": 212,
240    "Accum": 213,
241    "Disable": 214,
242    "Enable": 215,
243    "Finish": 216,
244    "Flush": 217,
245    "PopAttrib": 218,
246    "PushAttrib": 219,
247    "Map1d": 220,
248    "Map1f": 221,
249    "Map2d": 222,
250    "Map2f": 223,
251    "MapGrid1d": 224,
252    "MapGrid1f": 225,
253    "MapGrid2d": 226,
254    "MapGrid2f": 227,
255    "EvalCoord1d": 228,
256    "EvalCoord1dv": 229,
257    "EvalCoord1f": 230,
258    "EvalCoord1fv": 231,
259    "EvalCoord2d": 232,
260    "EvalCoord2dv": 233,
261    "EvalCoord2f": 234,
262    "EvalCoord2fv": 235,
263    "EvalMesh1": 236,
264    "EvalPoint1": 237,
265    "EvalMesh2": 238,
266    "EvalPoint2": 239,
267    "AlphaFunc": 240,
268    "BlendFunc": 241,
269    "LogicOp": 242,
270    "StencilFunc": 243,
271    "StencilOp": 244,
272    "DepthFunc": 245,
273    "PixelZoom": 246,
274    "PixelTransferf": 247,
275    "PixelTransferi": 248,
276    "PixelStoref": 249,
277    "PixelStorei": 250,
278    "PixelMapfv": 251,
279    "PixelMapuiv": 252,
280    "PixelMapusv": 253,
281    "ReadBuffer": 254,
282    "CopyPixels": 255,
283    "ReadPixels": 256,
284    "DrawPixels": 257,
285    "GetBooleanv": 258,
286    "GetClipPlane": 259,
287    "GetDoublev": 260,
288    "GetError": 261,
289    "GetFloatv": 262,
290    "GetIntegerv": 263,
291    "GetLightfv": 264,
292    "GetLightiv": 265,
293    "GetMapdv": 266,
294    "GetMapfv": 267,
295    "GetMapiv": 268,
296    "GetMaterialfv": 269,
297    "GetMaterialiv": 270,
298    "GetPixelMapfv": 271,
299    "GetPixelMapuiv": 272,
300    "GetPixelMapusv": 273,
301    "GetPolygonStipple": 274,
302    "GetString": 275,
303    "GetTexEnvfv": 276,
304    "GetTexEnviv": 277,
305    "GetTexGendv": 278,
306    "GetTexGenfv": 279,
307    "GetTexGeniv": 280,
308    "GetTexImage": 281,
309    "GetTexParameterfv": 282,
310    "GetTexParameteriv": 283,
311    "GetTexLevelParameterfv": 284,
312    "GetTexLevelParameteriv": 285,
313    "IsEnabled": 286,
314    "IsList": 287,
315    "DepthRange": 288,
316    "Frustum": 289,
317    "LoadIdentity": 290,
318    "LoadMatrixf": 291,
319    "LoadMatrixd": 292,
320    "MatrixMode": 293,
321    "MultMatrixf": 294,
322    "MultMatrixd": 295,
323    "Ortho": 296,
324    "PopMatrix": 297,
325    "PushMatrix": 298,
326    "Rotated": 299,
327    "Rotatef": 300,
328    "Scaled": 301,
329    "Scalef": 302,
330    "Translated": 303,
331    "Translatef": 304,
332    "Viewport": 305,
333    "ArrayElement": 306,
334    "ColorPointer": 308,
335    "DisableClientState": 309,
336    "DrawArrays": 310,
337    "DrawElements": 311,
338    "EdgeFlagPointer": 312,
339    "EnableClientState": 313,
340    "GetPointerv": 329,
341    "IndexPointer": 314,
342    "InterleavedArrays": 317,
343    "NormalPointer": 318,
344    "TexCoordPointer": 320,
345    "VertexPointer": 321,
346    "PolygonOffset": 319,
347    "CopyTexImage1D": 323,
348    "CopyTexImage2D": 324,
349    "CopyTexSubImage1D": 325,
350    "CopyTexSubImage2D": 326,
351    "TexSubImage1D": 332,
352    "TexSubImage2D": 333,
353    "AreTexturesResident": 322,
354    "BindTexture": 307,
355    "DeleteTextures": 327,
356    "GenTextures": 328,
357    "IsTexture": 330,
358    "PrioritizeTextures": 331,
359    "Indexub": 315,
360    "Indexubv": 316,
361    "PopClientAttrib": 334,
362    "PushClientAttrib": 335,
363    "BlendColor": 336,
364    "BlendEquation": 337,
365    "DrawRangeElements": 338,
366    "ColorTable": 339,
367    "ColorTableParameterfv": 340,
368    "ColorTableParameteriv": 341,
369    "CopyColorTable": 342,
370    "GetColorTable": 343,
371    "GetColorTableParameterfv": 344,
372    "GetColorTableParameteriv": 345,
373    "ColorSubTable": 346,
374    "CopyColorSubTable": 347,
375    "ConvolutionFilter1D": 348,
376    "ConvolutionFilter2D": 349,
377    "ConvolutionParameterf": 350,
378    "ConvolutionParameterfv": 351,
379    "ConvolutionParameteri": 352,
380    "ConvolutionParameteriv": 353,
381    "CopyConvolutionFilter1D": 354,
382    "CopyConvolutionFilter2D": 355,
383    "GetConvolutionFilter": 356,
384    "GetConvolutionParameterfv": 357,
385    "GetConvolutionParameteriv": 358,
386    "GetSeparableFilter": 359,
387    "SeparableFilter2D": 360,
388    "GetHistogram": 361,
389    "GetHistogramParameterfv": 362,
390    "GetHistogramParameteriv": 363,
391    "GetMinmax": 364,
392    "GetMinmaxParameterfv": 365,
393    "GetMinmaxParameteriv": 366,
394    "Histogram": 367,
395    "Minmax": 368,
396    "ResetHistogram": 369,
397    "ResetMinmax": 370,
398    "TexImage3D": 371,
399    "TexSubImage3D": 372,
400    "CopyTexSubImage3D": 373,
401    "ActiveTexture": 374,
402    "ClientActiveTexture": 375,
403    "MultiTexCoord1d": 376,
404    "MultiTexCoord1dv": 377,
405    "MultiTexCoord1fARB": 378,
406    "MultiTexCoord1fvARB": 379,
407    "MultiTexCoord1i": 380,
408    "MultiTexCoord1iv": 381,
409    "MultiTexCoord1s": 382,
410    "MultiTexCoord1sv": 383,
411    "MultiTexCoord2d": 384,
412    "MultiTexCoord2dv": 385,
413    "MultiTexCoord2fARB": 386,
414    "MultiTexCoord2fvARB": 387,
415    "MultiTexCoord2i": 388,
416    "MultiTexCoord2iv": 389,
417    "MultiTexCoord2s": 390,
418    "MultiTexCoord2sv": 391,
419    "MultiTexCoord3d": 392,
420    "MultiTexCoord3dv": 393,
421    "MultiTexCoord3fARB": 394,
422    "MultiTexCoord3fvARB": 395,
423    "MultiTexCoord3i": 396,
424    "MultiTexCoord3iv": 397,
425    "MultiTexCoord3s": 398,
426    "MultiTexCoord3sv": 399,
427    "MultiTexCoord4d": 400,
428    "MultiTexCoord4dv": 401,
429    "MultiTexCoord4fARB": 402,
430    "MultiTexCoord4fvARB": 403,
431    "MultiTexCoord4i": 404,
432    "MultiTexCoord4iv": 405,
433    "MultiTexCoord4s": 406,
434    "MultiTexCoord4sv": 407
435}
436
437functions = [
438    "Accum",
439    "ActiveShaderProgram",
440    "ActiveTexture",
441    "ActiveTextureARB",
442    "AlphaFunc",
443    "AlphaFuncx",
444    "AreTexturesResident",
445    "AreTexturesResidentEXT",
446    "ArrayElement",
447    "ArrayElementEXT",
448    "AttachObjectARB",
449    "AttachShader",
450    "Begin",
451    "BeginConditionalRender",
452    "BeginConditionalRenderNV",
453    "BeginQuery",
454    "BeginQueryARB",
455    "BeginQueryIndexed",
456    "BeginTransformFeedback",
457    "BindAttribLocation",
458    "BindAttribLocationARB",
459    "BindBuffer",
460    "BindBufferARB",
461    "BindBufferBase",
462    "BindBufferRange",
463    "BindBuffersBase",
464    "BindBuffersRange",
465    "BindFragDataLocation",
466    "BindFragDataLocationEXT",
467    "BindFragDataLocationIndexed",
468    "BindFramebuffer",
469    "BindFramebufferEXT",
470    "BindImageTexture",
471    "BindImageTextures",
472    "BindProgramARB",
473    "BindProgramPipeline",
474    "BindRenderbuffer",
475    "BindRenderbufferEXT",
476    "BindSampler",
477    "BindSamplers",
478    "BindTexture",
479    "BindTextureEXT",
480    "BindTextures",
481    "BindTransformFeedback",
482    "BindVertexArray",
483    "BindVertexBuffer",
484    "BindVertexBuffers",
485    "Bitmap",
486    "BlendBarrier",
487    "BlendColor",
488    "BlendColorEXT",
489    "BlendEquation",
490    "BlendEquationEXT",
491    "BlendEquationi",
492    "BlendEquationiARB",
493    "BlendEquationSeparate",
494    "BlendEquationSeparatei",
495    "BlendEquationSeparateiARB",
496    "BlendFunc",
497    "BlendFunci",
498    "BlendFunciARB",
499    "BlendFuncSeparate",
500    "BlendFuncSeparateEXT",
501    "BlendFuncSeparatei",
502    "BlendFuncSeparateiARB",
503    "BlitFramebuffer",
504    "BufferData",
505    "BufferDataARB",
506    "BufferStorage",
507    "BufferSubData",
508    "BufferSubDataARB",
509    "CallList",
510    "CallLists",
511    "CheckFramebufferStatus",
512    "CheckFramebufferStatusEXT",
513    "ClampColor",
514    "ClampColorARB",
515    "Clear",
516    "ClearAccum",
517    "ClearBufferData",
518    "ClearBufferfi",
519    "ClearBufferfv",
520    "ClearBufferiv",
521    "ClearBufferSubData",
522    "ClearBufferuiv",
523    "ClearColor",
524    "ClearColorIiEXT",
525    "ClearColorIuiEXT",
526    "ClearColorx",
527    "ClearDepth",
528    "ClearDepthf",
529    "ClearDepthx",
530    "ClearIndex",
531    "ClearStencil",
532    "ClearTexImage",
533    "ClearTexSubImage",
534    "ClientActiveTexture",
535    "ClientActiveTextureARB",
536    "ClientWaitSync",
537    "ClipPlane",
538    "ClipPlanef",
539    "ClipPlanex",
540    "Color3b",
541    "Color3bv",
542    "Color3d",
543    "Color3dv",
544    "Color3f",
545    "Color3fv",
546    "Color3i",
547    "Color3iv",
548    "Color3s",
549    "Color3sv",
550    "Color3ub",
551    "Color3ubv",
552    "Color3ui",
553    "Color3uiv",
554    "Color3us",
555    "Color3usv",
556    "Color4b",
557    "Color4bv",
558    "Color4d",
559    "Color4dv",
560    "Color4f",
561    "Color4fv",
562    "Color4i",
563    "Color4iv",
564    "Color4s",
565    "Color4sv",
566    "Color4ub",
567    "Color4ubv",
568    "Color4ui",
569    "Color4uiv",
570    "Color4us",
571    "Color4usv",
572    "Color4x",
573    "ColorMask",
574    "ColorMaski",
575    "ColorMaskIndexedEXT",
576    "ColorMaterial",
577    "ColorP3ui",
578    "ColorP3uiv",
579    "ColorP4ui",
580    "ColorP4uiv",
581    "ColorPointer",
582    "ColorPointerEXT",
583    "ColorSubTable",
584    "ColorTable",
585    "ColorTableParameterfv",
586    "ColorTableParameteriv",
587    "CompileShader",
588    "CompileShaderARB",
589    "CompressedTexImage1D",
590    "CompressedTexImage1DARB",
591    "CompressedTexImage2D",
592    "CompressedTexImage2DARB",
593    "CompressedTexImage3D",
594    "CompressedTexImage3DARB",
595    "CompressedTexSubImage1D",
596    "CompressedTexSubImage1DARB",
597    "CompressedTexSubImage2D",
598    "CompressedTexSubImage2DARB",
599    "CompressedTexSubImage3D",
600    "CompressedTexSubImage3DARB",
601    "ConvolutionFilter1D",
602    "ConvolutionFilter2D",
603    "ConvolutionParameterf",
604    "ConvolutionParameterfv",
605    "ConvolutionParameteri",
606    "ConvolutionParameteriv",
607    "CopyBufferSubData",
608    "CopyColorSubTable",
609    "CopyColorTable",
610    "CopyConvolutionFilter1D",
611    "CopyConvolutionFilter2D",
612    "CopyImageSubData",
613    "CopyPixels",
614    "CopyTexImage1D",
615    "CopyTexImage2D",
616    "CopyTexSubImage1D",
617    "CopyTexSubImage2D",
618    "CopyTexSubImage3D",
619    "CopyTexSubImage3DEXT",
620    "CreateProgram",
621    "CreateProgramObjectARB",
622    "CreateShader",
623    "CreateShaderObjectARB",
624    "CreateShaderProgramv",
625    "CullFace",
626    "DebugMessageCallback",
627    "DebugMessageCallbackARB",
628    "DebugMessageControl",
629    "DebugMessageControlARB",
630    "DebugMessageInsert",
631    "DebugMessageInsertARB",
632    "DeleteBuffers",
633    "DeleteBuffersARB",
634    "DeleteFramebuffers",
635    "DeleteFramebuffersEXT",
636    "DeleteLists",
637    "DeleteObjectARB",
638    "DeleteProgram",
639    "DeleteProgramPipelines",
640    "DeleteProgramsARB",
641    "DeleteQueries",
642    "DeleteQueriesARB",
643    "DeleteRenderbuffers",
644    "DeleteRenderbuffersEXT",
645    "DeleteSamplers",
646    "DeleteShader",
647    "DeleteSync",
648    "DeleteTextures",
649    "DeleteTexturesEXT",
650    "DeleteTransformFeedbacks",
651    "DeleteVertexArrays",
652    "DepthFunc",
653    "DepthMask",
654    "DepthRange",
655    "DepthRangeArrayv",
656    "DepthRangef",
657    "DepthRangeIndexed",
658    "DepthRangex",
659    "DetachObjectARB",
660    "DetachShader",
661    "Disable",
662    "DisableClientState",
663    "Disablei",
664    "DisableIndexedEXT",
665    "DisableVertexAttribArray",
666    "DisableVertexAttribArrayARB",
667    "DispatchCompute",
668    "DispatchComputeIndirect",
669    "DrawArrays",
670    "DrawArraysEXT",
671    "DrawArraysIndirect",
672    "DrawArraysInstanced",
673    "DrawArraysInstancedARB",
674    "DrawArraysInstancedBaseInstance",
675    "DrawArraysInstancedEXT",
676    "DrawBuffer",
677    "DrawBuffers",
678    "DrawBuffersARB",
679    "DrawBuffersATI",
680    "DrawElements",
681    "DrawElementsBaseVertex",
682    "DrawElementsIndirect",
683    "DrawElementsInstanced",
684    "DrawElementsInstancedARB",
685    "DrawElementsInstancedBaseInstance",
686    "DrawElementsInstancedBaseVertex",
687    "DrawElementsInstancedBaseVertexBaseInstance",
688    "DrawElementsInstancedEXT",
689    "DrawPixels",
690    "DrawRangeElements",
691    "DrawRangeElementsBaseVertex",
692    "DrawRangeElementsEXT",
693    "DrawTransformFeedback",
694    "DrawTransformFeedbackInstanced",
695    "DrawTransformFeedbackStream",
696    "DrawTransformFeedbackStreamInstanced",
697    "EdgeFlag",
698    "EdgeFlagPointer",
699    "EdgeFlagPointerEXT",
700    "EdgeFlagv",
701    "Enable",
702    "EnableClientState",
703    "Enablei",
704    "EnableIndexedEXT",
705    "EnableVertexAttribArray",
706    "EnableVertexAttribArrayARB",
707    "End",
708    "EndConditionalRender",
709    "EndConditionalRenderNV",
710    "EndList",
711    "EndQuery",
712    "EndQueryARB",
713    "EndQueryIndexed",
714    "EndTransformFeedback",
715    "EvalCoord1d",
716    "EvalCoord1dv",
717    "EvalCoord1f",
718    "EvalCoord1fv",
719    "EvalCoord2d",
720    "EvalCoord2dv",
721    "EvalCoord2f",
722    "EvalCoord2fv",
723    "EvalMesh1",
724    "EvalMesh2",
725    "EvalPoint1",
726    "EvalPoint2",
727    "FeedbackBuffer",
728    "FenceSync",
729    "Finish",
730    "Flush",
731    "FlushMappedBufferRange",
732    "FogCoordd",
733    "FogCoorddEXT",
734    "FogCoorddv",
735    "FogCoorddvEXT",
736    "FogCoordf",
737    "FogCoordfEXT",
738    "FogCoordfv",
739    "FogCoordfvEXT",
740    "FogCoordPointer",
741    "FogCoordPointerEXT",
742    "Fogf",
743    "Fogfv",
744    "Fogi",
745    "Fogiv",
746    "Fogx",
747    "Fogxv",
748    "FramebufferParameteri",
749    "FramebufferRenderbuffer",
750    "FramebufferRenderbufferEXT",
751    "FramebufferTexture",
752    "FramebufferTexture1D",
753    "FramebufferTexture1DEXT",
754    "FramebufferTexture2D",
755    "FramebufferTexture2DEXT",
756    "FramebufferTexture3D",
757    "FramebufferTexture3DEXT",
758    "FramebufferTextureARB",
759    "FramebufferTextureLayer",
760    "FramebufferTextureLayerARB",
761    "FramebufferTextureLayerEXT",
762    "FrontFace",
763    "Frustum",
764    "Frustumf",
765    "Frustumx",
766    "GenBuffers",
767    "GenBuffersARB",
768    "GenerateMipmap",
769    "GenerateMipmapEXT",
770    "GenFramebuffers",
771    "GenFramebuffersEXT",
772    "GenLists",
773    "GenProgramPipelines",
774    "GenProgramsARB",
775    "GenQueries",
776    "GenQueriesARB",
777    "GenRenderbuffers",
778    "GenRenderbuffersEXT",
779    "GenSamplers",
780    "GenTextures",
781    "GenTexturesEXT",
782    "GenTransformFeedbacks",
783    "GenVertexArrays",
784    "GetActiveAtomicCounterBufferiv",
785    "GetActiveAttrib",
786    "GetActiveAttribARB",
787    "GetActiveUniform",
788    "GetActiveUniformARB",
789    "GetActiveUniformBlockiv",
790    "GetActiveUniformBlockName",
791    "GetActiveUniformName",
792    "GetActiveUniformsiv",
793    "GetAttachedObjectsARB",
794    "GetAttachedShaders",
795    "GetAttribLocation",
796    "GetAttribLocationARB",
797    "GetBooleani_v",
798    "GetBooleanIndexedvEXT",
799    "GetBooleanv",
800    "GetBufferParameteri64v",
801    "GetBufferParameteriv",
802    "GetBufferParameterivARB",
803    "GetBufferPointerv",
804    "GetBufferPointervARB",
805    "GetBufferSubData",
806    "GetBufferSubDataARB",
807    "GetClipPlane",
808    "GetClipPlanef",
809    "GetClipPlanex",
810    "GetColorTable",
811    "GetColorTableParameterfv",
812    "GetColorTableParameteriv",
813    "GetCompressedTexImage",
814    "GetCompressedTexImageARB",
815    "GetConvolutionFilter",
816    "GetConvolutionParameterfv",
817    "GetConvolutionParameteriv",
818    "GetDebugMessageLog",
819    "GetDebugMessageLogARB",
820    "GetDoublei_v",
821    "GetDoublev",
822    "GetError",
823    "GetFixedv",
824    "GetFloati_v",
825    "GetFloatv",
826    "GetFragDataIndex",
827    "GetFragDataLocation",
828    "GetFragDataLocationEXT",
829    "GetFramebufferAttachmentParameteriv",
830    "GetFramebufferAttachmentParameterivEXT",
831    "GetFramebufferParameteriv",
832    "GetGraphicsResetStatus",
833    "GetGraphicsResetStatusARB",
834    "GetHandleARB",
835    "GetHistogram",
836    "GetHistogramParameterfv",
837    "GetHistogramParameteriv",
838    "GetInfoLogARB",
839    "GetInteger64i_v",
840    "GetInteger64v",
841    "GetIntegeri_v",
842    "GetIntegerIndexedvEXT",
843    "GetIntegerv",
844    "GetLightfv",
845    "GetLightiv",
846    "GetLightxv",
847    "GetMapdv",
848    "GetMapfv",
849    "GetMapiv",
850    "GetMaterialfv",
851    "GetMaterialiv",
852    "GetMaterialxv",
853    "GetMinmax",
854    "GetMinmaxParameterfv",
855    "GetMinmaxParameteriv",
856    "GetMultisamplefv",
857    "GetnColorTableARB",
858    "GetnCompressedTexImageARB",
859    "GetnConvolutionFilterARB",
860    "GetnHistogramARB",
861    "GetnMapdvARB",
862    "GetnMapfvARB",
863    "GetnMapivARB",
864    "GetnMinmaxARB",
865    "GetnPixelMapfvARB",
866    "GetnPixelMapuivARB",
867    "GetnPixelMapusvARB",
868    "GetnPolygonStippleARB",
869    "GetnSeparableFilterARB",
870    "GetnTexImageARB",
871    "GetnUniformdvARB",
872    "GetnUniformfv",
873    "GetnUniformfvARB",
874    "GetnUniformiv",
875    "GetnUniformivARB",
876    "GetnUniformuiv",
877    "GetnUniformuivARB",
878    "GetObjectLabel",
879    "GetObjectParameterfvARB",
880    "GetObjectParameterivARB",
881    "GetObjectPtrLabel",
882    "GetPixelMapfv",
883    "GetPixelMapuiv",
884    "GetPixelMapusv",
885    "GetPointerv",
886    "GetPointervEXT",
887    "GetPolygonStipple",
888    "GetProgramBinary",
889    "GetProgramEnvParameterdvARB",
890    "GetProgramEnvParameterfvARB",
891    "GetProgramInfoLog",
892    "GetProgramInterfaceiv",
893    "GetProgramiv",
894    "GetProgramivARB",
895    "GetProgramLocalParameterdvARB",
896    "GetProgramLocalParameterfvARB",
897    "GetProgramPipelineInfoLog",
898    "GetProgramPipelineiv",
899    "GetProgramResourceIndex",
900    "GetProgramResourceiv",
901    "GetProgramResourceLocation",
902    "GetProgramResourceName",
903    "GetProgramStringARB",
904    "GetQueryIndexediv",
905    "GetQueryiv",
906    "GetQueryivARB",
907    "GetQueryObjectiv",
908    "GetQueryObjectivARB",
909    "GetQueryObjectuiv",
910    "GetQueryObjectuivARB",
911    "GetRenderbufferParameteriv",
912    "GetRenderbufferParameterivEXT",
913    "GetSamplerParameterfv",
914    "GetSamplerParameterIiv",
915    "GetSamplerParameterIuiv",
916    "GetSamplerParameteriv",
917    "GetSeparableFilter",
918    "GetShaderInfoLog",
919    "GetShaderiv",
920    "GetShaderPrecisionFormat",
921    "GetShaderSource",
922    "GetShaderSourceARB",
923    "GetString",
924    "GetStringi",
925    "GetSynciv",
926    "GetTexEnvfv",
927    "GetTexEnviv",
928    "GetTexEnvxv",
929    "GetTexGendv",
930    "GetTexGenfv",
931    "GetTexGeniv",
932    "GetTexImage",
933    "GetTexLevelParameterfv",
934    "GetTexLevelParameteriv",
935    "GetTexParameterfv",
936    "GetTexParameterIiv",
937    "GetTexParameterIivEXT",
938    "GetTexParameterIuiv",
939    "GetTexParameterIuivEXT",
940    "GetTexParameteriv",
941    "GetTexParameterxv",
942    "GetTransformFeedbackVarying",
943    "GetUniformBlockIndex",
944    "GetUniformfv",
945    "GetUniformfvARB",
946    "GetUniformIndices",
947    "GetUniformiv",
948    "GetUniformivARB",
949    "GetUniformLocation",
950    "GetUniformLocationARB",
951    "GetUniformuiv",
952    "GetUniformuivEXT",
953    "GetVertexAttribdv",
954    "GetVertexAttribdvARB",
955    "GetVertexAttribfv",
956    "GetVertexAttribfvARB",
957    "GetVertexAttribIiv",
958    "GetVertexAttribIivEXT",
959    "GetVertexAttribIuiv",
960    "GetVertexAttribIuivEXT",
961    "GetVertexAttribiv",
962    "GetVertexAttribivARB",
963    "GetVertexAttribPointerv",
964    "GetVertexAttribPointervARB",
965    "Hint",
966    "Histogram",
967    "Indexd",
968    "Indexdv",
969    "Indexf",
970    "Indexfv",
971    "Indexi",
972    "Indexiv",
973    "IndexMask",
974    "IndexPointer",
975    "IndexPointerEXT",
976    "Indexs",
977    "Indexsv",
978    "Indexub",
979    "Indexubv",
980    "InitNames",
981    "InterleavedArrays",
982    "InvalidateBufferData",
983    "InvalidateBufferSubData",
984    "InvalidateFramebuffer",
985    "InvalidateSubFramebuffer",
986    "InvalidateTexImage",
987    "InvalidateTexSubImage",
988    "IsBuffer",
989    "IsBufferARB",
990    "IsEnabled",
991    "IsEnabledi",
992    "IsEnabledIndexedEXT",
993    "IsFramebuffer",
994    "IsFramebufferEXT",
995    "IsList",
996    "IsProgram",
997    "IsProgramARB",
998    "IsProgramPipeline",
999    "IsQuery",
1000    "IsQueryARB",
1001    "IsRenderbuffer",
1002    "IsRenderbufferEXT",
1003    "IsSampler",
1004    "IsShader",
1005    "IsSync",
1006    "IsTexture",
1007    "IsTextureEXT",
1008    "IsTransformFeedback",
1009    "IsVertexArray",
1010    "Lightf",
1011    "Lightfv",
1012    "Lighti",
1013    "Lightiv",
1014    "LightModelf",
1015    "LightModelfv",
1016    "LightModeli",
1017    "LightModeliv",
1018    "LightModelx",
1019    "LightModelxv",
1020    "Lightx",
1021    "Lightxv",
1022    "LineStipple",
1023    "LineWidth",
1024    "LineWidthx",
1025    "LinkProgram",
1026    "LinkProgramARB",
1027    "ListBase",
1028    "LoadIdentity",
1029    "LoadMatrixd",
1030    "LoadMatrixf",
1031    "LoadMatrixx",
1032    "LoadName",
1033    "LoadTransposeMatrixd",
1034    "LoadTransposeMatrixdARB",
1035    "LoadTransposeMatrixf",
1036    "LoadTransposeMatrixfARB",
1037    "LockArraysEXT",
1038    "LogicOp",
1039    "Map1d",
1040    "Map1f",
1041    "Map2d",
1042    "Map2f",
1043    "MapBuffer",
1044    "MapBufferARB",
1045    "MapBufferRange",
1046    "MapGrid1d",
1047    "MapGrid1f",
1048    "MapGrid2d",
1049    "MapGrid2f",
1050    "Materialf",
1051    "Materialfv",
1052    "Materiali",
1053    "Materialiv",
1054    "Materialx",
1055    "Materialxv",
1056    "MatrixMode",
1057    "MemoryBarrier",
1058    "MemoryBarrierByRegion",
1059    "Minmax",
1060    "MinSampleShading",
1061    "MinSampleShadingARB",
1062    "MultiDrawArrays",
1063    "MultiDrawArraysEXT",
1064    "MultiDrawArraysIndirect",
1065    "MultiDrawElements",
1066    "MultiDrawElementsBaseVertex",
1067    "MultiDrawElementsEXT",
1068    "MultiDrawElementsIndirect",
1069    "MultiTexCoord1d",
1070    "MultiTexCoord1dARB",
1071    "MultiTexCoord1dv",
1072    "MultiTexCoord1dvARB",
1073    "MultiTexCoord1f",
1074    "MultiTexCoord1fARB",
1075    "MultiTexCoord1fv",
1076    "MultiTexCoord1fvARB",
1077    "MultiTexCoord1i",
1078    "MultiTexCoord1iARB",
1079    "MultiTexCoord1iv",
1080    "MultiTexCoord1ivARB",
1081    "MultiTexCoord1s",
1082    "MultiTexCoord1sARB",
1083    "MultiTexCoord1sv",
1084    "MultiTexCoord1svARB",
1085    "MultiTexCoord2d",
1086    "MultiTexCoord2dARB",
1087    "MultiTexCoord2dv",
1088    "MultiTexCoord2dvARB",
1089    "MultiTexCoord2f",
1090    "MultiTexCoord2fARB",
1091    "MultiTexCoord2fv",
1092    "MultiTexCoord2fvARB",
1093    "MultiTexCoord2i",
1094    "MultiTexCoord2iARB",
1095    "MultiTexCoord2iv",
1096    "MultiTexCoord2ivARB",
1097    "MultiTexCoord2s",
1098    "MultiTexCoord2sARB",
1099    "MultiTexCoord2sv",
1100    "MultiTexCoord2svARB",
1101    "MultiTexCoord3d",
1102    "MultiTexCoord3dARB",
1103    "MultiTexCoord3dv",
1104    "MultiTexCoord3dvARB",
1105    "MultiTexCoord3f",
1106    "MultiTexCoord3fARB",
1107    "MultiTexCoord3fv",
1108    "MultiTexCoord3fvARB",
1109    "MultiTexCoord3i",
1110    "MultiTexCoord3iARB",
1111    "MultiTexCoord3iv",
1112    "MultiTexCoord3ivARB",
1113    "MultiTexCoord3s",
1114    "MultiTexCoord3sARB",
1115    "MultiTexCoord3sv",
1116    "MultiTexCoord3svARB",
1117    "MultiTexCoord4d",
1118    "MultiTexCoord4dARB",
1119    "MultiTexCoord4dv",
1120    "MultiTexCoord4dvARB",
1121    "MultiTexCoord4f",
1122    "MultiTexCoord4fARB",
1123    "MultiTexCoord4fv",
1124    "MultiTexCoord4fvARB",
1125    "MultiTexCoord4i",
1126    "MultiTexCoord4iARB",
1127    "MultiTexCoord4iv",
1128    "MultiTexCoord4ivARB",
1129    "MultiTexCoord4s",
1130    "MultiTexCoord4sARB",
1131    "MultiTexCoord4sv",
1132    "MultiTexCoord4svARB",
1133    "MultiTexCoord4x",
1134    "MultiTexCoordP1ui",
1135    "MultiTexCoordP1uiv",
1136    "MultiTexCoordP2ui",
1137    "MultiTexCoordP2uiv",
1138    "MultiTexCoordP3ui",
1139    "MultiTexCoordP3uiv",
1140    "MultiTexCoordP4ui",
1141    "MultiTexCoordP4uiv",
1142    "MultMatrixd",
1143    "MultMatrixf",
1144    "MultMatrixx",
1145    "MultTransposeMatrixd",
1146    "MultTransposeMatrixdARB",
1147    "MultTransposeMatrixf",
1148    "MultTransposeMatrixfARB",
1149    "NewList",
1150    "Normal3b",
1151    "Normal3bv",
1152    "Normal3d",
1153    "Normal3dv",
1154    "Normal3f",
1155    "Normal3fv",
1156    "Normal3i",
1157    "Normal3iv",
1158    "Normal3s",
1159    "Normal3sv",
1160    "Normal3x",
1161    "NormalP3ui",
1162    "NormalP3uiv",
1163    "NormalPointer",
1164    "NormalPointerEXT",
1165    "ObjectLabel",
1166    "ObjectPtrLabel",
1167    "Ortho",
1168    "Orthof",
1169    "Orthox",
1170    "PassThrough",
1171    "PatchParameteri",
1172    "PauseTransformFeedback",
1173    "PixelMapfv",
1174    "PixelMapuiv",
1175    "PixelMapusv",
1176    "PixelStoref",
1177    "PixelStorei",
1178    "PixelTransferf",
1179    "PixelTransferi",
1180    "PixelZoom",
1181    "PointParameterf",
1182    "PointParameterfARB",
1183    "PointParameterfEXT",
1184    "PointParameterfv",
1185    "PointParameterfvARB",
1186    "PointParameterfvEXT",
1187    "PointParameteri",
1188    "PointParameteriv",
1189    "PointParameterx",
1190    "PointParameterxv",
1191    "PointSize",
1192    "PointSizePointerOES",
1193    "PointSizex",
1194    "PolygonMode",
1195    "PolygonOffset",
1196    "PolygonOffsetx",
1197    "PolygonStipple",
1198    "PopAttrib",
1199    "PopClientAttrib",
1200    "PopDebugGroup",
1201    "PopMatrix",
1202    "PopName",
1203    "PrimitiveBoundingBox",
1204    "PrimitiveRestartIndex",
1205    "PrimitiveRestartIndexNV",
1206    "PrimitiveRestartNV",
1207    "PrioritizeTextures",
1208    "PrioritizeTexturesEXT",
1209    "ProgramBinary",
1210    "ProgramEnvParameter4dARB",
1211    "ProgramEnvParameter4dvARB",
1212    "ProgramEnvParameter4fARB",
1213    "ProgramEnvParameter4fvARB",
1214    "ProgramLocalParameter4dARB",
1215    "ProgramLocalParameter4dvARB",
1216    "ProgramLocalParameter4fARB",
1217    "ProgramLocalParameter4fvARB",
1218    "ProgramParameteri",
1219    "ProgramParameteriARB",
1220    "ProgramStringARB",
1221    "ProgramUniform1f",
1222    "ProgramUniform1fv",
1223    "ProgramUniform1i",
1224    "ProgramUniform1iv",
1225    "ProgramUniform1ui",
1226    "ProgramUniform1uiv",
1227    "ProgramUniform2f",
1228    "ProgramUniform2fv",
1229    "ProgramUniform2i",
1230    "ProgramUniform2iv",
1231    "ProgramUniform2ui",
1232    "ProgramUniform2uiv",
1233    "ProgramUniform3f",
1234    "ProgramUniform3fv",
1235    "ProgramUniform3i",
1236    "ProgramUniform3iv",
1237    "ProgramUniform3ui",
1238    "ProgramUniform3uiv",
1239    "ProgramUniform4f",
1240    "ProgramUniform4fv",
1241    "ProgramUniform4i",
1242    "ProgramUniform4iv",
1243    "ProgramUniform4ui",
1244    "ProgramUniform4uiv",
1245    "ProgramUniformMatrix2fv",
1246    "ProgramUniformMatrix2x3fv",
1247    "ProgramUniformMatrix2x4fv",
1248    "ProgramUniformMatrix3fv",
1249    "ProgramUniformMatrix3x2fv",
1250    "ProgramUniformMatrix3x4fv",
1251    "ProgramUniformMatrix4fv",
1252    "ProgramUniformMatrix4x2fv",
1253    "ProgramUniformMatrix4x3fv",
1254    "ProvokingVertex",
1255    "ProvokingVertexEXT",
1256    "PushAttrib",
1257    "PushClientAttrib",
1258    "PushDebugGroup",
1259    "PushMatrix",
1260    "PushName",
1261    "RasterPos2d",
1262    "RasterPos2dv",
1263    "RasterPos2f",
1264    "RasterPos2fv",
1265    "RasterPos2i",
1266    "RasterPos2iv",
1267    "RasterPos2s",
1268    "RasterPos2sv",
1269    "RasterPos3d",
1270    "RasterPos3dv",
1271    "RasterPos3f",
1272    "RasterPos3fv",
1273    "RasterPos3i",
1274    "RasterPos3iv",
1275    "RasterPos3s",
1276    "RasterPos3sv",
1277    "RasterPos4d",
1278    "RasterPos4dv",
1279    "RasterPos4f",
1280    "RasterPos4fv",
1281    "RasterPos4i",
1282    "RasterPos4iv",
1283    "RasterPos4s",
1284    "RasterPos4sv",
1285    "ReadBuffer",
1286    "ReadnPixels",
1287    "ReadnPixelsARB",
1288    "ReadPixels",
1289    "Rectd",
1290    "Rectdv",
1291    "Rectf",
1292    "Rectfv",
1293    "Recti",
1294    "Rectiv",
1295    "Rects",
1296    "Rectsv",
1297    "ReleaseShaderCompiler",
1298    "RenderbufferStorage",
1299    "RenderbufferStorageEXT",
1300    "RenderbufferStorageMultisample",
1301    "RenderbufferStorageMultisampleEXT",
1302    "RenderMode",
1303    "ResetHistogram",
1304    "ResetMinmax",
1305    "ResumeTransformFeedback",
1306    "Rotated",
1307    "Rotatef",
1308    "Rotatex",
1309    "SampleCoverage",
1310    "SampleCoverageARB",
1311    "SampleCoveragex",
1312    "SampleMaski",
1313    "SamplerParameterf",
1314    "SamplerParameterfv",
1315    "SamplerParameteri",
1316    "SamplerParameterIiv",
1317    "SamplerParameterIuiv",
1318    "SamplerParameteriv",
1319    "Scaled",
1320    "Scalef",
1321    "Scalex",
1322    "Scissor",
1323    "ScissorArrayv",
1324    "ScissorIndexed",
1325    "ScissorIndexedv",
1326    "SecondaryColor3b",
1327    "SecondaryColor3bEXT",
1328    "SecondaryColor3bv",
1329    "SecondaryColor3bvEXT",
1330    "SecondaryColor3d",
1331    "SecondaryColor3dEXT",
1332    "SecondaryColor3dv",
1333    "SecondaryColor3dvEXT",
1334    "SecondaryColor3f",
1335    "SecondaryColor3fEXT",
1336    "SecondaryColor3fv",
1337    "SecondaryColor3fvEXT",
1338    "SecondaryColor3i",
1339    "SecondaryColor3iEXT",
1340    "SecondaryColor3iv",
1341    "SecondaryColor3ivEXT",
1342    "SecondaryColor3s",
1343    "SecondaryColor3sEXT",
1344    "SecondaryColor3sv",
1345    "SecondaryColor3svEXT",
1346    "SecondaryColor3ub",
1347    "SecondaryColor3ubEXT",
1348    "SecondaryColor3ubv",
1349    "SecondaryColor3ubvEXT",
1350    "SecondaryColor3ui",
1351    "SecondaryColor3uiEXT",
1352    "SecondaryColor3uiv",
1353    "SecondaryColor3uivEXT",
1354    "SecondaryColor3us",
1355    "SecondaryColor3usEXT",
1356    "SecondaryColor3usv",
1357    "SecondaryColor3usvEXT",
1358    "SecondaryColorP3ui",
1359    "SecondaryColorP3uiv",
1360    "SecondaryColorPointer",
1361    "SecondaryColorPointerEXT",
1362    "SelectBuffer",
1363    "SeparableFilter2D",
1364    "ShadeModel",
1365    "ShaderBinary",
1366    "ShaderSource",
1367    "ShaderSourceARB",
1368    "StencilFunc",
1369    "StencilFuncSeparate",
1370    "StencilMask",
1371    "StencilMaskSeparate",
1372    "StencilOp",
1373    "StencilOpSeparate",
1374    "TexBuffer",
1375    "TexBufferARB",
1376    "TexBufferRange",
1377    "TexCoord1d",
1378    "TexCoord1dv",
1379    "TexCoord1f",
1380    "TexCoord1fv",
1381    "TexCoord1i",
1382    "TexCoord1iv",
1383    "TexCoord1s",
1384    "TexCoord1sv",
1385    "TexCoord2d",
1386    "TexCoord2dv",
1387    "TexCoord2f",
1388    "TexCoord2fv",
1389    "TexCoord2i",
1390    "TexCoord2iv",
1391    "TexCoord2s",
1392    "TexCoord2sv",
1393    "TexCoord3d",
1394    "TexCoord3dv",
1395    "TexCoord3f",
1396    "TexCoord3fv",
1397    "TexCoord3i",
1398    "TexCoord3iv",
1399    "TexCoord3s",
1400    "TexCoord3sv",
1401    "TexCoord4d",
1402    "TexCoord4dv",
1403    "TexCoord4f",
1404    "TexCoord4fv",
1405    "TexCoord4i",
1406    "TexCoord4iv",
1407    "TexCoord4s",
1408    "TexCoord4sv",
1409    "TexCoordP1ui",
1410    "TexCoordP1uiv",
1411    "TexCoordP2ui",
1412    "TexCoordP2uiv",
1413    "TexCoordP3ui",
1414    "TexCoordP3uiv",
1415    "TexCoordP4ui",
1416    "TexCoordP4uiv",
1417    "TexCoordPointer",
1418    "TexCoordPointerEXT",
1419    "TexEnvf",
1420    "TexEnvfv",
1421    "TexEnvi",
1422    "TexEnviv",
1423    "TexEnvx",
1424    "TexEnvxv",
1425    "TexGend",
1426    "TexGendv",
1427    "TexGenf",
1428    "TexGenfv",
1429    "TexGeni",
1430    "TexGeniv",
1431    "TexImage1D",
1432    "TexImage2D",
1433    "TexImage2DMultisample",
1434    "TexImage3D",
1435    "TexImage3DEXT",
1436    "TexImage3DMultisample",
1437    "TexParameterf",
1438    "TexParameterfv",
1439    "TexParameteri",
1440    "TexParameterIiv",
1441    "TexParameterIivEXT",
1442    "TexParameterIuiv",
1443    "TexParameterIuivEXT",
1444    "TexParameteriv",
1445    "TexParameterx",
1446    "TexParameterxv",
1447    "TexStorage1D",
1448    "TexStorage2D",
1449    "TexStorage2DMultisample",
1450    "TexStorage3D",
1451    "TexStorage3DMultisample",
1452    "TexSubImage1D",
1453    "TexSubImage2D",
1454    "TexSubImage3D",
1455    "TexSubImage3DEXT",
1456    "TextureBarrierNV",
1457    "TextureStorage1DEXT",
1458    "TextureStorage2DEXT",
1459    "TextureStorage3DEXT",
1460    "TextureView",
1461    "TransformFeedbackVaryings",
1462    "Translated",
1463    "Translatef",
1464    "Translatex",
1465    "Uniform1f",
1466    "Uniform1fARB",
1467    "Uniform1fv",
1468    "Uniform1fvARB",
1469    "Uniform1i",
1470    "Uniform1iARB",
1471    "Uniform1iv",
1472    "Uniform1ivARB",
1473    "Uniform1ui",
1474    "Uniform1uiEXT",
1475    "Uniform1uiv",
1476    "Uniform1uivEXT",
1477    "Uniform2f",
1478    "Uniform2fARB",
1479    "Uniform2fv",
1480    "Uniform2fvARB",
1481    "Uniform2i",
1482    "Uniform2iARB",
1483    "Uniform2iv",
1484    "Uniform2ivARB",
1485    "Uniform2ui",
1486    "Uniform2uiEXT",
1487    "Uniform2uiv",
1488    "Uniform2uivEXT",
1489    "Uniform3f",
1490    "Uniform3fARB",
1491    "Uniform3fv",
1492    "Uniform3fvARB",
1493    "Uniform3i",
1494    "Uniform3iARB",
1495    "Uniform3iv",
1496    "Uniform3ivARB",
1497    "Uniform3ui",
1498    "Uniform3uiEXT",
1499    "Uniform3uiv",
1500    "Uniform3uivEXT",
1501    "Uniform4f",
1502    "Uniform4fARB",
1503    "Uniform4fv",
1504    "Uniform4fvARB",
1505    "Uniform4i",
1506    "Uniform4iARB",
1507    "Uniform4iv",
1508    "Uniform4ivARB",
1509    "Uniform4ui",
1510    "Uniform4uiEXT",
1511    "Uniform4uiv",
1512    "Uniform4uivEXT",
1513    "UniformBlockBinding",
1514    "UniformMatrix2fv",
1515    "UniformMatrix2fvARB",
1516    "UniformMatrix2x3fv",
1517    "UniformMatrix2x4fv",
1518    "UniformMatrix3fv",
1519    "UniformMatrix3fvARB",
1520    "UniformMatrix3x2fv",
1521    "UniformMatrix3x4fv",
1522    "UniformMatrix4fv",
1523    "UniformMatrix4fvARB",
1524    "UniformMatrix4x2fv",
1525    "UniformMatrix4x3fv",
1526    "UnlockArraysEXT",
1527    "UnmapBuffer",
1528    "UnmapBufferARB",
1529    "UseProgram",
1530    "UseProgramObjectARB",
1531    "UseProgramStages",
1532    "ValidateProgram",
1533    "ValidateProgramARB",
1534    "ValidateProgramPipeline",
1535    "Vertex2d",
1536    "Vertex2dv",
1537    "Vertex2f",
1538    "Vertex2fv",
1539    "Vertex2i",
1540    "Vertex2iv",
1541    "Vertex2s",
1542    "Vertex2sv",
1543    "Vertex3d",
1544    "Vertex3dv",
1545    "Vertex3f",
1546    "Vertex3fv",
1547    "Vertex3i",
1548    "Vertex3iv",
1549    "Vertex3s",
1550    "Vertex3sv",
1551    "Vertex4d",
1552    "Vertex4dv",
1553    "Vertex4f",
1554    "Vertex4fv",
1555    "Vertex4i",
1556    "Vertex4iv",
1557    "Vertex4s",
1558    "Vertex4sv",
1559    "VertexAttrib1d",
1560    "VertexAttrib1dARB",
1561    "VertexAttrib1dv",
1562    "VertexAttrib1dvARB",
1563    "VertexAttrib1f",
1564    "VertexAttrib1fARB",
1565    "VertexAttrib1fv",
1566    "VertexAttrib1fvARB",
1567    "VertexAttrib1s",
1568    "VertexAttrib1sARB",
1569    "VertexAttrib1sv",
1570    "VertexAttrib1svARB",
1571    "VertexAttrib2d",
1572    "VertexAttrib2dARB",
1573    "VertexAttrib2dv",
1574    "VertexAttrib2dvARB",
1575    "VertexAttrib2f",
1576    "VertexAttrib2fARB",
1577    "VertexAttrib2fv",
1578    "VertexAttrib2fvARB",
1579    "VertexAttrib2s",
1580    "VertexAttrib2sARB",
1581    "VertexAttrib2sv",
1582    "VertexAttrib2svARB",
1583    "VertexAttrib3d",
1584    "VertexAttrib3dARB",
1585    "VertexAttrib3dv",
1586    "VertexAttrib3dvARB",
1587    "VertexAttrib3f",
1588    "VertexAttrib3fARB",
1589    "VertexAttrib3fv",
1590    "VertexAttrib3fvARB",
1591    "VertexAttrib3s",
1592    "VertexAttrib3sARB",
1593    "VertexAttrib3sv",
1594    "VertexAttrib3svARB",
1595    "VertexAttrib4bv",
1596    "VertexAttrib4bvARB",
1597    "VertexAttrib4d",
1598    "VertexAttrib4dARB",
1599    "VertexAttrib4dv",
1600    "VertexAttrib4dvARB",
1601    "VertexAttrib4f",
1602    "VertexAttrib4fARB",
1603    "VertexAttrib4fv",
1604    "VertexAttrib4fvARB",
1605    "VertexAttrib4iv",
1606    "VertexAttrib4ivARB",
1607    "VertexAttrib4Nbv",
1608    "VertexAttrib4NbvARB",
1609    "VertexAttrib4Niv",
1610    "VertexAttrib4NivARB",
1611    "VertexAttrib4Nsv",
1612    "VertexAttrib4NsvARB",
1613    "VertexAttrib4Nub",
1614    "VertexAttrib4NubARB",
1615    "VertexAttrib4Nubv",
1616    "VertexAttrib4NubvARB",
1617    "VertexAttrib4Nuiv",
1618    "VertexAttrib4NuivARB",
1619    "VertexAttrib4Nusv",
1620    "VertexAttrib4NusvARB",
1621    "VertexAttrib4s",
1622    "VertexAttrib4sARB",
1623    "VertexAttrib4sv",
1624    "VertexAttrib4svARB",
1625    "VertexAttrib4ubv",
1626    "VertexAttrib4ubvARB",
1627    "VertexAttrib4uiv",
1628    "VertexAttrib4uivARB",
1629    "VertexAttrib4usv",
1630    "VertexAttrib4usvARB",
1631    "VertexAttribBinding",
1632    "VertexAttribDivisor",
1633    "VertexAttribDivisorARB",
1634    "VertexAttribFormat",
1635    "VertexAttribI1i",
1636    "VertexAttribI1iEXT",
1637    "VertexAttribI1iv",
1638    "VertexAttribI1ivEXT",
1639    "VertexAttribI1ui",
1640    "VertexAttribI1uiEXT",
1641    "VertexAttribI1uiv",
1642    "VertexAttribI1uivEXT",
1643    "VertexAttribI2i",
1644    "VertexAttribI2iEXT",
1645    "VertexAttribI2iv",
1646    "VertexAttribI2ivEXT",
1647    "VertexAttribI2ui",
1648    "VertexAttribI2uiEXT",
1649    "VertexAttribI2uiv",
1650    "VertexAttribI2uivEXT",
1651    "VertexAttribI3i",
1652    "VertexAttribI3iEXT",
1653    "VertexAttribI3iv",
1654    "VertexAttribI3ivEXT",
1655    "VertexAttribI3ui",
1656    "VertexAttribI3uiEXT",
1657    "VertexAttribI3uiv",
1658    "VertexAttribI3uivEXT",
1659    "VertexAttribI4bv",
1660    "VertexAttribI4bvEXT",
1661    "VertexAttribI4i",
1662    "VertexAttribI4iEXT",
1663    "VertexAttribI4iv",
1664    "VertexAttribI4ivEXT",
1665    "VertexAttribI4sv",
1666    "VertexAttribI4svEXT",
1667    "VertexAttribI4ubv",
1668    "VertexAttribI4ubvEXT",
1669    "VertexAttribI4ui",
1670    "VertexAttribI4uiEXT",
1671    "VertexAttribI4uiv",
1672    "VertexAttribI4uivEXT",
1673    "VertexAttribI4usv",
1674    "VertexAttribI4usvEXT",
1675    "VertexAttribIFormat",
1676    "VertexAttribIPointer",
1677    "VertexAttribIPointerEXT",
1678    "VertexAttribLFormat",
1679    "VertexAttribP1ui",
1680    "VertexAttribP1uiv",
1681    "VertexAttribP2ui",
1682    "VertexAttribP2uiv",
1683    "VertexAttribP3ui",
1684    "VertexAttribP3uiv",
1685    "VertexAttribP4ui",
1686    "VertexAttribP4uiv",
1687    "VertexAttribPointer",
1688    "VertexAttribPointerARB",
1689    "VertexBindingDivisor",
1690    "VertexP2ui",
1691    "VertexP2uiv",
1692    "VertexP3ui",
1693    "VertexP3uiv",
1694    "VertexP4ui",
1695    "VertexP4uiv",
1696    "VertexPointer",
1697    "VertexPointerEXT",
1698    "Viewport",
1699    "ViewportArrayv",
1700    "ViewportIndexedf",
1701    "ViewportIndexedfv",
1702    "WaitSync",
1703    "WindowPos2d",
1704    "WindowPos2dARB",
1705    "WindowPos2dv",
1706    "WindowPos2dvARB",
1707    "WindowPos2f",
1708    "WindowPos2fARB",
1709    "WindowPos2fv",
1710    "WindowPos2fvARB",
1711    "WindowPos2i",
1712    "WindowPos2iARB",
1713    "WindowPos2iv",
1714    "WindowPos2ivARB",
1715    "WindowPos2s",
1716    "WindowPos2sARB",
1717    "WindowPos2sv",
1718    "WindowPos2svARB",
1719    "WindowPos3d",
1720    "WindowPos3dARB",
1721    "WindowPos3dv",
1722    "WindowPos3dvARB",
1723    "WindowPos3f",
1724    "WindowPos3fARB",
1725    "WindowPos3fv",
1726    "WindowPos3fvARB",
1727    "WindowPos3i",
1728    "WindowPos3iARB",
1729    "WindowPos3iv",
1730    "WindowPos3ivARB",
1731    "WindowPos3s",
1732    "WindowPos3sARB",
1733    "WindowPos3sv",
1734    "WindowPos3svARB",
1735]
1736
1737"""Functions that need dispatch slots but are not used
1738
1739Some of these functions may have GLX protocol support (for
1740indirect-rendering).  Other were used in previous versions of Mesa.  They keep
1741slots in the dispatch table so that newer versions of libGL can still be used
1742with older drivers."""
1743unused_functions = [
1744    # SGIS_multisample
1745    "SampleMaskSGIS",
1746    "SamplePatternSGIS",
1747
1748    # NV_vertex_program
1749    "AreProgramsResidentNV",
1750    "ExecuteProgramNV",
1751    "GetProgramParameterdvNV",
1752    "GetProgramParameterfvNV",
1753    "GetProgramivNV",
1754    "GetProgramStringNV",
1755    "GetTrackMatrixivNV",
1756    "GetVertexAttribdvNV",
1757    "GetVertexAttribfvNV",
1758    "GetVertexAttribivNV",
1759    "LoadProgramNV",
1760    "ProgramParameters4dvNV",
1761    "ProgramParameters4fvNV",
1762    "RequestResidentProgramsNV",
1763    "TrackMatrixNV",
1764    "VertexAttribPointerNV",
1765
1766    # MESA_resize_buffers
1767    "ResizeBuffersMESA",
1768
1769    # ATI_envmap_bumpmap
1770    "TexBumpParameterfvATI",
1771    "TexBumpParameterivATI",
1772    "GetTexBumpParameterfvATI",
1773    "GetTexBumpParameterivATI",
1774
1775    # NV_fragment_program
1776    "ProgramNamedParameter4fNV",
1777    "ProgramNamedParameter4dNV",
1778    "ProgramNamedParameter4fvNV",
1779    "ProgramNamedParameter4dvNV",
1780    "GetProgramNamedParameterfvNV",
1781    "GetProgramNamedParameterdvNV",
1782
1783    # APPLE_flush_buffer_range
1784    "BufferParameteriAPPLE",
1785    "FlushMappedBufferRangeAPPLE",
1786
1787    # EXT_separate_shader_objects
1788    "UseShaderProgramEXT",
1789    "ActiveProgramEXT",
1790    "CreateShaderProgramEXT",
1791]
1792