]> git.cworth.org Git - apitrace/blob - glstate.py
cf136656c0f17a424b7643a7ac68fd0a61b1340f
[apitrace] / glstate.py
1 ##########################################################################
2 #
3 # Copyright 2011 Jose Fonseca
4 # All Rights Reserved.
5 #
6 # Permission is hereby granted, free of charge, to any person obtaining a copy
7 # of this software and associated documentation files (the "Software"), to deal
8 # in the Software without restriction, including without limitation the rights
9 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 # copies of the Software, and to permit persons to whom the Software is
11 # furnished to do so, subject to the following conditions:
12 #
13 # The above copyright notice and this permission notice shall be included in
14 # all copies or substantial portions of the Software.
15 #
16 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 # THE SOFTWARE.
23 #
24 ##########################################################################/
25
26
27 from stdapi import *
28
29 from glenum import GLenum
30
31
32 X = None # To be determined
33 B = Bool
34 I = Int
35 E = GLenum
36 F = Float
37 D = Double
38 P = OpaquePointer(Void)
39 S = CString
40
41 # TODO: This table and the one on glenum.py should be unified
42 parameters = [
43     # (function, type, count, name) # value
44     (None,      X,      1,      "GL_POINTS"),   # 0x0000
45     (None,      X,      1,      "GL_LINES"),    # 0x0001
46     (None,      X,      1,      "GL_LINE_LOOP"),        # 0x0002
47     (None,      X,      1,      "GL_LINE_STRIP"),       # 0x0003
48     (None,      X,      1,      "GL_TRIANGLES"),        # 0x0004
49     (None,      X,      1,      "GL_TRIANGLE_STRIP"),   # 0x0005
50     (None,      X,      1,      "GL_TRIANGLE_FAN"),     # 0x0006
51     (None,      X,      1,      "GL_QUADS"),    # 0x0007
52     (None,      X,      1,      "GL_QUAD_STRIP"),       # 0x0008
53     (None,      X,      1,      "GL_POLYGON"),  # 0x0009
54     (None,      X,      1,      "GL_LINES_ADJACENCY"),  # 0x000A
55     (None,      X,      1,      "GL_LINE_STRIP_ADJACENCY"),     # 0x000B
56     (None,      X,      1,      "GL_TRIANGLES_ADJACENCY"),      # 0x000C
57     (None,      X,      1,      "GL_TRIANGLE_STRIP_ADJACENCY"), # 0x000D
58     (None,      X,      1,      "GL_PATCHES"),  # 0x000E
59     (None,      X,      1,      "GL_ACCUM"),    # 0x0100
60     (None,      X,      1,      "GL_LOAD"),     # 0x0101
61     (None,      X,      1,      "GL_RETURN"),   # 0x0102
62     (None,      X,      1,      "GL_MULT"),     # 0x0103
63     (None,      X,      1,      "GL_ADD"),      # 0x0104
64     (None,      X,      1,      "GL_NEVER"),    # 0x0200
65     (None,      X,      1,      "GL_LESS"),     # 0x0201
66     (None,      X,      1,      "GL_EQUAL"),    # 0x0202
67     (None,      X,      1,      "GL_LEQUAL"),   # 0x0203
68     (None,      X,      1,      "GL_GREATER"),  # 0x0204
69     (None,      X,      1,      "GL_NOTEQUAL"), # 0x0205
70     (None,      X,      1,      "GL_GEQUAL"),   # 0x0206
71     (None,      X,      1,      "GL_ALWAYS"),   # 0x0207
72     (None,      X,      1,      "GL_SRC_COLOR"),        # 0x0300
73     (None,      X,      1,      "GL_ONE_MINUS_SRC_COLOR"),      # 0x0301
74     (None,      X,      1,      "GL_SRC_ALPHA"),        # 0x0302
75     (None,      X,      1,      "GL_ONE_MINUS_SRC_ALPHA"),      # 0x0303
76     (None,      X,      1,      "GL_DST_ALPHA"),        # 0x0304
77     (None,      X,      1,      "GL_ONE_MINUS_DST_ALPHA"),      # 0x0305
78     (None,      X,      1,      "GL_DST_COLOR"),        # 0x0306
79     (None,      X,      1,      "GL_ONE_MINUS_DST_COLOR"),      # 0x0307
80     (None,      X,      1,      "GL_SRC_ALPHA_SATURATE"),       # 0x0308
81     (None,      X,      1,      "GL_FRONT_LEFT"),       # 0x0400
82     (None,      X,      1,      "GL_FRONT_RIGHT"),      # 0x0401
83     (None,      X,      1,      "GL_BACK_LEFT"),        # 0x0402
84     (None,      X,      1,      "GL_BACK_RIGHT"),       # 0x0403
85     (None,      X,      1,      "GL_FRONT"),    # 0x0404
86     (None,      X,      1,      "GL_BACK"),     # 0x0405
87     (None,      X,      1,      "GL_LEFT"),     # 0x0406
88     (None,      X,      1,      "GL_RIGHT"),    # 0x0407
89     (None,      X,      1,      "GL_FRONT_AND_BACK"),   # 0x0408
90     (None,      X,      1,      "GL_AUX0"),     # 0x0409
91     (None,      X,      1,      "GL_AUX1"),     # 0x040A
92     (None,      X,      1,      "GL_AUX2"),     # 0x040B
93     (None,      X,      1,      "GL_AUX3"),     # 0x040C
94     (None,      X,      1,      "GL_INVALID_ENUM"),     # 0x0500
95     (None,      X,      1,      "GL_INVALID_VALUE"),    # 0x0501
96     (None,      X,      1,      "GL_INVALID_OPERATION"),        # 0x0502
97     (None,      X,      1,      "GL_STACK_OVERFLOW"),   # 0x0503
98     (None,      X,      1,      "GL_STACK_UNDERFLOW"),  # 0x0504
99     (None,      X,      1,      "GL_OUT_OF_MEMORY"),    # 0x0505
100     (None,      X,      1,      "GL_INVALID_FRAMEBUFFER_OPERATION"),    # 0x0506
101     (None,      X,      1,      "GL_2D"),       # 0x0600
102     (None,      X,      1,      "GL_3D"),       # 0x0601
103     (None,      X,      1,      "GL_3D_COLOR"), # 0x0602
104     (None,      X,      1,      "GL_3D_COLOR_TEXTURE"), # 0x0603
105     (None,      X,      1,      "GL_4D_COLOR_TEXTURE"), # 0x0604
106     (None,      X,      1,      "GL_PASS_THROUGH_TOKEN"),       # 0x0700
107     (None,      X,      1,      "GL_POINT_TOKEN"),      # 0x0701
108     (None,      X,      1,      "GL_LINE_TOKEN"),       # 0x0702
109     (None,      X,      1,      "GL_POLYGON_TOKEN"),    # 0x0703
110     (None,      X,      1,      "GL_BITMAP_TOKEN"),     # 0x0704
111     (None,      X,      1,      "GL_DRAW_PIXEL_TOKEN"), # 0x0705
112     (None,      X,      1,      "GL_COPY_PIXEL_TOKEN"), # 0x0706
113     (None,      X,      1,      "GL_LINE_RESET_TOKEN"), # 0x0707
114     (None,      X,      1,      "GL_EXP"),      # 0x0800
115     (None,      X,      1,      "GL_EXP2"),     # 0x0801
116     (None,      X,      1,      "GL_CW"),       # 0x0900
117     (None,      X,      1,      "GL_CCW"),      # 0x0901
118     (None,      X,      1,      "GL_COEFF"),    # 0x0A00
119     (None,      X,      1,      "GL_ORDER"),    # 0x0A01
120     (None,      X,      1,      "GL_DOMAIN"),   # 0x0A02
121     ("glGet",   F,      4,      "GL_CURRENT_COLOR"),    # 0x0B00
122     ("glGet",   F,      1,      "GL_CURRENT_INDEX"),    # 0x0B01
123     ("glGet",   F,      3,      "GL_CURRENT_NORMAL"),   # 0x0B02
124     ("glGet",   F,      4,      "GL_CURRENT_TEXTURE_COORDS"),   # 0x0B03
125     ("glGet",   F,      4,      "GL_CURRENT_RASTER_COLOR"),     # 0x0B04
126     ("glGet",   F,      1,      "GL_CURRENT_RASTER_INDEX"),     # 0x0B05
127     ("glGet",   F,      4,      "GL_CURRENT_RASTER_TEXTURE_COORDS"),    # 0x0B06
128     ("glGet",   F,      4,      "GL_CURRENT_RASTER_POSITION"),  # 0x0B07
129     ("glGet",   I,      1,      "GL_CURRENT_RASTER_POSITION_VALID"),    # 0x0B08
130     ("glGet",   F,      1,      "GL_CURRENT_RASTER_DISTANCE"),  # 0x0B09
131     ("glGet",   I,      1,      "GL_POINT_SMOOTH"),     # 0x0B10
132     ("glGet",   F,      1,      "GL_POINT_SIZE"),       # 0x0B11
133     ("glGet",   F,      2,      "GL_POINT_SIZE_RANGE"), # 0x0B12
134     ("glGet",   F,      1,      "GL_POINT_SIZE_GRANULARITY"),   # 0x0B13
135     ("glGet",   I,      1,      "GL_LINE_SMOOTH"),      # 0x0B20
136     ("glGet",   F,      1,      "GL_LINE_WIDTH"),       # 0x0B21
137     ("glGet",   F,      2,      "GL_LINE_WIDTH_RANGE"), # 0x0B22
138     ("glGet",   F,      1,      "GL_LINE_WIDTH_GRANULARITY"),   # 0x0B23
139     ("glGet",   I,      1,      "GL_LINE_STIPPLE"),     # 0x0B24
140     ("glGet",   I,      1,      "GL_LINE_STIPPLE_PATTERN"),     # 0x0B25
141     ("glGet",   I,      1,      "GL_LINE_STIPPLE_REPEAT"),      # 0x0B26
142     ("glGet",   E,      1,      "GL_LIST_MODE"),        # 0x0B30
143     ("glGet",   I,      1,      "GL_MAX_LIST_NESTING"), # 0x0B31
144     ("glGet",   I,      1,      "GL_LIST_BASE"),        # 0x0B32
145     ("glGet",   I,      1,      "GL_LIST_INDEX"),       # 0x0B33
146     ("glGet",   E,      2,      "GL_POLYGON_MODE"),     # 0x0B40
147     ("glGet",   I,      1,      "GL_POLYGON_SMOOTH"),   # 0x0B41
148     ("glGet",   I,      1,      "GL_POLYGON_STIPPLE"),  # 0x0B42
149     ("glGet",   I,      1,      "GL_EDGE_FLAG"),        # 0x0B43
150     ("glGet",   I,      1,      "GL_CULL_FACE"),        # 0x0B44
151     ("glGet",   E,      1,      "GL_CULL_FACE_MODE"),   # 0x0B45
152     ("glGet",   E,      1,      "GL_FRONT_FACE"),       # 0x0B46
153     ("glGet",   I,      1,      "GL_LIGHTING"), # 0x0B50
154     ("glGet",   I,      1,      "GL_LIGHT_MODEL_LOCAL_VIEWER"), # 0x0B51
155     ("glGet",   I,      1,      "GL_LIGHT_MODEL_TWO_SIDE"),     # 0x0B52
156     ("glGet",   F,      4,      "GL_LIGHT_MODEL_AMBIENT"),      # 0x0B53
157     ("glGet",   E,      1,      "GL_SHADE_MODEL"),      # 0x0B54
158     ("glGet",   E,      1,      "GL_COLOR_MATERIAL_FACE"),      # 0x0B55
159     ("glGet",   E,      1,      "GL_COLOR_MATERIAL_PARAMETER"), # 0x0B56
160     ("glGet",   B,      1,      "GL_COLOR_MATERIAL"),   # 0x0B57
161     ("glGet",   I,      1,      "GL_FOG"),      # 0x0B60
162     ("glGet",   I,      1,      "GL_FOG_INDEX"),        # 0x0B61
163     ("glGet",   F,      1,      "GL_FOG_DENSITY"),      # 0x0B62
164     ("glGet",   F,      1,      "GL_FOG_START"),        # 0x0B63
165     ("glGet",   F,      1,      "GL_FOG_END"),  # 0x0B64
166     ("glGet",   E,      1,      "GL_FOG_MODE"), # 0x0B65
167     ("glGet",   F,      4,      "GL_FOG_COLOR"),        # 0x0B66
168     ("glGet",   F,      2,      "GL_DEPTH_RANGE"),      # 0x0B70
169     ("glGet",   I,      1,      "GL_DEPTH_TEST"),       # 0x0B71
170     ("glGet",   I,      1,      "GL_DEPTH_WRITEMASK"),  # 0x0B72
171     ("glGet",   F,      1,      "GL_DEPTH_CLEAR_VALUE"),        # 0x0B73
172     ("glGet",   E,      1,      "GL_DEPTH_FUNC"),       # 0x0B74
173     ("glGet",   F,      4,      "GL_ACCUM_CLEAR_VALUE"),        # 0x0B80
174     ("glGet",   I,      1,      "GL_STENCIL_TEST"),     # 0x0B90
175     ("glGet",   I,      1,      "GL_STENCIL_CLEAR_VALUE"),      # 0x0B91
176     ("glGet",   E,      1,      "GL_STENCIL_FUNC"),     # 0x0B92
177     ("glGet",   I,      1,      "GL_STENCIL_VALUE_MASK"),       # 0x0B93
178     ("glGet",   E,      1,      "GL_STENCIL_FAIL"),     # 0x0B94
179     ("glGet",   E,      1,      "GL_STENCIL_PASS_DEPTH_FAIL"),  # 0x0B95
180     ("glGet",   E,      1,      "GL_STENCIL_PASS_DEPTH_PASS"),  # 0x0B96
181     ("glGet",   I,      1,      "GL_STENCIL_REF"),      # 0x0B97
182     ("glGet",   I,      1,      "GL_STENCIL_WRITEMASK"),        # 0x0B98
183     ("glGet",   E,      1,      "GL_MATRIX_MODE"),      # 0x0BA0
184     ("glGet",   I,      1,      "GL_NORMALIZE"),        # 0x0BA1
185     ("glGet",   I,      4,      "GL_VIEWPORT"), # 0x0BA2
186     ("glGet",   I,      1,      "GL_MODELVIEW_STACK_DEPTH"),    # 0x0BA3
187     ("glGet",   I,      1,      "GL_PROJECTION_STACK_DEPTH"),   # 0x0BA4
188     ("glGet",   I,      1,      "GL_TEXTURE_STACK_DEPTH"),      # 0x0BA5
189     ("glGet",   F,      16,     "GL_MODELVIEW_MATRIX"), # 0x0BA6
190     ("glGet",   F,      16,     "GL_PROJECTION_MATRIX"),        # 0x0BA7
191     ("glGet",   F,      16,     "GL_TEXTURE_MATRIX"),   # 0x0BA8
192     ("glGet",   I,      1,      "GL_ATTRIB_STACK_DEPTH"),       # 0x0BB0
193     ("glGet",   I,      1,      "GL_CLIENT_ATTRIB_STACK_DEPTH"),        # 0x0BB1
194     ("glGet",   B,      1,      "GL_ALPHA_TEST"),       # 0x0BC0
195     ("glGet",   E,      1,      "GL_ALPHA_TEST_FUNC"),  # 0x0BC1
196     ("glGet",   F,      1,      "GL_ALPHA_TEST_REF"),   # 0x0BC2
197     ("glGet",   I,      1,      "GL_DITHER"),   # 0x0BD0
198     ("glGet",   I,      1,      "GL_BLEND_DST"),        # 0x0BE0
199     ("glGet",   I,      1,      "GL_BLEND_SRC"),        # 0x0BE1
200     ("glGet",   B,      1,      "GL_BLEND"),    # 0x0BE2
201     ("glGet",   E,      1,      "GL_LOGIC_OP_MODE"),    # 0x0BF0
202     ("glGet",   I,      1,      "GL_LOGIC_OP"), # 0x0BF1
203     ("glGet",   I,      1,      "GL_COLOR_LOGIC_OP"),   # 0x0BF2
204     ("glGet",   I,      1,      "GL_AUX_BUFFERS"),      # 0x0C00
205     ("glGet",   E,      1,      "GL_DRAW_BUFFER"),      # 0x0C01
206     ("glGet",   E,      1,      "GL_READ_BUFFER"),      # 0x0C02
207     ("glGet",   I,      4,      "GL_SCISSOR_BOX"),      # 0x0C10
208     ("glGet",   I,      1,      "GL_SCISSOR_TEST"),     # 0x0C11
209     ("glGet",   I,      1,      "GL_INDEX_CLEAR_VALUE"),        # 0x0C20
210     ("glGet",   I,      1,      "GL_INDEX_WRITEMASK"),  # 0x0C21
211     ("glGet",   F,      4,      "GL_COLOR_CLEAR_VALUE"),        # 0x0C22
212     ("glGet",   I,      4,      "GL_COLOR_WRITEMASK"),  # 0x0C23
213     ("glGet",   I,      1,      "GL_INDEX_MODE"),       # 0x0C30
214     ("glGet",   I,      1,      "GL_RGBA_MODE"),        # 0x0C31
215     ("glGet",   I,      1,      "GL_DOUBLEBUFFER"),     # 0x0C32
216     ("glGet",   I,      1,      "GL_STEREO"),   # 0x0C33
217     ("glGet",   E,      1,      "GL_RENDER_MODE"),      # 0x0C40
218     ("glGet",   E,      1,      "GL_PERSPECTIVE_CORRECTION_HINT"),      # 0x0C50
219     ("glGet",   E,      1,      "GL_POINT_SMOOTH_HINT"),        # 0x0C51
220     ("glGet",   E,      1,      "GL_LINE_SMOOTH_HINT"), # 0x0C52
221     ("glGet",   E,      1,      "GL_POLYGON_SMOOTH_HINT"),      # 0x0C53
222     ("glGet",   E,      1,      "GL_FOG_HINT"), # 0x0C54
223     ("glGet",   I,      1,      "GL_TEXTURE_GEN_S"),    # 0x0C60
224     ("glGet",   I,      1,      "GL_TEXTURE_GEN_T"),    # 0x0C61
225     ("glGet",   I,      1,      "GL_TEXTURE_GEN_R"),    # 0x0C62
226     ("glGet",   I,      1,      "GL_TEXTURE_GEN_Q"),    # 0x0C63
227     ("glGet",   X,      1,      "GL_PIXEL_MAP_I_TO_I"), # 0x0C70
228     ("glGet",   X,      1,      "GL_PIXEL_MAP_S_TO_S"), # 0x0C71
229     ("glGet",   X,      1,      "GL_PIXEL_MAP_I_TO_R"), # 0x0C72
230     ("glGet",   X,      1,      "GL_PIXEL_MAP_I_TO_G"), # 0x0C73
231     ("glGet",   X,      1,      "GL_PIXEL_MAP_I_TO_B"), # 0x0C74
232     ("glGet",   X,      1,      "GL_PIXEL_MAP_I_TO_A"), # 0x0C75
233     ("glGet",   X,      1,      "GL_PIXEL_MAP_R_TO_R"), # 0x0C76
234     ("glGet",   X,      1,      "GL_PIXEL_MAP_G_TO_G"), # 0x0C77
235     ("glGet",   X,      1,      "GL_PIXEL_MAP_B_TO_B"), # 0x0C78
236     ("glGet",   X,      1,      "GL_PIXEL_MAP_A_TO_A"), # 0x0C79
237     ("glGet",   I,      1,      "GL_PIXEL_MAP_I_TO_I_SIZE"),    # 0x0CB0
238     ("glGet",   I,      1,      "GL_PIXEL_MAP_S_TO_S_SIZE"),    # 0x0CB1
239     ("glGet",   I,      1,      "GL_PIXEL_MAP_I_TO_R_SIZE"),    # 0x0CB2
240     ("glGet",   I,      1,      "GL_PIXEL_MAP_I_TO_G_SIZE"),    # 0x0CB3
241     ("glGet",   I,      1,      "GL_PIXEL_MAP_I_TO_B_SIZE"),    # 0x0CB4
242     ("glGet",   I,      1,      "GL_PIXEL_MAP_I_TO_A_SIZE"),    # 0x0CB5
243     ("glGet",   I,      1,      "GL_PIXEL_MAP_R_TO_R_SIZE"),    # 0x0CB6
244     ("glGet",   I,      1,      "GL_PIXEL_MAP_G_TO_G_SIZE"),    # 0x0CB7
245     ("glGet",   I,      1,      "GL_PIXEL_MAP_B_TO_B_SIZE"),    # 0x0CB8
246     ("glGet",   I,      1,      "GL_PIXEL_MAP_A_TO_A_SIZE"),    # 0x0CB9
247     ("glGet",   I,      1,      "GL_UNPACK_SWAP_BYTES"),        # 0x0CF0
248     ("glGet",   I,      1,      "GL_UNPACK_LSB_FIRST"), # 0x0CF1
249     ("glGet",   I,      1,      "GL_UNPACK_ROW_LENGTH"),        # 0x0CF2
250     ("glGet",   I,      1,      "GL_UNPACK_SKIP_ROWS"), # 0x0CF3
251     ("glGet",   I,      1,      "GL_UNPACK_SKIP_PIXELS"),       # 0x0CF4
252     ("glGet",   I,      1,      "GL_UNPACK_ALIGNMENT"), # 0x0CF5
253     ("glGet",   I,      1,      "GL_PACK_SWAP_BYTES"),  # 0x0D00
254     ("glGet",   I,      1,      "GL_PACK_LSB_FIRST"),   # 0x0D01
255     ("glGet",   I,      1,      "GL_PACK_ROW_LENGTH"),  # 0x0D02
256     ("glGet",   I,      1,      "GL_PACK_SKIP_ROWS"),   # 0x0D03
257     ("glGet",   I,      1,      "GL_PACK_SKIP_PIXELS"), # 0x0D04
258     ("glGet",   I,      1,      "GL_PACK_ALIGNMENT"),   # 0x0D05
259     ("glGet",   I,      1,      "GL_MAP_COLOR"),        # 0x0D10
260     ("glGet",   I,      1,      "GL_MAP_STENCIL"),      # 0x0D11
261     ("glGet",   I,      1,      "GL_INDEX_SHIFT"),      # 0x0D12
262     ("glGet",   I,      1,      "GL_INDEX_OFFSET"),     # 0x0D13
263     ("glGet",   F,      1,      "GL_RED_SCALE"),        # 0x0D14
264     ("glGet",   F,      1,      "GL_RED_BIAS"), # 0x0D15
265     ("glGet",   F,      1,      "GL_ZOOM_X"),   # 0x0D16
266     ("glGet",   F,      1,      "GL_ZOOM_Y"),   # 0x0D17
267     ("glGet",   F,      1,      "GL_GREEN_SCALE"),      # 0x0D18
268     ("glGet",   F,      1,      "GL_GREEN_BIAS"),       # 0x0D19
269     ("glGet",   F,      1,      "GL_BLUE_SCALE"),       # 0x0D1A
270     ("glGet",   F,      1,      "GL_BLUE_BIAS"),        # 0x0D1B
271     ("glGet",   F,      1,      "GL_ALPHA_SCALE"),      # 0x0D1C
272     ("glGet",   F,      1,      "GL_ALPHA_BIAS"),       # 0x0D1D
273     ("glGet",   F,      1,      "GL_DEPTH_SCALE"),      # 0x0D1E
274     ("glGet",   F,      1,      "GL_DEPTH_BIAS"),       # 0x0D1F
275     ("glGet",   I,      1,      "GL_MAX_EVAL_ORDER"),   # 0x0D30
276     ("glGet",   I,      1,      "GL_MAX_LIGHTS"),       # 0x0D31
277     ("glGet",   I,      1,      "GL_MAX_CLIP_PLANES"),  # 0x0D32
278     ("glGet",   I,      1,      "GL_MAX_TEXTURE_SIZE"), # 0x0D33
279     ("glGet",   I,      1,      "GL_MAX_PIXEL_MAP_TABLE"),      # 0x0D34
280     ("glGet",   I,      1,      "GL_MAX_ATTRIB_STACK_DEPTH"),   # 0x0D35
281     ("glGet",   I,      1,      "GL_MAX_MODELVIEW_STACK_DEPTH"),        # 0x0D36
282     ("glGet",   I,      1,      "GL_MAX_NAME_STACK_DEPTH"),     # 0x0D37
283     ("glGet",   I,      1,      "GL_MAX_PROJECTION_STACK_DEPTH"),       # 0x0D38
284     ("glGet",   I,      1,      "GL_MAX_TEXTURE_STACK_DEPTH"),  # 0x0D39
285     ("glGet",   F,      2,      "GL_MAX_VIEWPORT_DIMS"),        # 0x0D3A
286     ("glGet",   I,      1,      "GL_MAX_CLIENT_ATTRIB_STACK_DEPTH"),    # 0x0D3B
287     ("glGet",   I,      1,      "GL_SUBPIXEL_BITS"),    # 0x0D50
288     ("glGet",   I,      1,      "GL_INDEX_BITS"),       # 0x0D51
289     ("glGet",   I,      1,      "GL_RED_BITS"), # 0x0D52
290     ("glGet",   I,      1,      "GL_GREEN_BITS"),       # 0x0D53
291     ("glGet",   I,      1,      "GL_BLUE_BITS"),        # 0x0D54
292     ("glGet",   I,      1,      "GL_ALPHA_BITS"),       # 0x0D55
293     ("glGet",   I,      1,      "GL_DEPTH_BITS"),       # 0x0D56
294     ("glGet",   I,      1,      "GL_STENCIL_BITS"),     # 0x0D57
295     ("glGet",   I,      1,      "GL_ACCUM_RED_BITS"),   # 0x0D58
296     ("glGet",   I,      1,      "GL_ACCUM_GREEN_BITS"), # 0x0D59
297     ("glGet",   I,      1,      "GL_ACCUM_BLUE_BITS"),  # 0x0D5A
298     ("glGet",   I,      1,      "GL_ACCUM_ALPHA_BITS"), # 0x0D5B
299     ("glGet",   I,      1,      "GL_NAME_STACK_DEPTH"), # 0x0D70
300     ("glGet",   B,      1,      "GL_AUTO_NORMAL"),      # 0x0D80
301     ("glGet",   B,      1,      "GL_MAP1_COLOR_4"),     # 0x0D90
302     ("glGet",   B,      1,      "GL_MAP1_INDEX"),       # 0x0D91
303     ("glGet",   B,      1,      "GL_MAP1_NORMAL"),      # 0x0D92
304     ("glGet",   B,      1,      "GL_MAP1_TEXTURE_COORD_1"),     # 0x0D93
305     ("glGet",   B,      1,      "GL_MAP1_TEXTURE_COORD_2"),     # 0x0D94
306     ("glGet",   B,      1,      "GL_MAP1_TEXTURE_COORD_3"),     # 0x0D95
307     ("glGet",   B,      1,      "GL_MAP1_TEXTURE_COORD_4"),     # 0x0D96
308     ("glGet",   B,      1,      "GL_MAP1_VERTEX_3"),    # 0x0D97
309     ("glGet",   B,      1,      "GL_MAP1_VERTEX_4"),    # 0x0D98
310     ("glGet",   B,      1,      "GL_MAP2_COLOR_4"),     # 0x0DB0
311     ("glGet",   B,      1,      "GL_MAP2_INDEX"),       # 0x0DB1
312     ("glGet",   B,      1,      "GL_MAP2_NORMAL"),      # 0x0DB2
313     ("glGet",   B,      1,      "GL_MAP2_TEXTURE_COORD_1"),     # 0x0DB3
314     ("glGet",   B,      1,      "GL_MAP2_TEXTURE_COORD_2"),     # 0x0DB4
315     ("glGet",   B,      1,      "GL_MAP2_TEXTURE_COORD_3"),     # 0x0DB5
316     ("glGet",   B,      1,      "GL_MAP2_TEXTURE_COORD_4"),     # 0x0DB6
317     ("glGet",   B,      1,      "GL_MAP2_VERTEX_3"),    # 0x0DB7
318     ("glGet",   B,      1,      "GL_MAP2_VERTEX_4"),    # 0x0DB8
319     ("glGet",   F,      2,      "GL_MAP1_GRID_DOMAIN"), # 0x0DD0
320     ("glGet",   I,      1,      "GL_MAP1_GRID_SEGMENTS"),       # 0x0DD1
321     ("glGet",   F,      4,      "GL_MAP2_GRID_DOMAIN"), # 0x0DD2
322     ("glGet",   I,      2,      "GL_MAP2_GRID_SEGMENTS"),       # 0x0DD3
323     ("glGet",   B,      1,      "GL_TEXTURE_1D"),       # 0x0DE0
324     ("glGet",   B,      1,      "GL_TEXTURE_2D"),       # 0x0DE1
325     ("glGet",   P,      1,      "GL_FEEDBACK_BUFFER_POINTER"),  # 0x0DF0
326     ("glGet",   I,      1,      "GL_FEEDBACK_BUFFER_SIZE"),     # 0x0DF1
327     ("glGet",   E,      1,      "GL_FEEDBACK_BUFFER_TYPE"),     # 0x0DF2
328     ("glGet",   P,      1,      "GL_SELECTION_BUFFER_POINTER"), # 0x0DF3
329     ("glGet",   I,      1,      "GL_SELECTION_BUFFER_SIZE"),    # 0x0DF4
330     ("glGetTexLevelParameter",  I,      1,      "GL_TEXTURE_WIDTH"),    # 0x1000
331     ("glGetTexLevelParameter",  I,      1,      "GL_TEXTURE_HEIGHT"),   # 0x1001
332     ("glGetTexLevelParameter",  E,      1,      "GL_TEXTURE_INTERNAL_FORMAT"),  # 0x1003
333     ("glGetTexParameter",       F,      4,      "GL_TEXTURE_BORDER_COLOR"),     # 0x1004
334     ("glGetTexLevelParameter",  I,      1,      "GL_TEXTURE_BORDER"),   # 0x1005
335     ("glGet",   X,      1,      "GL_DONT_CARE"),        # 0x1100
336     ("glGet",   X,      1,      "GL_FASTEST"),  # 0x1101
337     ("glGet",   X,      1,      "GL_NICEST"),   # 0x1102
338     ("glGet",   X,      1,      "GL_AMBIENT"),  # 0x1200
339     ("glGet",   X,      1,      "GL_DIFFUSE"),  # 0x1201
340     ("glGet",   X,      1,      "GL_SPECULAR"), # 0x1202
341     ("glGet",   X,      1,      "GL_POSITION"), # 0x1203
342     ("glGet",   X,      1,      "GL_SPOT_DIRECTION"),   # 0x1204
343     ("glGet",   X,      1,      "GL_SPOT_EXPONENT"),    # 0x1205
344     ("glGet",   X,      1,      "GL_SPOT_CUTOFF"),      # 0x1206
345     ("glGet",   X,      1,      "GL_CONSTANT_ATTENUATION"),     # 0x1207
346     ("glGet",   X,      1,      "GL_LINEAR_ATTENUATION"),       # 0x1208
347     ("glGet",   X,      1,      "GL_QUADRATIC_ATTENUATION"),    # 0x1209
348     ("glGet",   X,      1,      "GL_COMPILE"),  # 0x1300
349     ("glGet",   X,      1,      "GL_COMPILE_AND_EXECUTE"),      # 0x1301
350     ("glGet",   X,      1,      "GL_BYTE"),     # 0x1400
351     ("glGet",   X,      1,      "GL_UNSIGNED_BYTE"),    # 0x1401
352     ("glGet",   X,      1,      "GL_SHORT"),    # 0x1402
353     ("glGet",   X,      1,      "GL_UNSIGNED_SHORT"),   # 0x1403
354     ("glGet",   X,      1,      "GL_INT"),      # 0x1404
355     ("glGet",   X,      1,      "GL_UNSIGNED_INT"),     # 0x1405
356     ("glGet",   X,      1,      "GL_FLOAT"),    # 0x1406
357     ("glGet",   X,      1,      "GL_2_BYTES"),  # 0x1407
358     ("glGet",   X,      1,      "GL_3_BYTES"),  # 0x1408
359     ("glGet",   X,      1,      "GL_4_BYTES"),  # 0x1409
360     ("glGet",   X,      1,      "GL_DOUBLE"),   # 0x140A
361     ("glGet",   X,      1,      "GL_HALF_FLOAT"),       # 0x140B
362     ("glGet",   X,      1,      "GL_FIXED"),    # 0x140C
363     ("glGet",   X,      1,      "GL_INT64_NV"), # 0x140E
364     ("glGet",   X,      1,      "GL_UNSIGNED_INT64_NV"),        # 0x140F
365     ("glGet",   X,      1,      "GL_CLEAR"),    # 0x1500
366     ("glGet",   X,      1,      "GL_AND"),      # 0x1501
367     ("glGet",   X,      1,      "GL_AND_REVERSE"),      # 0x1502
368     ("glGet",   X,      1,      "GL_COPY"),     # 0x1503
369     ("glGet",   X,      1,      "GL_AND_INVERTED"),     # 0x1504
370     ("glGet",   X,      1,      "GL_NOOP"),     # 0x1505
371     ("glGet",   X,      1,      "GL_XOR"),      # 0x1506
372     ("glGet",   X,      1,      "GL_OR"),       # 0x1507
373     ("glGet",   X,      1,      "GL_NOR"),      # 0x1508
374     ("glGet",   X,      1,      "GL_EQUIV"),    # 0x1509
375     ("glGet",   X,      1,      "GL_INVERT"),   # 0x150A
376     ("glGet",   X,      1,      "GL_OR_REVERSE"),       # 0x150B
377     ("glGet",   X,      1,      "GL_COPY_INVERTED"),    # 0x150C
378     ("glGet",   X,      1,      "GL_OR_INVERTED"),      # 0x150D
379     ("glGet",   X,      1,      "GL_NAND"),     # 0x150E
380     ("glGet",   X,      1,      "GL_SET"),      # 0x150F
381     ("glGet",   X,      1,      "GL_EMISSION"), # 0x1600
382     ("glGet",   X,      1,      "GL_SHININESS"),        # 0x1601
383     ("glGet",   X,      1,      "GL_AMBIENT_AND_DIFFUSE"),      # 0x1602
384     ("glGet",   X,      1,      "GL_COLOR_INDEXES"),    # 0x1603
385     ("glGet",   X,      1,      "GL_MODELVIEW"),        # 0x1700
386     ("glGet",   X,      1,      "GL_PROJECTION"),       # 0x1701
387     ("glGet",   X,      1,      "GL_TEXTURE"),  # 0x1702
388     ("glGet",   X,      1,      "GL_COLOR"),    # 0x1800
389     ("glGet",   X,      1,      "GL_DEPTH"),    # 0x1801
390     ("glGet",   X,      1,      "GL_STENCIL"),  # 0x1802
391     ("glGet",   X,      1,      "GL_COLOR_INDEX"),      # 0x1900
392     ("glGet",   X,      1,      "GL_STENCIL_INDEX"),    # 0x1901
393     ("glGet",   X,      1,      "GL_DEPTH_COMPONENT"),  # 0x1902
394     ("glGet",   X,      1,      "GL_RED"),      # 0x1903
395     ("glGet",   X,      1,      "GL_GREEN"),    # 0x1904
396     ("glGet",   X,      1,      "GL_BLUE"),     # 0x1905
397     ("glGet",   X,      1,      "GL_ALPHA"),    # 0x1906
398     ("glGet",   X,      1,      "GL_RGB"),      # 0x1907
399     ("glGet",   X,      1,      "GL_RGBA"),     # 0x1908
400     ("glGet",   X,      1,      "GL_LUMINANCE"),        # 0x1909
401     ("glGet",   X,      1,      "GL_LUMINANCE_ALPHA"),  # 0x190A
402     ("glGet",   X,      1,      "GL_RASTER_POSITION_UNCLIPPED_IBM"),    # 0x19262
403     ("glGet",   X,      1,      "GL_BITMAP"),   # 0x1A00
404     ("glGet",   X,      1,      "GL_PREFER_DOUBLEBUFFER_HINT_PGI"),     # 0x1A1F8
405     ("glGet",   X,      1,      "GL_CONSERVE_MEMORY_HINT_PGI"), # 0x1A1FD
406     ("glGet",   X,      1,      "GL_RECLAIM_MEMORY_HINT_PGI"),  # 0x1A1FE
407     ("glGet",   X,      1,      "GL_NATIVE_GRAPHICS_HANDLE_PGI"),       # 0x1A202
408     ("glGet",   X,      1,      "GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI"),   # 0x1A203
409     ("glGet",   X,      1,      "GL_NATIVE_GRAPHICS_END_HINT_PGI"),     # 0x1A204
410     ("glGet",   X,      1,      "GL_ALWAYS_FAST_HINT_PGI"),     # 0x1A20C
411     ("glGet",   X,      1,      "GL_ALWAYS_SOFT_HINT_PGI"),     # 0x1A20D
412     ("glGet",   X,      1,      "GL_ALLOW_DRAW_OBJ_HINT_PGI"),  # 0x1A20E
413     ("glGet",   X,      1,      "GL_ALLOW_DRAW_WIN_HINT_PGI"),  # 0x1A20F
414     ("glGet",   X,      1,      "GL_ALLOW_DRAW_FRG_HINT_PGI"),  # 0x1A210
415     ("glGet",   X,      1,      "GL_ALLOW_DRAW_MEM_HINT_PGI"),  # 0x1A211
416     ("glGet",   X,      1,      "GL_STRICT_DEPTHFUNC_HINT_PGI"),        # 0x1A216
417     ("glGet",   X,      1,      "GL_STRICT_LIGHTING_HINT_PGI"), # 0x1A217
418     ("glGet",   X,      1,      "GL_STRICT_SCISSOR_HINT_PGI"),  # 0x1A218
419     ("glGet",   X,      1,      "GL_FULL_STIPPLE_HINT_PGI"),    # 0x1A219
420     ("glGet",   X,      1,      "GL_CLIP_NEAR_HINT_PGI"),       # 0x1A220
421     ("glGet",   X,      1,      "GL_CLIP_FAR_HINT_PGI"),        # 0x1A221
422     ("glGet",   X,      1,      "GL_WIDE_LINE_HINT_PGI"),       # 0x1A222
423     ("glGet",   X,      1,      "GL_BACK_NORMALS_HINT_PGI"),    # 0x1A223
424     ("glGet",   X,      1,      "GL_VERTEX_DATA_HINT_PGI"),     # 0x1A22A
425     ("glGet",   X,      1,      "GL_VERTEX_CONSISTENT_HINT_PGI"),       # 0x1A22B
426     ("glGet",   X,      1,      "GL_MATERIAL_SIDE_HINT_PGI"),   # 0x1A22C
427     ("glGet",   X,      1,      "GL_MAX_VERTEX_HINT_PGI"),      # 0x1A22D
428     ("glGet",   X,      1,      "GL_POINT"),    # 0x1B00
429     ("glGet",   X,      1,      "GL_LINE"),     # 0x1B01
430     ("glGet",   X,      1,      "GL_FILL"),     # 0x1B02
431     ("glGet",   X,      1,      "GL_RENDER"),   # 0x1C00
432     ("glGet",   X,      1,      "GL_FEEDBACK"), # 0x1C01
433     ("glGet",   X,      1,      "GL_SELECT"),   # 0x1C02
434     ("glGet",   X,      1,      "GL_FLAT"),     # 0x1D00
435     ("glGet",   X,      1,      "GL_SMOOTH"),   # 0x1D01
436     ("glGet",   X,      1,      "GL_KEEP"),     # 0x1E00
437     ("glGet",   X,      1,      "GL_REPLACE"),  # 0x1E01
438     ("glGet",   X,      1,      "GL_INCR"),     # 0x1E02
439     ("glGet",   X,      1,      "GL_DECR"),     # 0x1E03
440     ("glGet",   S,      1,      "GL_VENDOR"),   # 0x1F00
441     ("glGet",   S,      1,      "GL_RENDERER"), # 0x1F01
442     ("glGet",   S,      1,      "GL_VERSION"),  # 0x1F02
443     ("glGet",   S,      1,      "GL_EXTENSIONS"),       # 0x1F03
444     ("glGet",   X,      1,      "GL_S"),        # 0x2000
445     ("glGet",   X,      1,      "GL_T"),        # 0x2001
446     ("glGet",   X,      1,      "GL_R"),        # 0x2002
447     ("glGet",   X,      1,      "GL_Q"),        # 0x2003
448     ("glGet",   X,      1,      "GL_MODULATE"), # 0x2100
449     ("glGet",   X,      1,      "GL_DECAL"),    # 0x2101
450     ("glGet",   X,      1,      "GL_TEXTURE_ENV_MODE"), # 0x2200
451     ("glGet",   X,      1,      "GL_TEXTURE_ENV_COLOR"),        # 0x2201
452     ("glGet",   X,      1,      "GL_TEXTURE_ENV"),      # 0x2300
453     ("glGet",   X,      1,      "GL_EYE_LINEAR"),       # 0x2400
454     ("glGet",   X,      1,      "GL_OBJECT_LINEAR"),    # 0x2401
455     ("glGet",   X,      1,      "GL_SPHERE_MAP"),       # 0x2402
456     ("glGet",   X,      1,      "GL_TEXTURE_GEN_MODE"), # 0x2500
457     ("glGet",   X,      1,      "GL_OBJECT_PLANE"),     # 0x2501
458     ("glGet",   X,      1,      "GL_EYE_PLANE"),        # 0x2502
459     ("glGet",   X,      1,      "GL_NEAREST"),  # 0x2600
460     ("glGet",   X,      1,      "GL_LINEAR"),   # 0x2601
461     ("glGet",   X,      1,      "GL_NEAREST_MIPMAP_NEAREST"),   # 0x2700
462     ("glGet",   X,      1,      "GL_LINEAR_MIPMAP_NEAREST"),    # 0x2701
463     ("glGet",   X,      1,      "GL_NEAREST_MIPMAP_LINEAR"),    # 0x2702
464     ("glGet",   X,      1,      "GL_LINEAR_MIPMAP_LINEAR"),     # 0x2703
465     ("glGetTexParameter",       E,      1,      "GL_TEXTURE_MAG_FILTER"),       # 0x2800
466     ("glGetTexParameter",       E,      1,      "GL_TEXTURE_MIN_FILTER"),       # 0x2801
467     ("glGetTexParameter",       E,      1,      "GL_TEXTURE_WRAP_S"),   # 0x2802
468     ("glGetTexParameter",       E,      1,      "GL_TEXTURE_WRAP_T"),   # 0x2803
469     ("glGet",   X,      1,      "GL_CLAMP"),    # 0x2900
470     ("glGet",   X,      1,      "GL_REPEAT"),   # 0x2901
471     ("glGet",   F,      1,      "GL_POLYGON_OFFSET_UNITS"),     # 0x2A00
472     ("glGet",   I,      1,      "GL_POLYGON_OFFSET_POINT"),     # 0x2A01
473     ("glGet",   I,      1,      "GL_POLYGON_OFFSET_LINE"),      # 0x2A02
474     ("glGet",   X,      1,      "GL_R3_G3_B2"), # 0x2A10
475     ("glGet",   X,      1,      "GL_V2F"),      # 0x2A20
476     ("glGet",   X,      1,      "GL_V3F"),      # 0x2A21
477     ("glGet",   X,      1,      "GL_C4UB_V2F"), # 0x2A22
478     ("glGet",   X,      1,      "GL_C4UB_V3F"), # 0x2A23
479     ("glGet",   X,      1,      "GL_C3F_V3F"),  # 0x2A24
480     ("glGet",   X,      1,      "GL_N3F_V3F"),  # 0x2A25
481     ("glGet",   X,      1,      "GL_C4F_N3F_V3F"),      # 0x2A26
482     ("glGet",   X,      1,      "GL_T2F_V3F"),  # 0x2A27
483     ("glGet",   X,      1,      "GL_T4F_V4F"),  # 0x2A28
484     ("glGet",   X,      1,      "GL_T2F_C4UB_V3F"),     # 0x2A29
485     ("glGet",   X,      1,      "GL_T2F_C3F_V3F"),      # 0x2A2A
486     ("glGet",   X,      1,      "GL_T2F_N3F_V3F"),      # 0x2A2B
487     ("glGet",   X,      1,      "GL_T2F_C4F_N3F_V3F"),  # 0x2A2C
488     ("glGet",   X,      1,      "GL_T4F_C4F_N3F_V4F"),  # 0x2A2D
489     ("glGet",   B,      1,      "GL_CLIP_PLANE0"),      # 0x3000
490     ("glGet",   B,      1,      "GL_CLIP_PLANE1"),      # 0x3001
491     ("glGet",   B,      1,      "GL_CLIP_PLANE2"),      # 0x3002
492     ("glGet",   B,      1,      "GL_CLIP_PLANE3"),      # 0x3003
493     ("glGet",   B,      1,      "GL_CLIP_PLANE4"),      # 0x3004
494     ("glGet",   B,      1,      "GL_CLIP_PLANE5"),      # 0x3005
495     ("glGet",   X,      1,      "GL_CLIP_DISTANCE6"),   # 0x3006
496     ("glGet",   X,      1,      "GL_CLIP_DISTANCE7"),   # 0x3007
497     ("glGet",   I,      1,      "GL_LIGHT0"),   # 0x4000
498     ("glGet",   I,      1,      "GL_LIGHT1"),   # 0x4001
499     ("glGet",   I,      1,      "GL_LIGHT2"),   # 0x4002
500     ("glGet",   I,      1,      "GL_LIGHT3"),   # 0x4003
501     ("glGet",   I,      1,      "GL_LIGHT4"),   # 0x4004
502     ("glGet",   I,      1,      "GL_LIGHT5"),   # 0x4005
503     ("glGet",   I,      1,      "GL_LIGHT6"),   # 0x4006
504     ("glGet",   I,      1,      "GL_LIGHT7"),   # 0x4007
505     ("glGet",   X,      1,      "GL_ABGR_EXT"), # 0x8000
506     ("glGet",   X,      1,      "GL_CONSTANT_COLOR"),   # 0x8001
507     ("glGet",   X,      1,      "GL_ONE_MINUS_CONSTANT_COLOR"), # 0x8002
508     ("glGet",   X,      1,      "GL_CONSTANT_ALPHA"),   # 0x8003
509     ("glGet",   X,      1,      "GL_ONE_MINUS_CONSTANT_ALPHA"), # 0x8004
510     ("glGet",   F,      4,      "GL_BLEND_COLOR"),      # 0x8005
511     ("glGet",   X,      1,      "GL_FUNC_ADD"), # 0x8006
512     ("glGet",   X,      1,      "GL_MIN"),      # 0x8007
513     ("glGet",   X,      1,      "GL_MAX"),      # 0x8008
514     ("glGet",   E,      1,      "GL_BLEND_EQUATION"),   # 0x8009
515     ("glGet",   X,      1,      "GL_FUNC_SUBTRACT"),    # 0x800A
516     ("glGet",   X,      1,      "GL_FUNC_REVERSE_SUBTRACT"),    # 0x800B
517     ("glGet",   X,      1,      "GL_CMYK_EXT"), # 0x800C
518     ("glGet",   X,      1,      "GL_CMYKA_EXT"),        # 0x800D
519     ("glGet",   I,      1,      "GL_PACK_CMYK_HINT_EXT"),       # 0x800E
520     ("glGet",   I,      1,      "GL_UNPACK_CMYK_HINT_EXT"),     # 0x800F
521     ("glGet",   I,      1,      "GL_CONVOLUTION_1D"),   # 0x8010
522     ("glGet",   I,      1,      "GL_CONVOLUTION_2D"),   # 0x8011
523     ("glGet",   I,      1,      "GL_SEPARABLE_2D"),     # 0x8012
524     ("glGet",   X,      1,      "GL_CONVOLUTION_BORDER_MODE"),  # 0x8013
525     ("glGet",   X,      1,      "GL_CONVOLUTION_FILTER_SCALE"), # 0x8014
526     ("glGet",   X,      1,      "GL_CONVOLUTION_FILTER_BIAS"),  # 0x8015
527     ("glGet",   X,      1,      "GL_REDUCE"),   # 0x8016
528     ("glGet",   X,      1,      "GL_CONVOLUTION_FORMAT"),       # 0x8017
529     ("glGet",   X,      1,      "GL_CONVOLUTION_WIDTH"),        # 0x8018
530     ("glGet",   X,      1,      "GL_CONVOLUTION_HEIGHT"),       # 0x8019
531     ("glGet",   X,      1,      "GL_MAX_CONVOLUTION_WIDTH"),    # 0x801A
532     ("glGet",   X,      1,      "GL_MAX_CONVOLUTION_HEIGHT"),   # 0x801B
533     ("glGet",   F,      1,      "GL_POST_CONVOLUTION_RED_SCALE"),       # 0x801C
534     ("glGet",   F,      1,      "GL_POST_CONVOLUTION_GREEN_SCALE"),     # 0x801D
535     ("glGet",   F,      1,      "GL_POST_CONVOLUTION_BLUE_SCALE"),      # 0x801E
536     ("glGet",   F,      1,      "GL_POST_CONVOLUTION_ALPHA_SCALE"),     # 0x801F
537     ("glGet",   F,      1,      "GL_POST_CONVOLUTION_RED_BIAS"),        # 0x8020
538     ("glGet",   F,      1,      "GL_POST_CONVOLUTION_GREEN_BIAS"),      # 0x8021
539     ("glGet",   F,      1,      "GL_POST_CONVOLUTION_BLUE_BIAS"),       # 0x8022
540     ("glGet",   F,      1,      "GL_POST_CONVOLUTION_ALPHA_BIAS"),      # 0x8023
541     ("glGet",   I,      1,      "GL_HISTOGRAM"),        # 0x8024
542     ("glGet",   X,      1,      "GL_PROXY_HISTOGRAM"),  # 0x8025
543     ("glGet",   X,      1,      "GL_HISTOGRAM_WIDTH"),  # 0x8026
544     ("glGet",   X,      1,      "GL_HISTOGRAM_FORMAT"), # 0x8027
545     ("glGet",   X,      1,      "GL_HISTOGRAM_RED_SIZE"),       # 0x8028
546     ("glGet",   X,      1,      "GL_HISTOGRAM_GREEN_SIZE"),     # 0x8029
547     ("glGet",   X,      1,      "GL_HISTOGRAM_BLUE_SIZE"),      # 0x802A
548     ("glGet",   X,      1,      "GL_HISTOGRAM_ALPHA_SIZE"),     # 0x802B
549     ("glGet",   X,      1,      "GL_HISTOGRAM_LUMINANCE_SIZE"), # 0x802C
550     ("glGet",   X,      1,      "GL_HISTOGRAM_SINK"),   # 0x802D
551     ("glGet",   I,      1,      "GL_MINMAX"),   # 0x802E
552     ("glGet",   X,      1,      "GL_MINMAX_FORMAT"),    # 0x802F
553     ("glGet",   X,      1,      "GL_MINMAX_SINK"),      # 0x8030
554     ("glGet",   X,      1,      "GL_TABLE_TOO_LARGE"),  # 0x8031
555     ("glGet",   X,      1,      "GL_UNSIGNED_BYTE_3_3_2"),      # 0x8032
556     ("glGet",   X,      1,      "GL_UNSIGNED_SHORT_4_4_4_4"),   # 0x8033
557     ("glGet",   X,      1,      "GL_UNSIGNED_SHORT_5_5_5_1"),   # 0x8034
558     ("glGet",   X,      1,      "GL_UNSIGNED_INT_8_8_8_8"),     # 0x8035
559     ("glGet",   X,      1,      "GL_UNSIGNED_INT_10_10_10_2"),  # 0x8036
560     ("glGet",   I,      1,      "GL_POLYGON_OFFSET_FILL"),      # 0x8037
561     ("glGet",   F,      1,      "GL_POLYGON_OFFSET_FACTOR"),    # 0x8038
562     ("glGet",   F,      1,      "GL_POLYGON_OFFSET_BIAS_EXT"),  # 0x8039
563     ("glGet",   I,      1,      "GL_RESCALE_NORMAL"),   # 0x803A
564     ("glGet",   X,      1,      "GL_ALPHA4"),   # 0x803B
565     ("glGet",   X,      1,      "GL_ALPHA8"),   # 0x803C
566     ("glGet",   X,      1,      "GL_ALPHA12"),  # 0x803D
567     ("glGet",   X,      1,      "GL_ALPHA16"),  # 0x803E
568     ("glGet",   X,      1,      "GL_LUMINANCE4"),       # 0x803F
569     ("glGet",   X,      1,      "GL_LUMINANCE8"),       # 0x8040
570     ("glGet",   X,      1,      "GL_LUMINANCE12"),      # 0x8041
571     ("glGet",   X,      1,      "GL_LUMINANCE16"),      # 0x8042
572     ("glGet",   X,      1,      "GL_LUMINANCE4_ALPHA4"),        # 0x8043
573     ("glGet",   X,      1,      "GL_LUMINANCE6_ALPHA2"),        # 0x8044
574     ("glGet",   X,      1,      "GL_LUMINANCE8_ALPHA8"),        # 0x8045
575     ("glGet",   X,      1,      "GL_LUMINANCE12_ALPHA4"),       # 0x8046
576     ("glGet",   X,      1,      "GL_LUMINANCE12_ALPHA12"),      # 0x8047
577     ("glGet",   X,      1,      "GL_LUMINANCE16_ALPHA16"),      # 0x8048
578     ("glGet",   X,      1,      "GL_INTENSITY"),        # 0x8049
579     ("glGet",   X,      1,      "GL_INTENSITY4"),       # 0x804A
580     ("glGet",   X,      1,      "GL_INTENSITY8"),       # 0x804B
581     ("glGet",   X,      1,      "GL_INTENSITY12"),      # 0x804C
582     ("glGet",   X,      1,      "GL_INTENSITY16"),      # 0x804D
583     ("glGet",   X,      1,      "GL_RGB2_EXT"), # 0x804E
584     ("glGet",   X,      1,      "GL_RGB4"),     # 0x804F
585     ("glGet",   X,      1,      "GL_RGB5"),     # 0x8050
586     ("glGet",   X,      1,      "GL_RGB8"),     # 0x8051
587     ("glGet",   X,      1,      "GL_RGB10"),    # 0x8052
588     ("glGet",   X,      1,      "GL_RGB12"),    # 0x8053
589     ("glGet",   X,      1,      "GL_RGB16"),    # 0x8054
590     ("glGet",   X,      1,      "GL_RGBA2"),    # 0x8055
591     ("glGet",   X,      1,      "GL_RGBA4"),    # 0x8056
592     ("glGet",   X,      1,      "GL_RGB5_A1"),  # 0x8057
593     ("glGet",   X,      1,      "GL_RGBA8"),    # 0x8058
594     ("glGet",   X,      1,      "GL_RGB10_A2"), # 0x8059
595     ("glGet",   X,      1,      "GL_RGBA12"),   # 0x805A
596     ("glGet",   X,      1,      "GL_RGBA16"),   # 0x805B
597     ("glGetTexLevelParameter",  I,      1,      "GL_TEXTURE_RED_SIZE"), # 0x805C
598     ("glGetTexLevelParameter",  I,      1,      "GL_TEXTURE_GREEN_SIZE"),       # 0x805D
599     ("glGetTexLevelParameter",  I,      1,      "GL_TEXTURE_BLUE_SIZE"),        # 0x805E
600     ("glGetTexLevelParameter",  I,      1,      "GL_TEXTURE_ALPHA_SIZE"),       # 0x805F
601     ("glGetTexLevelParameter",  I,      1,      "GL_TEXTURE_LUMINANCE_SIZE"),   # 0x8060
602     ("glGetTexLevelParameter",  I,      1,      "GL_TEXTURE_INTENSITY_SIZE"),   # 0x8061
603     ("glGet",   X,      1,      "GL_REPLACE_EXT"),      # 0x8062
604     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_1D"), # 0x8063
605     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_2D"), # 0x8064
606     ("glGet",   X,      1,      "GL_TEXTURE_TOO_LARGE_EXT"),    # 0x8065
607     ("glGetTexParameter",       I,      1,      "GL_TEXTURE_PRIORITY"), # 0x8066
608     ("glGetTexParameter",       B,      1,      "GL_TEXTURE_RESIDENT"), # 0x8067
609     ("glGet",   I,      1,      "GL_TEXTURE_BINDING_1D"),       # 0x8068
610     ("glGet",   I,      1,      "GL_TEXTURE_BINDING_2D"),       # 0x8069
611     ("glGet",   I,      1,      "GL_TEXTURE_BINDING_3D"),       # 0x806A
612     ("glGet",   I,      1,      "GL_PACK_SKIP_IMAGES"), # 0x806B
613     ("glGet",   F,      1,      "GL_PACK_IMAGE_HEIGHT"),        # 0x806C
614     ("glGet",   I,      1,      "GL_UNPACK_SKIP_IMAGES"),       # 0x806D
615     ("glGet",   F,      1,      "GL_UNPACK_IMAGE_HEIGHT"),      # 0x806E
616     ("glGet",   B,      1,      "GL_TEXTURE_3D"),       # 0x806F
617     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_3D"), # 0x8070
618     ("glGetTexLevelParameter",  I,      1,      "GL_TEXTURE_DEPTH"),    # 0x8071
619     ("glGetTexParameter",       E,      1,      "GL_TEXTURE_WRAP_R"),   # 0x8072
620     ("glGet",   I,      1,      "GL_MAX_3D_TEXTURE_SIZE"),      # 0x8073
621     ("glGet",   B,      1,      "GL_VERTEX_ARRAY"),     # 0x8074
622     ("glGet",   B,      1,      "GL_NORMAL_ARRAY"),     # 0x8075
623     ("glGet",   B,      1,      "GL_COLOR_ARRAY"),      # 0x8076
624     ("glGet",   B,      1,      "GL_INDEX_ARRAY"),      # 0x8077
625     ("glGet",   B,      1,      "GL_TEXTURE_COORD_ARRAY"),      # 0x8078
626     ("glGet",   B,      1,      "GL_EDGE_FLAG_ARRAY"),  # 0x8079
627     ("glGet",   I,      1,      "GL_VERTEX_ARRAY_SIZE"),        # 0x807A
628     ("glGet",   E,      1,      "GL_VERTEX_ARRAY_TYPE"),        # 0x807B
629     ("glGet",   I,      1,      "GL_VERTEX_ARRAY_STRIDE"),      # 0x807C
630     ("glGet",   I,      1,      "GL_VERTEX_ARRAY_COUNT_EXT"),   # 0x807D
631     ("glGet",   E,      1,      "GL_NORMAL_ARRAY_TYPE"),        # 0x807E
632     ("glGet",   I,      1,      "GL_NORMAL_ARRAY_STRIDE"),      # 0x807F
633     ("glGet",   I,      1,      "GL_NORMAL_ARRAY_COUNT_EXT"),   # 0x8080
634     ("glGet",   I,      1,      "GL_COLOR_ARRAY_SIZE"), # 0x8081
635     ("glGet",   E,      1,      "GL_COLOR_ARRAY_TYPE"), # 0x8082
636     ("glGet",   I,      1,      "GL_COLOR_ARRAY_STRIDE"),       # 0x8083
637     ("glGet",   I,      1,      "GL_COLOR_ARRAY_COUNT_EXT"),    # 0x8084
638     ("glGet",   E,      1,      "GL_INDEX_ARRAY_TYPE"), # 0x8085
639     ("glGet",   I,      1,      "GL_INDEX_ARRAY_STRIDE"),       # 0x8086
640     ("glGet",   I,      1,      "GL_INDEX_ARRAY_COUNT_EXT"),    # 0x8087
641     ("glGet",   I,      1,      "GL_TEXTURE_COORD_ARRAY_SIZE"), # 0x8088
642     ("glGet",   E,      1,      "GL_TEXTURE_COORD_ARRAY_TYPE"), # 0x8089
643     ("glGet",   I,      1,      "GL_TEXTURE_COORD_ARRAY_STRIDE"),       # 0x808A
644     ("glGet",   I,      1,      "GL_TEXTURE_COORD_ARRAY_COUNT_EXT"),    # 0x808B
645     ("glGet",   I,      1,      "GL_EDGE_FLAG_ARRAY_STRIDE"),   # 0x808C
646     ("glGet",   I,      1,      "GL_EDGE_FLAG_ARRAY_COUNT_EXT"),        # 0x808D
647     ("glGet",   P,      1,      "GL_VERTEX_ARRAY_POINTER"),     # 0x808E
648     ("glGet",   P,      1,      "GL_NORMAL_ARRAY_POINTER"),     # 0x808F
649     ("glGet",   P,      1,      "GL_COLOR_ARRAY_POINTER"),      # 0x8090
650     ("glGet",   P,      1,      "GL_INDEX_ARRAY_POINTER"),      # 0x8091
651     ("glGet",   P,      1,      "GL_TEXTURE_COORD_ARRAY_POINTER"),      # 0x8092
652     ("glGet",   P,      1,      "GL_EDGE_FLAG_ARRAY_POINTER"),  # 0x8093
653     ("glGet",   I,      1,      "GL_INTERLACE_SGIX"),   # 0x8094
654     ("glGet",   X,      1,      "GL_DETAIL_TEXTURE_2D_SGIS"),   # 0x8095
655     ("glGet",   I,      1,      "GL_DETAIL_TEXTURE_2D_BINDING_SGIS"),   # 0x8096
656     ("glGet",   X,      1,      "GL_LINEAR_DETAIL_SGIS"),       # 0x8097
657     ("glGet",   X,      1,      "GL_LINEAR_DETAIL_ALPHA_SGIS"), # 0x8098
658     ("glGet",   X,      1,      "GL_LINEAR_DETAIL_COLOR_SGIS"), # 0x8099
659     ("glGet",   X,      1,      "GL_DETAIL_TEXTURE_LEVEL_SGIS"),        # 0x809A
660     ("glGet",   X,      1,      "GL_DETAIL_TEXTURE_MODE_SGIS"), # 0x809B
661     ("glGet",   X,      1,      "GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS"),  # 0x809C
662     ("glGet",   I,      1,      "GL_MULTISAMPLE"),      # 0x809D
663     ("glGet",   I,      1,      "GL_SAMPLE_ALPHA_TO_COVERAGE"), # 0x809E
664     ("glGet",   I,      1,      "GL_SAMPLE_ALPHA_TO_ONE"),      # 0x809F
665     ("glGet",   I,      1,      "GL_SAMPLE_COVERAGE"),  # 0x80A0
666     ("glGet",   X,      1,      "GL_1PASS_EXT"),        # 0x80A1
667     ("glGet",   X,      1,      "GL_2PASS_0_EXT"),      # 0x80A2
668     ("glGet",   X,      1,      "GL_2PASS_1_EXT"),      # 0x80A3
669     ("glGet",   X,      1,      "GL_4PASS_0_EXT"),      # 0x80A4
670     ("glGet",   X,      1,      "GL_4PASS_1_EXT"),      # 0x80A5
671     ("glGet",   X,      1,      "GL_4PASS_2_EXT"),      # 0x80A6
672     ("glGet",   X,      1,      "GL_4PASS_3_EXT"),      # 0x80A7
673     ("glGet",   I,      1,      "GL_SAMPLE_BUFFERS"),   # 0x80A8
674     ("glGet",   I,      1,      "GL_SAMPLES"),  # 0x80A9
675     ("glGet",   F,      1,      "GL_SAMPLE_COVERAGE_VALUE"),    # 0x80AA
676     ("glGet",   I,      1,      "GL_SAMPLE_COVERAGE_INVERT"),   # 0x80AB
677     ("glGet",   I,      1,      "GL_SAMPLE_PATTERN_EXT"),       # 0x80AC
678     ("glGet",   X,      1,      "GL_LINEAR_SHARPEN_SGIS"),      # 0x80AD
679     ("glGet",   X,      1,      "GL_LINEAR_SHARPEN_ALPHA_SGIS"),        # 0x80AE
680     ("glGet",   X,      1,      "GL_LINEAR_SHARPEN_COLOR_SGIS"),        # 0x80AF
681     ("glGet",   X,      1,      "GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS"), # 0x80B0
682     ("glGet",   F,      16,     "GL_COLOR_MATRIX"),     # 0x80B1
683     ("glGet",   I,      1,      "GL_COLOR_MATRIX_STACK_DEPTH"), # 0x80B2
684     ("glGet",   I,      1,      "GL_MAX_COLOR_MATRIX_STACK_DEPTH"),     # 0x80B3
685     ("glGet",   F,      1,      "GL_POST_COLOR_MATRIX_RED_SCALE"),      # 0x80B4
686     ("glGet",   F,      1,      "GL_POST_COLOR_MATRIX_GREEN_SCALE"),    # 0x80B5
687     ("glGet",   F,      1,      "GL_POST_COLOR_MATRIX_BLUE_SCALE"),     # 0x80B6
688     ("glGet",   F,      1,      "GL_POST_COLOR_MATRIX_ALPHA_SCALE"),    # 0x80B7
689     ("glGet",   F,      1,      "GL_POST_COLOR_MATRIX_RED_BIAS"),       # 0x80B8
690     ("glGet",   F,      1,      "GL_POST_COLOR_MATRIX_GREEN_BIAS"),     # 0x80B9
691     ("glGet",   F,      1,      "GL_POST_COLOR_MATRIX_BLUE_BIAS"),      # 0x80BA
692     ("glGet",   F,      1,      "GL_POST_COLOR_MATRIX_ALPHA_BIAS"),     # 0x80BB
693     ("glGet",   I,      1,      "GL_TEXTURE_COLOR_TABLE_SGI"),  # 0x80BC
694     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_COLOR_TABLE_SGI"),    # 0x80BD
695     ("glGet",   X,      1,      "GL_TEXTURE_ENV_BIAS_SGIX"),    # 0x80BE
696     ("glGet",   X,      1,      "GL_TEXTURE_COMPARE_FAIL_VALUE_ARB"),   # 0x80BF
697     ("glGet",   X,      1,      "GL_BLEND_DST_RGB"),    # 0x80C8
698     ("glGet",   X,      1,      "GL_BLEND_SRC_RGB"),    # 0x80C9
699     ("glGet",   X,      1,      "GL_BLEND_DST_ALPHA"),  # 0x80CA
700     ("glGet",   X,      1,      "GL_BLEND_SRC_ALPHA"),  # 0x80CB
701     ("glGet",   X,      1,      "GL_422_EXT"),  # 0x80CC
702     ("glGet",   X,      1,      "GL_422_REV_EXT"),      # 0x80CD
703     ("glGet",   X,      1,      "GL_422_AVERAGE_EXT"),  # 0x80CE
704     ("glGet",   X,      1,      "GL_422_REV_AVERAGE_EXT"),      # 0x80CF
705     ("glGet",   I,      1,      "GL_COLOR_TABLE"),      # 0x80D0
706     ("glGet",   I,      1,      "GL_POST_CONVOLUTION_COLOR_TABLE"),     # 0x80D1
707     ("glGet",   I,      1,      "GL_POST_COLOR_MATRIX_COLOR_TABLE"),    # 0x80D2
708     ("glGet",   X,      1,      "GL_PROXY_COLOR_TABLE"),        # 0x80D3
709     ("glGet",   X,      1,      "GL_PROXY_POST_CONVOLUTION_COLOR_TABLE"),       # 0x80D4
710     ("glGet",   X,      1,      "GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE"),      # 0x80D5
711     ("glGet",   X,      1,      "GL_COLOR_TABLE_SCALE"),        # 0x80D6
712     ("glGet",   X,      1,      "GL_COLOR_TABLE_BIAS"), # 0x80D7
713     ("glGet",   X,      1,      "GL_COLOR_TABLE_FORMAT"),       # 0x80D8
714     ("glGet",   X,      1,      "GL_COLOR_TABLE_WIDTH"),        # 0x80D9
715     ("glGet",   X,      1,      "GL_COLOR_TABLE_RED_SIZE"),     # 0x80DA
716     ("glGet",   X,      1,      "GL_COLOR_TABLE_GREEN_SIZE"),   # 0x80DB
717     ("glGet",   X,      1,      "GL_COLOR_TABLE_BLUE_SIZE"),    # 0x80DC
718     ("glGet",   X,      1,      "GL_COLOR_TABLE_ALPHA_SIZE"),   # 0x80DD
719     ("glGet",   X,      1,      "GL_COLOR_TABLE_LUMINANCE_SIZE"),       # 0x80DE
720     ("glGet",   X,      1,      "GL_COLOR_TABLE_INTENSITY_SIZE"),       # 0x80DF
721     ("glGet",   X,      1,      "GL_BGR"),      # 0x80E0
722     ("glGet",   X,      1,      "GL_BGRA"),     # 0x80E1
723     ("glGet",   X,      1,      "GL_COLOR_INDEX1_EXT"), # 0x80E2
724     ("glGet",   X,      1,      "GL_COLOR_INDEX2_EXT"), # 0x80E3
725     ("glGet",   X,      1,      "GL_COLOR_INDEX4_EXT"), # 0x80E4
726     ("glGet",   X,      1,      "GL_COLOR_INDEX8_EXT"), # 0x80E5
727     ("glGet",   X,      1,      "GL_COLOR_INDEX12_EXT"),        # 0x80E6
728     ("glGet",   X,      1,      "GL_COLOR_INDEX16_EXT"),        # 0x80E7
729     ("glGet",   I,      1,      "GL_MAX_ELEMENTS_VERTICES"),    # 0x80E8
730     ("glGet",   I,      1,      "GL_MAX_ELEMENTS_INDICES"),     # 0x80E9
731     ("glGet",   X,      1,      "GL_PHONG_WIN"),        # 0x80EA
732     ("glGet",   X,      1,      "GL_PHONG_HINT_WIN"),   # 0x80EB
733     ("glGet",   X,      1,      "GL_FOG_SPECULAR_TEXTURE_WIN"), # 0x80EC
734     ("glGet",   X,      1,      "GL_TEXTURE_INDEX_SIZE_EXT"),   # 0x80ED
735     ("glGet",   X,      1,      "GL_CLIP_VOLUME_CLIPPING_HINT_EXT"),    # 0x80F0
736     ("glGet",   X,      1,      "GL_DUAL_ALPHA4_SGIS"), # 0x8110
737     ("glGet",   X,      1,      "GL_DUAL_ALPHA8_SGIS"), # 0x8111
738     ("glGet",   X,      1,      "GL_DUAL_ALPHA12_SGIS"),        # 0x8112
739     ("glGet",   X,      1,      "GL_DUAL_ALPHA16_SGIS"),        # 0x8113
740     ("glGet",   X,      1,      "GL_DUAL_LUMINANCE4_SGIS"),     # 0x8114
741     ("glGet",   X,      1,      "GL_DUAL_LUMINANCE8_SGIS"),     # 0x8115
742     ("glGet",   X,      1,      "GL_DUAL_LUMINANCE12_SGIS"),    # 0x8116
743     ("glGet",   X,      1,      "GL_DUAL_LUMINANCE16_SGIS"),    # 0x8117
744     ("glGet",   X,      1,      "GL_DUAL_INTENSITY4_SGIS"),     # 0x8118
745     ("glGet",   X,      1,      "GL_DUAL_INTENSITY8_SGIS"),     # 0x8119
746     ("glGet",   X,      1,      "GL_DUAL_INTENSITY12_SGIS"),    # 0x811A
747     ("glGet",   X,      1,      "GL_DUAL_INTENSITY16_SGIS"),    # 0x811B
748     ("glGet",   X,      1,      "GL_DUAL_LUMINANCE_ALPHA4_SGIS"),       # 0x811C
749     ("glGet",   X,      1,      "GL_DUAL_LUMINANCE_ALPHA8_SGIS"),       # 0x811D
750     ("glGet",   X,      1,      "GL_QUAD_ALPHA4_SGIS"), # 0x811E
751     ("glGet",   X,      1,      "GL_QUAD_ALPHA8_SGIS"), # 0x811F
752     ("glGet",   X,      1,      "GL_QUAD_LUMINANCE4_SGIS"),     # 0x8120
753     ("glGet",   X,      1,      "GL_QUAD_LUMINANCE8_SGIS"),     # 0x8121
754     ("glGet",   X,      1,      "GL_QUAD_INTENSITY4_SGIS"),     # 0x8122
755     ("glGet",   X,      1,      "GL_QUAD_INTENSITY8_SGIS"),     # 0x8123
756     ("glGet",   X,      1,      "GL_DUAL_TEXTURE_SELECT_SGIS"), # 0x8124
757     ("glGet",   X,      1,      "GL_QUAD_TEXTURE_SELECT_SGIS"), # 0x8125
758     ("glGet",   F,      1,      "GL_POINT_SIZE_MIN"),   # 0x8126
759     ("glGet",   F,      1,      "GL_POINT_SIZE_MAX"),   # 0x8127
760     ("glGet",   F,      1,      "GL_POINT_FADE_THRESHOLD_SIZE"),        # 0x8128
761     ("glGet",   F,      3,      "GL_POINT_DISTANCE_ATTENUATION"),       # 0x8129
762     ("glGet",   X,      1,      "GL_FOG_FUNC_SGIS"),    # 0x812A
763     ("glGet",   I,      1,      "GL_FOG_FUNC_POINTS_SGIS"),     # 0x812B
764     ("glGet",   I,      1,      "GL_MAX_FOG_FUNC_POINTS_SGIS"), # 0x812C
765     ("glGet",   X,      1,      "GL_CLAMP_TO_BORDER"),  # 0x812D
766     ("glGet",   X,      1,      "GL_TEXTURE_MULTI_BUFFER_HINT_SGIX"),   # 0x812E
767     ("glGet",   X,      1,      "GL_CLAMP_TO_EDGE"),    # 0x812F
768     ("glGet",   I,      1,      "GL_PACK_SKIP_VOLUMES_SGIS"),   # 0x8130
769     ("glGet",   I,      1,      "GL_PACK_IMAGE_DEPTH_SGIS"),    # 0x8131
770     ("glGet",   I,      1,      "GL_UNPACK_SKIP_VOLUMES_SGIS"), # 0x8132
771     ("glGet",   I,      1,      "GL_UNPACK_IMAGE_DEPTH_SGIS"),  # 0x8133
772     ("glGet",   I,      1,      "GL_TEXTURE_4D_SGIS"),  # 0x8134
773     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_4D_SGIS"),    # 0x8135
774     ("glGet",   X,      1,      "GL_TEXTURE_4DSIZE_SGIS"),      # 0x8136
775     ("glGet",   X,      1,      "GL_TEXTURE_WRAP_Q_SGIS"),      # 0x8137
776     ("glGet",   I,      1,      "GL_MAX_4D_TEXTURE_SIZE_SGIS"), # 0x8138
777     ("glGet",   I,      1,      "GL_PIXEL_TEX_GEN_SGIX"),       # 0x8139
778     ("glGetTexParameter",       F,      1,      "GL_TEXTURE_MIN_LOD"),  # 0x813A
779     ("glGetTexParameter",       F,      1,      "GL_TEXTURE_MAX_LOD"),  # 0x813B
780     ("glGetTexParameter",       F,      1,      "GL_TEXTURE_BASE_LEVEL"),       # 0x813C
781     ("glGetTexParameter",       F,      1,      "GL_TEXTURE_MAX_LEVEL"),        # 0x813D
782     ("glGet",   I,      1,      "GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX"),   # 0x813E
783     ("glGet",   I,      1,      "GL_PIXEL_TILE_CACHE_INCREMENT_SGIX"),  # 0x813F
784     ("glGet",   I,      1,      "GL_PIXEL_TILE_WIDTH_SGIX"),    # 0x8140
785     ("glGet",   I,      1,      "GL_PIXEL_TILE_HEIGHT_SGIX"),   # 0x8141
786     ("glGet",   I,      1,      "GL_PIXEL_TILE_GRID_WIDTH_SGIX"),       # 0x8142
787     ("glGet",   I,      1,      "GL_PIXEL_TILE_GRID_HEIGHT_SGIX"),      # 0x8143
788     ("glGet",   I,      1,      "GL_PIXEL_TILE_GRID_DEPTH_SGIX"),       # 0x8144
789     ("glGet",   I,      1,      "GL_PIXEL_TILE_CACHE_SIZE_SGIX"),       # 0x8145
790     ("glGet",   X,      1,      "GL_FILTER4_SGIS"),     # 0x8146
791     ("glGet",   X,      1,      "GL_TEXTURE_FILTER4_SIZE_SGIS"),        # 0x8147
792     ("glGet",   I,      1,      "GL_SPRITE_SGIX"),      # 0x8148
793     ("glGet",   I,      1,      "GL_SPRITE_MODE_SGIX"), # 0x8149
794     ("glGet",   F,      3,      "GL_SPRITE_AXIS_SGIX"), # 0x814A
795     ("glGet",   F,      3,      "GL_SPRITE_TRANSLATION_SGIX"),  # 0x814B
796     ("glGet",   X,      1,      "GL_SPRITE_AXIAL_SGIX"),        # 0x814C
797     ("glGet",   X,      1,      "GL_SPRITE_OBJECT_ALIGNED_SGIX"),       # 0x814D
798     ("glGet",   X,      1,      "GL_SPRITE_EYE_ALIGNED_SGIX"),  # 0x814E
799     ("glGet",   I,      1,      "GL_TEXTURE_4D_BINDING_SGIS"),  # 0x814F
800     ("glGet",   X,      1,      "GL_IGNORE_BORDER_HP"), # 0x8150
801     ("glGet",   X,      1,      "GL_CONSTANT_BORDER"),  # 0x8151
802     ("glGet",   X,      1,      "GL_REPLICATE_BORDER"), # 0x8153
803     ("glGet",   X,      1,      "GL_CONVOLUTION_BORDER_COLOR"), # 0x8154
804     ("glGet",   X,      1,      "GL_IMAGE_SCALE_X_HP"), # 0x8155
805     ("glGet",   X,      1,      "GL_IMAGE_SCALE_Y_HP"), # 0x8156
806     ("glGet",   X,      1,      "GL_IMAGE_TRANSLATE_X_HP"),     # 0x8157
807     ("glGet",   X,      1,      "GL_IMAGE_TRANSLATE_Y_HP"),     # 0x8158
808     ("glGet",   X,      1,      "GL_IMAGE_ROTATE_ANGLE_HP"),    # 0x8159
809     ("glGet",   X,      1,      "GL_IMAGE_ROTATE_ORIGIN_X_HP"), # 0x815A
810     ("glGet",   X,      1,      "GL_IMAGE_ROTATE_ORIGIN_Y_HP"), # 0x815B
811     ("glGet",   X,      1,      "GL_IMAGE_MAG_FILTER_HP"),      # 0x815C
812     ("glGet",   X,      1,      "GL_IMAGE_MIN_FILTER_HP"),      # 0x815D
813     ("glGet",   X,      1,      "GL_IMAGE_CUBIC_WEIGHT_HP"),    # 0x815E
814     ("glGet",   X,      1,      "GL_CUBIC_HP"), # 0x815F
815     ("glGet",   X,      1,      "GL_AVERAGE_HP"),       # 0x8160
816     ("glGet",   X,      1,      "GL_IMAGE_TRANSFORM_2D_HP"),    # 0x8161
817     ("glGet",   X,      1,      "GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP"),      # 0x8162
818     ("glGet",   X,      1,      "GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP"),        # 0x8163
819     ("glGet",   X,      1,      "GL_OCCLUSION_TEST_HP"),        # 0x8165
820     ("glGet",   X,      1,      "GL_OCCLUSION_TEST_RESULT_HP"), # 0x8166
821     ("glGet",   X,      1,      "GL_TEXTURE_LIGHTING_MODE_HP"), # 0x8167
822     ("glGet",   X,      1,      "GL_TEXTURE_POST_SPECULAR_HP"), # 0x8168
823     ("glGet",   X,      1,      "GL_TEXTURE_PRE_SPECULAR_HP"),  # 0x8169
824     ("glGet",   X,      1,      "GL_LINEAR_CLIPMAP_LINEAR_SGIX"),       # 0x8170
825     ("glGet",   X,      1,      "GL_TEXTURE_CLIPMAP_CENTER_SGIX"),      # 0x8171
826     ("glGet",   X,      1,      "GL_TEXTURE_CLIPMAP_FRAME_SGIX"),       # 0x8172
827     ("glGet",   X,      1,      "GL_TEXTURE_CLIPMAP_OFFSET_SGIX"),      # 0x8173
828     ("glGet",   X,      1,      "GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX"),       # 0x8174
829     ("glGet",   X,      1,      "GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX"),  # 0x8175
830     ("glGet",   X,      1,      "GL_TEXTURE_CLIPMAP_DEPTH_SGIX"),       # 0x8176
831     ("glGet",   I,      1,      "GL_MAX_CLIPMAP_DEPTH_SGIX"),   # 0x8177
832     ("glGet",   I,      1,      "GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX"),   # 0x8178
833     ("glGet",   X,      1,      "GL_POST_TEXTURE_FILTER_BIAS_SGIX"),    # 0x8179
834     ("glGet",   X,      1,      "GL_POST_TEXTURE_FILTER_SCALE_SGIX"),   # 0x817A
835     ("glGet",   F,      2,      "GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX"),      # 0x817B
836     ("glGet",   F,      2,      "GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX"),     # 0x817C
837     ("glGet",   I,      1,      "GL_REFERENCE_PLANE_SGIX"),     # 0x817D
838     ("glGet",   F,      4,      "GL_REFERENCE_PLANE_EQUATION_SGIX"),    # 0x817E
839     ("glGet",   I,      1,      "GL_IR_INSTRUMENT1_SGIX"),      # 0x817F
840     ("glGet",   X,      1,      "GL_INSTRUMENT_BUFFER_POINTER_SGIX"),   # 0x8180
841     ("glGet",   I,      1,      "GL_INSTRUMENT_MEASUREMENTS_SGIX"),     # 0x8181
842     ("glGet",   X,      1,      "GL_LIST_PRIORITY_SGIX"),       # 0x8182
843     ("glGet",   I,      1,      "GL_CALLIGRAPHIC_FRAGMENT_SGIX"),       # 0x8183
844     ("glGet",   X,      1,      "GL_PIXEL_TEX_GEN_Q_CEILING_SGIX"),     # 0x8184
845     ("glGet",   X,      1,      "GL_PIXEL_TEX_GEN_Q_ROUND_SGIX"),       # 0x8185
846     ("glGet",   X,      1,      "GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX"),       # 0x8186
847     ("glGet",   X,      1,      "GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX"), # 0x8187
848     ("glGet",   X,      1,      "GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX"),      # 0x8188
849     ("glGet",   X,      1,      "GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX"),      # 0x8189
850     ("glGet",   X,      1,      "GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX"),      # 0x818A
851     ("glGet",   I,      1,      "GL_FRAMEZOOM_SGIX"),   # 0x818B
852     ("glGet",   I,      1,      "GL_FRAMEZOOM_FACTOR_SGIX"),    # 0x818C
853     ("glGet",   I,      1,      "GL_MAX_FRAMEZOOM_FACTOR_SGIX"),        # 0x818D
854     ("glGet",   X,      1,      "GL_TEXTURE_LOD_BIAS_S_SGIX"),  # 0x818E
855     ("glGet",   X,      1,      "GL_TEXTURE_LOD_BIAS_T_SGIX"),  # 0x818F
856     ("glGet",   X,      1,      "GL_TEXTURE_LOD_BIAS_R_SGIX"),  # 0x8190
857     ("glGetTexParameter",       B,      1,      "GL_GENERATE_MIPMAP"),  # 0x8191
858     ("glGet",   E,      1,      "GL_GENERATE_MIPMAP_HINT"),     # 0x8192
859     ("glGet",   X,      1,      "GL_GEOMETRY_DEFORMATION_SGIX"),        # 0x8194
860     ("glGet",   X,      1,      "GL_TEXTURE_DEFORMATION_SGIX"), # 0x8195
861     ("glGet",   I,      1,      "GL_DEFORMATIONS_MASK_SGIX"),   # 0x8196
862     ("glGet",   X,      1,      "GL_MAX_DEFORMATION_ORDER_SGIX"),       # 0x8197
863     ("glGet",   I,      1,      "GL_FOG_OFFSET_SGIX"),  # 0x8198
864     ("glGet",   F,      4,      "GL_FOG_OFFSET_VALUE_SGIX"),    # 0x8199
865     ("glGet",   X,      1,      "GL_TEXTURE_COMPARE_SGIX"),     # 0x819A
866     ("glGet",   X,      1,      "GL_TEXTURE_COMPARE_OPERATOR_SGIX"),    # 0x819B
867     ("glGet",   X,      1,      "GL_TEXTURE_LEQUAL_R_SGIX"),    # 0x819C
868     ("glGet",   X,      1,      "GL_TEXTURE_GEQUAL_R_SGIX"),    # 0x819D
869     ("glGet",   X,      1,      "GL_DEPTH_COMPONENT16"),        # 0x81A5
870     ("glGet",   X,      1,      "GL_DEPTH_COMPONENT24"),        # 0x81A6
871     ("glGet",   X,      1,      "GL_DEPTH_COMPONENT32"),        # 0x81A7
872     ("glGet",   X,      1,      "GL_ARRAY_ELEMENT_LOCK_FIRST_EXT"),     # 0x81A8
873     ("glGet",   X,      1,      "GL_ARRAY_ELEMENT_LOCK_COUNT_EXT"),     # 0x81A9
874     ("glGet",   X,      1,      "GL_CULL_VERTEX_EXT"),  # 0x81AA
875     ("glGet",   X,      1,      "GL_CULL_VERTEX_EYE_POSITION_EXT"),     # 0x81AB
876     ("glGet",   X,      1,      "GL_CULL_VERTEX_OBJECT_POSITION_EXT"),  # 0x81AC
877     ("glGet",   X,      1,      "GL_IUI_V2F_EXT"),      # 0x81AD
878     ("glGet",   X,      1,      "GL_IUI_V3F_EXT"),      # 0x81AE
879     ("glGet",   X,      1,      "GL_IUI_N3F_V2F_EXT"),  # 0x81AF
880     ("glGet",   X,      1,      "GL_IUI_N3F_V3F_EXT"),  # 0x81B0
881     ("glGet",   X,      1,      "GL_T2F_IUI_V2F_EXT"),  # 0x81B1
882     ("glGet",   X,      1,      "GL_T2F_IUI_V3F_EXT"),  # 0x81B2
883     ("glGet",   X,      1,      "GL_T2F_IUI_N3F_V2F_EXT"),      # 0x81B3
884     ("glGet",   X,      1,      "GL_T2F_IUI_N3F_V3F_EXT"),      # 0x81B4
885     ("glGet",   X,      1,      "GL_INDEX_TEST_EXT"),   # 0x81B5
886     ("glGet",   X,      1,      "GL_INDEX_TEST_FUNC_EXT"),      # 0x81B6
887     ("glGet",   X,      1,      "GL_INDEX_TEST_REF_EXT"),       # 0x81B7
888     ("glGet",   X,      1,      "GL_INDEX_MATERIAL_EXT"),       # 0x81B8
889     ("glGet",   X,      1,      "GL_INDEX_MATERIAL_PARAMETER_EXT"),     # 0x81B9
890     ("glGet",   X,      1,      "GL_INDEX_MATERIAL_FACE_EXT"),  # 0x81BA
891     ("glGet",   X,      1,      "GL_YCRCB_422_SGIX"),   # 0x81BB
892     ("glGet",   X,      1,      "GL_YCRCB_444_SGIX"),   # 0x81BC
893     ("glGet",   X,      1,      "GL_WRAP_BORDER_SUN"),  # 0x81D4
894     ("glGet",   X,      1,      "GL_UNPACK_CONSTANT_DATA_SUNX"),        # 0x81D5
895     ("glGet",   X,      1,      "GL_TEXTURE_CONSTANT_DATA_SUNX"),       # 0x81D6
896     ("glGet",   X,      1,      "GL_TRIANGLE_LIST_SUN"),        # 0x81D7
897     ("glGet",   X,      1,      "GL_REPLACEMENT_CODE_SUN"),     # 0x81D8
898     ("glGet",   X,      1,      "GL_GLOBAL_ALPHA_SUN"), # 0x81D9
899     ("glGet",   X,      1,      "GL_GLOBAL_ALPHA_FACTOR_SUN"),  # 0x81DA
900     ("glGet",   X,      1,      "GL_TEXTURE_COLOR_WRITEMASK_SGIS"),     # 0x81EF
901     ("glGet",   X,      1,      "GL_EYE_DISTANCE_TO_POINT_SGIS"),       # 0x81F0
902     ("glGet",   X,      1,      "GL_OBJECT_DISTANCE_TO_POINT_SGIS"),    # 0x81F1
903     ("glGet",   X,      1,      "GL_EYE_DISTANCE_TO_LINE_SGIS"),        # 0x81F2
904     ("glGet",   X,      1,      "GL_OBJECT_DISTANCE_TO_LINE_SGIS"),     # 0x81F3
905     ("glGet",   X,      1,      "GL_EYE_POINT_SGIS"),   # 0x81F4
906     ("glGet",   X,      1,      "GL_OBJECT_POINT_SGIS"),        # 0x81F5
907     ("glGet",   X,      1,      "GL_EYE_LINE_SGIS"),    # 0x81F6
908     ("glGet",   X,      1,      "GL_OBJECT_LINE_SGIS"), # 0x81F7
909     ("glGet",   E,      1,      "GL_LIGHT_MODEL_COLOR_CONTROL"),        # 0x81F8
910     ("glGet",   X,      1,      "GL_SINGLE_COLOR"),     # 0x81F9
911     ("glGet",   X,      1,      "GL_SEPARATE_SPECULAR_COLOR"),  # 0x81FA
912     ("glGet",   X,      1,      "GL_SHARED_TEXTURE_PALETTE_EXT"),       # 0x81FB
913     ("glGet",   X,      1,      "GL_FOG_SCALE_SGIX"),   # 0x81FC
914     ("glGet",   X,      1,      "GL_FOG_SCALE_VALUE_SGIX"),     # 0x81FD
915     ("glGet",   X,      1,      "GL_TEXT_FRAGMENT_SHADER_ATI"), # 0x8200
916     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING"),    # 0x8210
917     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE"),    # 0x8211
918     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE"),  # 0x8212
919     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE"),        # 0x8213
920     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE"), # 0x8214
921     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE"),        # 0x8215
922     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE"),        # 0x8216
923     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE"),      # 0x8217
924     ("glGet",   X,      1,      "GL_FRAMEBUFFER_DEFAULT"),      # 0x8218
925     ("glGet",   X,      1,      "GL_FRAMEBUFFER_UNDEFINED"),    # 0x8219
926     ("glGet",   X,      1,      "GL_DEPTH_STENCIL_ATTACHMENT"), # 0x821A
927     ("glGet",   X,      1,      "GL_MAJOR_VERSION"),    # 0x821B
928     ("glGet",   X,      1,      "GL_MINOR_VERSION"),    # 0x821C
929     ("glGet",   X,      1,      "GL_NUM_EXTENSIONS"),   # 0x821D
930     ("glGet",   X,      1,      "GL_CONTEXT_FLAGS"),    # 0x821E
931     ("glGet",   X,      1,      "GL_INDEX"),    # 0x8222
932     ("glGet",   X,      1,      "GL_DEPTH_BUFFER"),     # 0x8223
933     ("glGet",   X,      1,      "GL_STENCIL_BUFFER"),   # 0x8224
934     ("glGet",   X,      1,      "GL_COMPRESSED_RED"),   # 0x8225
935     ("glGet",   X,      1,      "GL_COMPRESSED_RG"),    # 0x8226
936     ("glGet",   X,      1,      "GL_RG"),       # 0x8227
937     ("glGet",   X,      1,      "GL_RG_INTEGER"),       # 0x8228
938     ("glGet",   X,      1,      "GL_R8"),       # 0x8229
939     ("glGet",   X,      1,      "GL_R16"),      # 0x822A
940     ("glGet",   X,      1,      "GL_RG8"),      # 0x822B
941     ("glGet",   X,      1,      "GL_RG16"),     # 0x822C
942     ("glGet",   X,      1,      "GL_R16F"),     # 0x822D
943     ("glGet",   X,      1,      "GL_R32F"),     # 0x822E
944     ("glGet",   X,      1,      "GL_RG16F"),    # 0x822F
945     ("glGet",   X,      1,      "GL_RG32F"),    # 0x8230
946     ("glGet",   X,      1,      "GL_R8I"),      # 0x8231
947     ("glGet",   X,      1,      "GL_R8UI"),     # 0x8232
948     ("glGet",   X,      1,      "GL_R16I"),     # 0x8233
949     ("glGet",   X,      1,      "GL_R16UI"),    # 0x8234
950     ("glGet",   X,      1,      "GL_R32I"),     # 0x8235
951     ("glGet",   X,      1,      "GL_R32UI"),    # 0x8236
952     ("glGet",   X,      1,      "GL_RG8I"),     # 0x8237
953     ("glGet",   X,      1,      "GL_RG8UI"),    # 0x8238
954     ("glGet",   X,      1,      "GL_RG16I"),    # 0x8239
955     ("glGet",   X,      1,      "GL_RG16UI"),   # 0x823A
956     ("glGet",   X,      1,      "GL_RG32I"),    # 0x823B
957     ("glGet",   X,      1,      "GL_RG32UI"),   # 0x823C
958     ("glGet",   X,      1,      "GL_SYNC_CL_EVENT_ARB"),        # 0x8240
959     ("glGet",   X,      1,      "GL_SYNC_CL_EVENT_COMPLETE_ARB"),       # 0x8241
960     ("glGet",   X,      1,      "GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB"),     # 0x8242
961     ("glGet",   X,      1,      "GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB"),     # 0x8243
962     ("glGet",   X,      1,      "GL_DEBUG_CALLBACK_FUNCTION_ARB"),      # 0x8244
963     ("glGet",   X,      1,      "GL_DEBUG_CALLBACK_USER_PARAM_ARB"),    # 0x8245
964     ("glGet",   X,      1,      "GL_DEBUG_SOURCE_API_ARB"),     # 0x8246
965     ("glGet",   X,      1,      "GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB"),   # 0x8247
966     ("glGet",   X,      1,      "GL_DEBUG_SOURCE_SHADER_COMPILER_ARB"), # 0x8248
967     ("glGet",   X,      1,      "GL_DEBUG_SOURCE_THIRD_PARTY_ARB"),     # 0x8249
968     ("glGet",   X,      1,      "GL_DEBUG_SOURCE_APPLICATION_ARB"),     # 0x824A
969     ("glGet",   X,      1,      "GL_DEBUG_SOURCE_OTHER_ARB"),   # 0x824B
970     ("glGet",   X,      1,      "GL_DEBUG_TYPE_ERROR_ARB"),     # 0x824C
971     ("glGet",   X,      1,      "GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB"),       # 0x824D
972     ("glGet",   X,      1,      "GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB"),        # 0x824E
973     ("glGet",   X,      1,      "GL_DEBUG_TYPE_PORTABILITY_ARB"),       # 0x824F
974     ("glGet",   X,      1,      "GL_DEBUG_TYPE_PERFORMANCE_ARB"),       # 0x8250
975     ("glGet",   X,      1,      "GL_DEBUG_TYPE_OTHER_ARB"),     # 0x8251
976     ("glGet",   X,      1,      "GL_LOSE_CONTEXT_ON_RESET_ARB"),        # 0x8252
977     ("glGet",   X,      1,      "GL_GUILTY_CONTEXT_RESET_ARB"), # 0x8253
978     ("glGet",   X,      1,      "GL_INNOCENT_CONTEXT_RESET_ARB"),       # 0x8254
979     ("glGet",   X,      1,      "GL_UNKNOWN_CONTEXT_RESET_ARB"),        # 0x8255
980     ("glGet",   X,      1,      "GL_RESET_NOTIFICATION_STRATEGY_ARB"),  # 0x8256
981     ("glGet",   X,      1,      "GL_PROGRAM_BINARY_RETRIEVABLE_HINT"),  # 0x8257
982     ("glGet",   X,      1,      "GL_PROGRAM_SEPARABLE"),        # 0x8258
983     ("glGet",   I,      1,      "GL_ACTIVE_PROGRAM"),   # 0x8259
984     ("glGet",   I,      1,      "GL_PROGRAM_PIPELINE_BINDING"), # 0x825A
985     ("glGet",   X,      1,      "GL_MAX_VIEWPORTS"),    # 0x825B
986     ("glGet",   X,      1,      "GL_VIEWPORT_SUBPIXEL_BITS"),   # 0x825C
987     ("glGet",   X,      1,      "GL_VIEWPORT_BOUNDS_RANGE"),    # 0x825D
988     ("glGet",   X,      1,      "GL_LAYER_PROVOKING_VERTEX"),   # 0x825E
989     ("glGet",   X,      1,      "GL_VIEWPORT_INDEX_PROVOKING_VERTEX"),  # 0x825F
990     ("glGet",   X,      1,      "GL_UNDEFINED_VERTEX"), # 0x8260
991     ("glGet",   X,      1,      "GL_NO_RESET_NOTIFICATION_ARB"),        # 0x8261
992     ("glGet",   X,      1,      "GL_DEPTH_PASS_INSTRUMENT_SGIX"),       # 0x8310
993     ("glGet",   X,      1,      "GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX"),      # 0x8311
994     ("glGet",   X,      1,      "GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX"),   # 0x8312
995     ("glGet",   I,      1,      "GL_CONVOLUTION_HINT_SGIX"),    # 0x8316
996     ("glGet",   X,      1,      "GL_YCRCB_SGIX"),       # 0x8318
997     ("glGet",   X,      1,      "GL_YCRCBA_SGIX"),      # 0x8319
998     ("glGet",   X,      1,      "GL_ALPHA_MIN_SGIX"),   # 0x8320
999     ("glGet",   X,      1,      "GL_ALPHA_MAX_SGIX"),   # 0x8321
1000     ("glGet",   X,      1,      "GL_SCALEBIAS_HINT_SGIX"),      # 0x8322
1001     ("glGet",   X,      1,      "GL_ASYNC_MARKER_SGIX"),        # 0x8329
1002     ("glGet",   I,      1,      "GL_PIXEL_TEX_GEN_MODE_SGIX"),  # 0x832B
1003     ("glGet",   X,      1,      "GL_ASYNC_HISTOGRAM_SGIX"),     # 0x832C
1004     ("glGet",   X,      1,      "GL_MAX_ASYNC_HISTOGRAM_SGIX"), # 0x832D
1005     ("glGet",   X,      1,      "GL_PIXEL_TRANSFORM_2D_EXT"),   # 0x8330
1006     ("glGet",   X,      1,      "GL_PIXEL_MAG_FILTER_EXT"),     # 0x8331
1007     ("glGet",   X,      1,      "GL_PIXEL_MIN_FILTER_EXT"),     # 0x8332
1008     ("glGet",   X,      1,      "GL_PIXEL_CUBIC_WEIGHT_EXT"),   # 0x8333
1009     ("glGet",   X,      1,      "GL_CUBIC_EXT"),        # 0x8334
1010     ("glGet",   X,      1,      "GL_AVERAGE_EXT"),      # 0x8335
1011     ("glGet",   X,      1,      "GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT"),       # 0x8336
1012     ("glGet",   X,      1,      "GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT"),   # 0x8337
1013     ("glGet",   X,      1,      "GL_PIXEL_TRANSFORM_2D_MATRIX_EXT"),    # 0x8338
1014     ("glGet",   X,      1,      "GL_FRAGMENT_MATERIAL_EXT"),    # 0x8349
1015     ("glGet",   X,      1,      "GL_FRAGMENT_NORMAL_EXT"),      # 0x834A
1016     ("glGet",   X,      1,      "GL_FRAGMENT_COLOR_EXT"),       # 0x834C
1017     ("glGet",   X,      1,      "GL_ATTENUATION_EXT"),  # 0x834D
1018     ("glGet",   X,      1,      "GL_SHADOW_ATTENUATION_EXT"),   # 0x834E
1019     ("glGet",   I,      1,      "GL_TEXTURE_APPLICATION_MODE_EXT"),     # 0x834F
1020     ("glGet",   I,      1,      "GL_TEXTURE_LIGHT_EXT"),        # 0x8350
1021     ("glGet",   I,      1,      "GL_TEXTURE_MATERIAL_FACE_EXT"),        # 0x8351
1022     ("glGet",   I,      1,      "GL_TEXTURE_MATERIAL_PARAMETER_EXT"),   # 0x8352
1023     ("glGet",   I,      1,      "GL_PIXEL_TEXTURE_SGIS"),       # 0x8353
1024     ("glGet",   I,      1,      "GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS"),   # 0x8354
1025     ("glGet",   I,      1,      "GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS"), # 0x8355
1026     ("glGet",   I,      1,      "GL_PIXEL_GROUP_COLOR_SGIS"),   # 0x8356
1027     ("glGet",   X,      1,      "GL_ASYNC_TEX_IMAGE_SGIX"),     # 0x835C
1028     ("glGet",   X,      1,      "GL_ASYNC_DRAW_PIXELS_SGIX"),   # 0x835D
1029     ("glGet",   X,      1,      "GL_ASYNC_READ_PIXELS_SGIX"),   # 0x835E
1030     ("glGet",   X,      1,      "GL_MAX_ASYNC_TEX_IMAGE_SGIX"), # 0x835F
1031     ("glGet",   X,      1,      "GL_MAX_ASYNC_DRAW_PIXELS_SGIX"),       # 0x8360
1032     ("glGet",   X,      1,      "GL_MAX_ASYNC_READ_PIXELS_SGIX"),       # 0x8361
1033     ("glGet",   X,      1,      "GL_UNSIGNED_BYTE_2_3_3_REV"),  # 0x8362
1034     ("glGet",   X,      1,      "GL_UNSIGNED_SHORT_5_6_5"),     # 0x8363
1035     ("glGet",   X,      1,      "GL_UNSIGNED_SHORT_5_6_5_REV"), # 0x8364
1036     ("glGet",   X,      1,      "GL_UNSIGNED_SHORT_4_4_4_4_REV"),       # 0x8365
1037     ("glGet",   X,      1,      "GL_UNSIGNED_SHORT_1_5_5_5_REV"),       # 0x8366
1038     ("glGet",   X,      1,      "GL_UNSIGNED_INT_8_8_8_8_REV"), # 0x8367
1039     ("glGet",   X,      1,      "GL_UNSIGNED_INT_2_10_10_10_REV"),      # 0x8368
1040     ("glGet",   X,      1,      "GL_TEXTURE_MAX_CLAMP_S_SGIX"), # 0x8369
1041     ("glGet",   X,      1,      "GL_TEXTURE_MAX_CLAMP_T_SGIX"), # 0x836A
1042     ("glGet",   X,      1,      "GL_TEXTURE_MAX_CLAMP_R_SGIX"), # 0x836B
1043     ("glGet",   X,      1,      "GL_MIRRORED_REPEAT"),  # 0x8370
1044     ("glGet",   X,      1,      "GL_RGB_S3TC"), # 0x83A0
1045     ("glGet",   X,      1,      "GL_RGB4_S3TC"),        # 0x83A1
1046     ("glGet",   X,      1,      "GL_RGBA_S3TC"),        # 0x83A2
1047     ("glGet",   X,      1,      "GL_RGBA4_S3TC"),       # 0x83A3
1048     ("glGet",   X,      1,      "GL_VERTEX_PRECLIP_SGIX"),      # 0x83EE
1049     ("glGet",   X,      1,      "GL_VERTEX_PRECLIP_HINT_SGIX"), # 0x83EF
1050     ("glGet",   X,      1,      "GL_COMPRESSED_RGB_S3TC_DXT1_EXT"),     # 0x83F0
1051     ("glGet",   X,      1,      "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT"),    # 0x83F1
1052     ("glGet",   X,      1,      "GL_COMPRESSED_RGBA_S3TC_DXT3_EXT"),    # 0x83F2
1053     ("glGet",   X,      1,      "GL_COMPRESSED_RGBA_S3TC_DXT5_EXT"),    # 0x83F3
1054     ("glGet",   X,      1,      "GL_PARALLEL_ARRAYS_INTEL"),    # 0x83F4
1055     ("glGet",   X,      1,      "GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL"),     # 0x83F5
1056     ("glGet",   X,      1,      "GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL"),     # 0x83F6
1057     ("glGet",   X,      1,      "GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL"),      # 0x83F7
1058     ("glGet",   X,      1,      "GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL"),      # 0x83F8
1059     ("glGet",   I,      1,      "GL_FRAGMENT_LIGHTING_SGIX"),   # 0x8400
1060     ("glGet",   I,      1,      "GL_FRAGMENT_COLOR_MATERIAL_SGIX"),     # 0x8401
1061     ("glGet",   I,      1,      "GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX"),        # 0x8402
1062     ("glGet",   I,      1,      "GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX"),   # 0x8403
1063     ("glGet",   I,      1,      "GL_MAX_FRAGMENT_LIGHTS_SGIX"), # 0x8404
1064     ("glGet",   I,      1,      "GL_MAX_ACTIVE_LIGHTS_SGIX"),   # 0x8405
1065     ("glGet",   I,      1,      "GL_CURRENT_RASTER_NORMAL_SGIX"),       # 0x8406
1066     ("glGet",   I,      1,      "GL_LIGHT_ENV_MODE_SGIX"),      # 0x8407
1067     ("glGet",   I,      1,      "GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX"),   # 0x8408
1068     ("glGet",   I,      1,      "GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX"),       # 0x8409
1069     ("glGet",   F,      4,      "GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX"),        # 0x840A
1070     ("glGet",   I,      1,      "GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX"),   # 0x840B
1071     ("glGet",   I,      1,      "GL_FRAGMENT_LIGHT0_SGIX"),     # 0x840C
1072     ("glGet",   X,      1,      "GL_FRAGMENT_LIGHT1_SGIX"),     # 0x840D
1073     ("glGet",   X,      1,      "GL_FRAGMENT_LIGHT2_SGIX"),     # 0x840E
1074     ("glGet",   X,      1,      "GL_FRAGMENT_LIGHT3_SGIX"),     # 0x840F
1075     ("glGet",   X,      1,      "GL_FRAGMENT_LIGHT4_SGIX"),     # 0x8410
1076     ("glGet",   X,      1,      "GL_FRAGMENT_LIGHT5_SGIX"),     # 0x8411
1077     ("glGet",   X,      1,      "GL_FRAGMENT_LIGHT6_SGIX"),     # 0x8412
1078     ("glGet",   X,      1,      "GL_FRAGMENT_LIGHT7_SGIX"),     # 0x8413
1079     ("glGet",   X,      1,      "GL_PACK_RESAMPLE_SGIX"),       # 0x842C
1080     ("glGet",   X,      1,      "GL_UNPACK_RESAMPLE_SGIX"),     # 0x842D
1081     ("glGet",   X,      1,      "GL_RESAMPLE_REPLICATE_SGIX"),  # 0x842E
1082     ("glGet",   X,      1,      "GL_RESAMPLE_ZERO_FILL_SGIX"),  # 0x842F
1083     ("glGet",   X,      1,      "GL_RESAMPLE_DECIMATE_SGIX"),   # 0x8430
1084     ("glGet",   X,      1,      "GL_TANGENT_ARRAY_EXT"),        # 0x8439
1085     ("glGet",   X,      1,      "GL_BINORMAL_ARRAY_EXT"),       # 0x843A
1086     ("glGet",   X,      1,      "GL_CURRENT_TANGENT_EXT"),      # 0x843B
1087     ("glGet",   X,      1,      "GL_CURRENT_BINORMAL_EXT"),     # 0x843C
1088     ("glGet",   E,      1,      "GL_TANGENT_ARRAY_TYPE_EXT"),   # 0x843E
1089     ("glGet",   X,      1,      "GL_TANGENT_ARRAY_STRIDE_EXT"), # 0x843F
1090     ("glGet",   E,      1,      "GL_BINORMAL_ARRAY_TYPE_EXT"),  # 0x8440
1091     ("glGet",   X,      1,      "GL_BINORMAL_ARRAY_STRIDE_EXT"),        # 0x8441
1092     ("glGet",   P,      1,      "GL_TANGENT_ARRAY_POINTER_EXT"),        # 0x8442
1093     ("glGet",   P,      1,      "GL_BINORMAL_ARRAY_POINTER_EXT"),       # 0x8443
1094     ("glGet",   X,      1,      "GL_MAP1_TANGENT_EXT"), # 0x8444
1095     ("glGet",   X,      1,      "GL_MAP2_TANGENT_EXT"), # 0x8445
1096     ("glGet",   X,      1,      "GL_MAP1_BINORMAL_EXT"),        # 0x8446
1097     ("glGet",   X,      1,      "GL_MAP2_BINORMAL_EXT"),        # 0x8447
1098     ("glGet",   X,      1,      "GL_NEAREST_CLIPMAP_NEAREST_SGIX"),     # 0x844D
1099     ("glGet",   X,      1,      "GL_NEAREST_CLIPMAP_LINEAR_SGIX"),      # 0x844E
1100     ("glGet",   X,      1,      "GL_LINEAR_CLIPMAP_NEAREST_SGIX"),      # 0x844F
1101     ("glGet",   E,      1,      "GL_FOG_COORD_SRC"),    # 0x8450
1102     ("glGet",   X,      1,      "GL_FOG_COORD"),        # 0x8451
1103     ("glGet",   X,      1,      "GL_FRAGMENT_DEPTH"),   # 0x8452
1104     ("glGet",   F,      1,      "GL_CURRENT_FOG_COORD"),        # 0x8453
1105     ("glGet",   E,      1,      "GL_FOG_COORD_ARRAY_TYPE"),     # 0x8454
1106     ("glGet",   I,      1,      "GL_FOG_COORD_ARRAY_STRIDE"),   # 0x8455
1107     ("glGet",   X,      1,      "GL_FOG_COORD_ARRAY_POINTER"),  # 0x8456
1108     ("glGet",   B,      1,      "GL_FOG_COORD_ARRAY"),  # 0x8457
1109     ("glGet",   I,      1,      "GL_COLOR_SUM"),        # 0x8458
1110     ("glGet",   F,      3,      "GL_CURRENT_SECONDARY_COLOR"),  # 0x8459
1111     ("glGet",   I,      1,      "GL_SECONDARY_COLOR_ARRAY_SIZE"),       # 0x845A
1112     ("glGet",   E,      1,      "GL_SECONDARY_COLOR_ARRAY_TYPE"),       # 0x845B
1113     ("glGet",   I,      1,      "GL_SECONDARY_COLOR_ARRAY_STRIDE"),     # 0x845C
1114     ("glGet",   X,      1,      "GL_SECONDARY_COLOR_ARRAY_POINTER"),    # 0x845D
1115     ("glGet",   B,      1,      "GL_SECONDARY_COLOR_ARRAY"),    # 0x845E
1116     ("glGet",   X,      1,      "GL_CURRENT_RASTER_SECONDARY_COLOR"),   # 0x845F
1117     ("glGet",   F,      2,      "GL_ALIASED_POINT_SIZE_RANGE"), # 0x846D
1118     ("glGet",   F,      2,      "GL_ALIASED_LINE_WIDTH_RANGE"), # 0x846E
1119     ("glGet",   X,      1,      "GL_SCREEN_COORDINATES_REND"),  # 0x8490
1120     ("glGet",   X,      1,      "GL_INVERTED_SCREEN_W_REND"),   # 0x8491
1121     ("glGet",   X,      1,      "GL_TEXTURE0"), # 0x84C0
1122     ("glGet",   X,      1,      "GL_TEXTURE1"), # 0x84C1
1123     ("glGet",   X,      1,      "GL_TEXTURE2"), # 0x84C2
1124     ("glGet",   X,      1,      "GL_TEXTURE3"), # 0x84C3
1125     ("glGet",   X,      1,      "GL_TEXTURE4"), # 0x84C4
1126     ("glGet",   X,      1,      "GL_TEXTURE5"), # 0x84C5
1127     ("glGet",   X,      1,      "GL_TEXTURE6"), # 0x84C6
1128     ("glGet",   X,      1,      "GL_TEXTURE7"), # 0x84C7
1129     ("glGet",   X,      1,      "GL_TEXTURE8"), # 0x84C8
1130     ("glGet",   X,      1,      "GL_TEXTURE9"), # 0x84C9
1131     ("glGet",   X,      1,      "GL_TEXTURE10"),        # 0x84CA
1132     ("glGet",   X,      1,      "GL_TEXTURE11"),        # 0x84CB
1133     ("glGet",   X,      1,      "GL_TEXTURE12"),        # 0x84CC
1134     ("glGet",   X,      1,      "GL_TEXTURE13"),        # 0x84CD
1135     ("glGet",   X,      1,      "GL_TEXTURE14"),        # 0x84CE
1136     ("glGet",   X,      1,      "GL_TEXTURE15"),        # 0x84CF
1137     ("glGet",   X,      1,      "GL_TEXTURE16"),        # 0x84D0
1138     ("glGet",   X,      1,      "GL_TEXTURE17"),        # 0x84D1
1139     ("glGet",   X,      1,      "GL_TEXTURE18"),        # 0x84D2
1140     ("glGet",   X,      1,      "GL_TEXTURE19"),        # 0x84D3
1141     ("glGet",   X,      1,      "GL_TEXTURE20"),        # 0x84D4
1142     ("glGet",   X,      1,      "GL_TEXTURE21"),        # 0x84D5
1143     ("glGet",   X,      1,      "GL_TEXTURE22"),        # 0x84D6
1144     ("glGet",   X,      1,      "GL_TEXTURE23"),        # 0x84D7
1145     ("glGet",   X,      1,      "GL_TEXTURE24"),        # 0x84D8
1146     ("glGet",   X,      1,      "GL_TEXTURE25"),        # 0x84D9
1147     ("glGet",   X,      1,      "GL_TEXTURE26"),        # 0x84DA
1148     ("glGet",   X,      1,      "GL_TEXTURE27"),        # 0x84DB
1149     ("glGet",   X,      1,      "GL_TEXTURE28"),        # 0x84DC
1150     ("glGet",   X,      1,      "GL_TEXTURE29"),        # 0x84DD
1151     ("glGet",   X,      1,      "GL_TEXTURE30"),        # 0x84DE
1152     ("glGet",   X,      1,      "GL_TEXTURE31"),        # 0x84DF
1153     ("glGet",   E,      1,      "GL_ACTIVE_TEXTURE"),   # 0x84E0
1154     ("glGet",   E,      1,      "GL_CLIENT_ACTIVE_TEXTURE"),    # 0x84E1
1155     ("glGet",   I,      1,      "GL_MAX_TEXTURE_UNITS"),        # 0x84E2
1156     ("glGet",   F,      16,     "GL_TRANSPOSE_MODELVIEW_MATRIX"),       # 0x84E3
1157     ("glGet",   F,      16,     "GL_TRANSPOSE_PROJECTION_MATRIX"),      # 0x84E4
1158     ("glGet",   F,      16,     "GL_TRANSPOSE_TEXTURE_MATRIX"), # 0x84E5
1159     ("glGet",   F,      16,     "GL_TRANSPOSE_COLOR_MATRIX"),   # 0x84E6
1160     ("glGet",   X,      1,      "GL_SUBTRACT"), # 0x84E7
1161     ("glGet",   X,      1,      "GL_MAX_RENDERBUFFER_SIZE"),    # 0x84E8
1162     ("glGet",   X,      1,      "GL_COMPRESSED_ALPHA"), # 0x84E9
1163     ("glGet",   X,      1,      "GL_COMPRESSED_LUMINANCE"),     # 0x84EA
1164     ("glGet",   X,      1,      "GL_COMPRESSED_LUMINANCE_ALPHA"),       # 0x84EB
1165     ("glGet",   X,      1,      "GL_COMPRESSED_INTENSITY"),     # 0x84EC
1166     ("glGet",   X,      1,      "GL_COMPRESSED_RGB"),   # 0x84ED
1167     ("glGet",   X,      1,      "GL_COMPRESSED_RGBA"),  # 0x84EE
1168     ("glGet",   X,      1,      "GL_TEXTURE_COMPRESSION_HINT"), # 0x84EF
1169     ("glGet",   X,      1,      "GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER"),  # 0x84F0
1170     ("glGet",   X,      1,      "GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER"),       # 0x84F1
1171     ("glGet",   X,      1,      "GL_ALL_COMPLETED_NV"), # 0x84F2
1172     ("glGet",   X,      1,      "GL_FENCE_STATUS_NV"),  # 0x84F3
1173     ("glGet",   X,      1,      "GL_FENCE_CONDITION_NV"),       # 0x84F4
1174     ("glGet",   X,      1,      "GL_TEXTURE_RECTANGLE"),        # 0x84F5
1175     ("glGet",   X,      1,      "GL_TEXTURE_BINDING_RECTANGLE"),        # 0x84F6
1176     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_RECTANGLE"),  # 0x84F7
1177     ("glGet",   X,      1,      "GL_MAX_RECTANGLE_TEXTURE_SIZE"),       # 0x84F8
1178     ("glGet",   X,      1,      "GL_DEPTH_STENCIL"),    # 0x84F9
1179     ("glGet",   X,      1,      "GL_UNSIGNED_INT_24_8"),        # 0x84FA
1180     ("glGet",   X,      1,      "GL_MAX_TEXTURE_LOD_BIAS"),     # 0x84FD
1181     ("glGet",   X,      1,      "GL_TEXTURE_MAX_ANISOTROPY_EXT"),       # 0x84FE
1182     ("glGet",   X,      1,      "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT"),   # 0x84FF
1183     ("glGet",   X,      1,      "GL_TEXTURE_FILTER_CONTROL"),   # 0x8500
1184     ("glGet",   X,      1,      "GL_TEXTURE_LOD_BIAS"), # 0x8501
1185     ("glGet",   X,      1,      "GL_MODELVIEW1_STACK_DEPTH_EXT"),       # 0x8502
1186     ("glGet",   X,      1,      "GL_COMBINE4_NV"),      # 0x8503
1187     ("glGet",   X,      1,      "GL_MAX_SHININESS_NV"), # 0x8504
1188     ("glGet",   X,      1,      "GL_MAX_SPOT_EXPONENT_NV"),     # 0x8505
1189     ("glGet",   X,      1,      "GL_MODELVIEW1_MATRIX_EXT"),    # 0x8506
1190     ("glGet",   X,      1,      "GL_INCR_WRAP"),        # 0x8507
1191     ("glGet",   X,      1,      "GL_DECR_WRAP"),        # 0x8508
1192     ("glGet",   X,      1,      "GL_VERTEX_WEIGHTING_EXT"),     # 0x8509
1193     ("glGet",   X,      1,      "GL_MODELVIEW1_ARB"),   # 0x850A
1194     ("glGet",   X,      1,      "GL_CURRENT_VERTEX_WEIGHT_EXT"),        # 0x850B
1195     ("glGet",   X,      1,      "GL_VERTEX_WEIGHT_ARRAY_EXT"),  # 0x850C
1196     ("glGet",   X,      1,      "GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT"),     # 0x850D
1197     ("glGet",   E,      1,      "GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT"),     # 0x850E
1198     ("glGet",   X,      1,      "GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT"),   # 0x850F
1199     ("glGet",   X,      1,      "GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT"),  # 0x8510
1200     ("glGet",   X,      1,      "GL_NORMAL_MAP"),       # 0x8511
1201     ("glGet",   X,      1,      "GL_REFLECTION_MAP"),   # 0x8512
1202     ("glGet",   B,      1,      "GL_TEXTURE_CUBE_MAP"), # 0x8513
1203     ("glGet",   X,      1,      "GL_TEXTURE_BINDING_CUBE_MAP"), # 0x8514
1204     ("glGet",   X,      1,      "GL_TEXTURE_CUBE_MAP_POSITIVE_X"),      # 0x8515
1205     ("glGet",   X,      1,      "GL_TEXTURE_CUBE_MAP_NEGATIVE_X"),      # 0x8516
1206     ("glGet",   X,      1,      "GL_TEXTURE_CUBE_MAP_POSITIVE_Y"),      # 0x8517
1207     ("glGet",   X,      1,      "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"),      # 0x8518
1208     ("glGet",   X,      1,      "GL_TEXTURE_CUBE_MAP_POSITIVE_Z"),      # 0x8519
1209     ("glGet",   X,      1,      "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"),      # 0x851A
1210     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_CUBE_MAP"),   # 0x851B
1211     ("glGet",   X,      1,      "GL_MAX_CUBE_MAP_TEXTURE_SIZE"),        # 0x851C
1212     ("glGet",   X,      1,      "GL_VERTEX_ARRAY_RANGE_NV"),    # 0x851D
1213     ("glGet",   X,      1,      "GL_VERTEX_ARRAY_RANGE_LENGTH_NV"),     # 0x851E
1214     ("glGet",   X,      1,      "GL_VERTEX_ARRAY_RANGE_VALID_NV"),      # 0x851F
1215     ("glGet",   X,      1,      "GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV"),        # 0x8520
1216     ("glGet",   X,      1,      "GL_VERTEX_ARRAY_RANGE_POINTER_NV"),    # 0x8521
1217     ("glGet",   X,      1,      "GL_REGISTER_COMBINERS_NV"),    # 0x8522
1218     ("glGet",   X,      1,      "GL_VARIABLE_A_NV"),    # 0x8523
1219     ("glGet",   X,      1,      "GL_VARIABLE_B_NV"),    # 0x8524
1220     ("glGet",   X,      1,      "GL_VARIABLE_C_NV"),    # 0x8525
1221     ("glGet",   X,      1,      "GL_VARIABLE_D_NV"),    # 0x8526
1222     ("glGet",   X,      1,      "GL_VARIABLE_E_NV"),    # 0x8527
1223     ("glGet",   X,      1,      "GL_VARIABLE_F_NV"),    # 0x8528
1224     ("glGet",   X,      1,      "GL_VARIABLE_G_NV"),    # 0x8529
1225     ("glGet",   X,      1,      "GL_CONSTANT_COLOR0_NV"),       # 0x852A
1226     ("glGet",   X,      1,      "GL_CONSTANT_COLOR1_NV"),       # 0x852B
1227     ("glGet",   X,      1,      "GL_PRIMARY_COLOR_NV"), # 0x852C
1228     ("glGet",   X,      1,      "GL_SECONDARY_COLOR_NV"),       # 0x852D
1229     ("glGet",   X,      1,      "GL_SPARE0_NV"),        # 0x852E
1230     ("glGet",   X,      1,      "GL_SPARE1_NV"),        # 0x852F
1231     ("glGet",   X,      1,      "GL_DISCARD_NV"),       # 0x8530
1232     ("glGet",   X,      1,      "GL_E_TIMES_F_NV"),     # 0x8531
1233     ("glGet",   X,      1,      "GL_SPARE0_PLUS_SECONDARY_COLOR_NV"),   # 0x8532
1234     ("glGet",   X,      1,      "GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV"),      # 0x8533
1235     ("glGet",   X,      1,      "GL_MULTISAMPLE_FILTER_HINT_NV"),       # 0x8534
1236     ("glGet",   X,      1,      "GL_PER_STAGE_CONSTANTS_NV"),   # 0x8535
1237     ("glGet",   X,      1,      "GL_UNSIGNED_IDENTITY_NV"),     # 0x8536
1238     ("glGet",   X,      1,      "GL_UNSIGNED_INVERT_NV"),       # 0x8537
1239     ("glGet",   X,      1,      "GL_EXPAND_NORMAL_NV"), # 0x8538
1240     ("glGet",   X,      1,      "GL_EXPAND_NEGATE_NV"), # 0x8539
1241     ("glGet",   X,      1,      "GL_HALF_BIAS_NORMAL_NV"),      # 0x853A
1242     ("glGet",   X,      1,      "GL_HALF_BIAS_NEGATE_NV"),      # 0x853B
1243     ("glGet",   X,      1,      "GL_SIGNED_IDENTITY_NV"),       # 0x853C
1244     ("glGet",   X,      1,      "GL_SIGNED_NEGATE_NV"), # 0x853D
1245     ("glGet",   X,      1,      "GL_SCALE_BY_TWO_NV"),  # 0x853E
1246     ("glGet",   X,      1,      "GL_SCALE_BY_FOUR_NV"), # 0x853F
1247     ("glGet",   X,      1,      "GL_SCALE_BY_ONE_HALF_NV"),     # 0x8540
1248     ("glGet",   X,      1,      "GL_BIAS_BY_NEGATIVE_ONE_HALF_NV"),     # 0x8541
1249     ("glGet",   X,      1,      "GL_COMBINER_INPUT_NV"),        # 0x8542
1250     ("glGet",   X,      1,      "GL_COMBINER_MAPPING_NV"),      # 0x8543
1251     ("glGet",   X,      1,      "GL_COMBINER_COMPONENT_USAGE_NV"),      # 0x8544
1252     ("glGet",   X,      1,      "GL_COMBINER_AB_DOT_PRODUCT_NV"),       # 0x8545
1253     ("glGet",   X,      1,      "GL_COMBINER_CD_DOT_PRODUCT_NV"),       # 0x8546
1254     ("glGet",   X,      1,      "GL_COMBINER_MUX_SUM_NV"),      # 0x8547
1255     ("glGet",   X,      1,      "GL_COMBINER_SCALE_NV"),        # 0x8548
1256     ("glGet",   X,      1,      "GL_COMBINER_BIAS_NV"), # 0x8549
1257     ("glGet",   X,      1,      "GL_COMBINER_AB_OUTPUT_NV"),    # 0x854A
1258     ("glGet",   X,      1,      "GL_COMBINER_CD_OUTPUT_NV"),    # 0x854B
1259     ("glGet",   X,      1,      "GL_COMBINER_SUM_OUTPUT_NV"),   # 0x854C
1260     ("glGet",   X,      1,      "GL_MAX_GENERAL_COMBINERS_NV"), # 0x854D
1261     ("glGet",   X,      1,      "GL_NUM_GENERAL_COMBINERS_NV"), # 0x854E
1262     ("glGet",   X,      1,      "GL_COLOR_SUM_CLAMP_NV"),       # 0x854F
1263     ("glGet",   X,      1,      "GL_COMBINER0_NV"),     # 0x8550
1264     ("glGet",   X,      1,      "GL_COMBINER1_NV"),     # 0x8551
1265     ("glGet",   X,      1,      "GL_COMBINER2_NV"),     # 0x8552
1266     ("glGet",   X,      1,      "GL_COMBINER3_NV"),     # 0x8553
1267     ("glGet",   X,      1,      "GL_COMBINER4_NV"),     # 0x8554
1268     ("glGet",   X,      1,      "GL_COMBINER5_NV"),     # 0x8555
1269     ("glGet",   X,      1,      "GL_COMBINER6_NV"),     # 0x8556
1270     ("glGet",   X,      1,      "GL_COMBINER7_NV"),     # 0x8557
1271     ("glGet",   X,      1,      "GL_PRIMITIVE_RESTART_NV"),     # 0x8558
1272     ("glGet",   X,      1,      "GL_PRIMITIVE_RESTART_INDEX_NV"),       # 0x8559
1273     ("glGet",   X,      1,      "GL_FOG_DISTANCE_MODE_NV"),     # 0x855A
1274     ("glGet",   X,      1,      "GL_EYE_RADIAL_NV"),    # 0x855B
1275     ("glGet",   X,      1,      "GL_EYE_PLANE_ABSOLUTE_NV"),    # 0x855C
1276     ("glGet",   X,      1,      "GL_EMBOSS_LIGHT_NV"),  # 0x855D
1277     ("glGet",   X,      1,      "GL_EMBOSS_CONSTANT_NV"),       # 0x855E
1278     ("glGet",   X,      1,      "GL_EMBOSS_MAP_NV"),    # 0x855F
1279     ("glGet",   X,      1,      "GL_RED_MIN_CLAMP_INGR"),       # 0x8560
1280     ("glGet",   X,      1,      "GL_GREEN_MIN_CLAMP_INGR"),     # 0x8561
1281     ("glGet",   X,      1,      "GL_BLUE_MIN_CLAMP_INGR"),      # 0x8562
1282     ("glGet",   X,      1,      "GL_ALPHA_MIN_CLAMP_INGR"),     # 0x8563
1283     ("glGet",   X,      1,      "GL_RED_MAX_CLAMP_INGR"),       # 0x8564
1284     ("glGet",   X,      1,      "GL_GREEN_MAX_CLAMP_INGR"),     # 0x8565
1285     ("glGet",   X,      1,      "GL_BLUE_MAX_CLAMP_INGR"),      # 0x8566
1286     ("glGet",   X,      1,      "GL_ALPHA_MAX_CLAMP_INGR"),     # 0x8567
1287     ("glGet",   X,      1,      "GL_INTERLACE_READ_INGR"),      # 0x8568
1288     ("glGet",   X,      1,      "GL_COMBINE"),  # 0x8570
1289     ("glGet",   X,      1,      "GL_COMBINE_RGB"),      # 0x8571
1290     ("glGet",   X,      1,      "GL_COMBINE_ALPHA"),    # 0x8572
1291     ("glGet",   X,      1,      "GL_RGB_SCALE"),        # 0x8573
1292     ("glGet",   X,      1,      "GL_ADD_SIGNED"),       # 0x8574
1293     ("glGet",   X,      1,      "GL_INTERPOLATE"),      # 0x8575
1294     ("glGet",   X,      1,      "GL_CONSTANT"), # 0x8576
1295     ("glGet",   X,      1,      "GL_PRIMARY_COLOR"),    # 0x8577
1296     ("glGet",   X,      1,      "GL_PREVIOUS"), # 0x8578
1297     ("glGet",   X,      1,      "GL_SRC0_RGB"), # 0x8580
1298     ("glGet",   X,      1,      "GL_SRC1_RGB"), # 0x8581
1299     ("glGet",   X,      1,      "GL_SRC2_RGB"), # 0x8582
1300     ("glGet",   X,      1,      "GL_SOURCE3_RGB_NV"),   # 0x8583
1301     ("glGet",   X,      1,      "GL_SRC0_ALPHA"),       # 0x8588
1302     ("glGet",   X,      1,      "GL_SRC1_ALPHA"),       # 0x8589
1303     ("glGet",   X,      1,      "GL_SRC2_ALPHA"),       # 0x858A
1304     ("glGet",   X,      1,      "GL_SOURCE3_ALPHA_NV"), # 0x858B
1305     ("glGet",   X,      1,      "GL_OPERAND0_RGB"),     # 0x8590
1306     ("glGet",   X,      1,      "GL_OPERAND1_RGB"),     # 0x8591
1307     ("glGet",   X,      1,      "GL_OPERAND2_RGB"),     # 0x8592
1308     ("glGet",   X,      1,      "GL_OPERAND0_ALPHA"),   # 0x8598
1309     ("glGet",   X,      1,      "GL_OPERAND1_ALPHA"),   # 0x8599
1310     ("glGet",   X,      1,      "GL_OPERAND2_ALPHA"),   # 0x859A
1311     ("glGet",   X,      1,      "GL_OPERAND3_ALPHA_NV"),        # 0x859B
1312     ("glGet",   X,      1,      "GL_PACK_SUBSAMPLE_RATE_SGIX"), # 0x85A0
1313     ("glGet",   X,      1,      "GL_UNPACK_SUBSAMPLE_RATE_SGIX"),       # 0x85A1
1314     ("glGet",   X,      1,      "GL_PIXEL_SUBSAMPLE_4444_SGIX"),        # 0x85A2
1315     ("glGet",   X,      1,      "GL_PIXEL_SUBSAMPLE_2424_SGIX"),        # 0x85A3
1316     ("glGet",   X,      1,      "GL_PIXEL_SUBSAMPLE_4242_SGIX"),        # 0x85A4
1317     ("glGet",   X,      1,      "GL_PERTURB_EXT"),      # 0x85AE
1318     ("glGet",   X,      1,      "GL_TEXTURE_NORMAL_EXT"),       # 0x85AF
1319     ("glGet",   X,      1,      "GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE"),        # 0x85B0
1320     ("glGet",   X,      1,      "GL_TRANSFORM_HINT_APPLE"),     # 0x85B1
1321     ("glGet",   X,      1,      "GL_UNPACK_CLIENT_STORAGE_APPLE"),      # 0x85B2
1322     ("glGet",   X,      1,      "GL_BUFFER_OBJECT_APPLE"),      # 0x85B3
1323     ("glGet",   X,      1,      "GL_STORAGE_CLIENT_APPLE"),     # 0x85B4
1324     ("glGet",   I,      1,      "GL_VERTEX_ARRAY_BINDING"),     # 0x85B5
1325     ("glGet",   X,      1,      "GL_TEXTURE_RANGE_LENGTH_APPLE"),       # 0x85B7
1326     ("glGet",   X,      1,      "GL_TEXTURE_RANGE_POINTER_APPLE"),      # 0x85B8
1327     ("glGet",   X,      1,      "GL_YCBCR_422_APPLE"),  # 0x85B9
1328     ("glGet",   X,      1,      "GL_UNSIGNED_SHORT_8_8_MESA"),  # 0x85BA
1329     ("glGet",   X,      1,      "GL_UNSIGNED_SHORT_8_8_REV_MESA"),      # 0x85BB
1330     ("glGet",   X,      1,      "GL_TEXTURE_STORAGE_HINT_APPLE"),       # 0x85BC
1331     ("glGet",   X,      1,      "GL_STORAGE_PRIVATE_APPLE"),    # 0x85BD
1332     ("glGet",   X,      1,      "GL_STORAGE_CACHED_APPLE"),     # 0x85BE
1333     ("glGet",   X,      1,      "GL_STORAGE_SHARED_APPLE"),     # 0x85BF
1334     ("glGet",   X,      1,      "GL_REPLACEMENT_CODE_ARRAY_SUN"),       # 0x85C0
1335     ("glGet",   E,      1,      "GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN"),  # 0x85C1
1336     ("glGet",   X,      1,      "GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN"),        # 0x85C2
1337     ("glGet",   X,      1,      "GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN"),       # 0x85C3
1338     ("glGet",   X,      1,      "GL_R1UI_V3F_SUN"),     # 0x85C4
1339     ("glGet",   X,      1,      "GL_R1UI_C4UB_V3F_SUN"),        # 0x85C5
1340     ("glGet",   X,      1,      "GL_R1UI_C3F_V3F_SUN"), # 0x85C6
1341     ("glGet",   X,      1,      "GL_R1UI_N3F_V3F_SUN"), # 0x85C7
1342     ("glGet",   X,      1,      "GL_R1UI_C4F_N3F_V3F_SUN"),     # 0x85C8
1343     ("glGet",   X,      1,      "GL_R1UI_T2F_V3F_SUN"), # 0x85C9
1344     ("glGet",   X,      1,      "GL_R1UI_T2F_N3F_V3F_SUN"),     # 0x85CA
1345     ("glGet",   X,      1,      "GL_R1UI_T2F_C4F_N3F_V3F_SUN"), # 0x85CB
1346     ("glGet",   X,      1,      "GL_SLICE_ACCUM_SUN"),  # 0x85CC
1347     ("glGet",   X,      1,      "GL_QUAD_MESH_SUN"),    # 0x8614
1348     ("glGet",   X,      1,      "GL_TRIANGLE_MESH_SUN"),        # 0x8615
1349     ("glGet",   X,      1,      "GL_VERTEX_PROGRAM_ARB"),       # 0x8620
1350     ("glGet",   X,      1,      "GL_VERTEX_STATE_PROGRAM_NV"),  # 0x8621
1351     ("glGetVertexAttrib",       B,      1,      "GL_VERTEX_ATTRIB_ARRAY_ENABLED"),      # 0x8622
1352     ("glGetVertexAttrib",       I,      1,      "GL_VERTEX_ATTRIB_ARRAY_SIZE"), # 0x8623
1353     ("glGetVertexAttrib",       I,      1,      "GL_VERTEX_ATTRIB_ARRAY_STRIDE"),       # 0x8624
1354     ("glGetVertexAttrib",       E,      1,      "GL_VERTEX_ATTRIB_ARRAY_TYPE"), # 0x8625
1355     ("glGetVertexAttrib",       D,      4,      "GL_CURRENT_VERTEX_ATTRIB"),    # 0x8626
1356     ("glGet",   X,      1,      "GL_PROGRAM_LENGTH_ARB"),       # 0x8627
1357     ("glGet",   X,      1,      "GL_PROGRAM_STRING_ARB"),       # 0x8628
1358     ("glGet",   X,      1,      "GL_MODELVIEW_PROJECTION_NV"),  # 0x8629
1359     ("glGet",   X,      1,      "GL_IDENTITY_NV"),      # 0x862A
1360     ("glGet",   X,      1,      "GL_INVERSE_NV"),       # 0x862B
1361     ("glGet",   X,      1,      "GL_TRANSPOSE_NV"),     # 0x862C
1362     ("glGet",   X,      1,      "GL_INVERSE_TRANSPOSE_NV"),     # 0x862D
1363     ("glGet",   X,      1,      "GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB"),       # 0x862E
1364     ("glGet",   X,      1,      "GL_MAX_PROGRAM_MATRICES_ARB"), # 0x862F
1365     ("glGet",   X,      1,      "GL_MATRIX0_NV"),       # 0x8630
1366     ("glGet",   X,      1,      "GL_MATRIX1_NV"),       # 0x8631
1367     ("glGet",   X,      1,      "GL_MATRIX2_NV"),       # 0x8632
1368     ("glGet",   X,      1,      "GL_MATRIX3_NV"),       # 0x8633
1369     ("glGet",   X,      1,      "GL_MATRIX4_NV"),       # 0x8634
1370     ("glGet",   X,      1,      "GL_MATRIX5_NV"),       # 0x8635
1371     ("glGet",   X,      1,      "GL_MATRIX6_NV"),       # 0x8636
1372     ("glGet",   X,      1,      "GL_MATRIX7_NV"),       # 0x8637
1373     ("glGet",   X,      1,      "GL_CURRENT_MATRIX_STACK_DEPTH_ARB"),   # 0x8640
1374     ("glGet",   X,      1,      "GL_CURRENT_MATRIX_ARB"),       # 0x8641
1375     ("glGet",   X,      1,      "GL_VERTEX_PROGRAM_POINT_SIZE"),        # 0x8642
1376     ("glGet",   X,      1,      "GL_VERTEX_PROGRAM_TWO_SIDE"),  # 0x8643
1377     ("glGet",   X,      1,      "GL_PROGRAM_PARAMETER_NV"),     # 0x8644
1378     ("glGetVertexAttrib",       P,      1,      "GL_VERTEX_ATTRIB_ARRAY_POINTER"),      # 0x8645
1379     ("glGet",   X,      1,      "GL_PROGRAM_TARGET_NV"),        # 0x8646
1380     ("glGet",   X,      1,      "GL_PROGRAM_RESIDENT_NV"),      # 0x8647
1381     ("glGet",   X,      1,      "GL_TRACK_MATRIX_NV"),  # 0x8648
1382     ("glGet",   X,      1,      "GL_TRACK_MATRIX_TRANSFORM_NV"),        # 0x8649
1383     ("glGet",   I,      1,      "GL_VERTEX_PROGRAM_BINDING_NV"),        # 0x864A
1384     ("glGet",   X,      1,      "GL_PROGRAM_ERROR_POSITION_ARB"),       # 0x864B
1385     ("glGet",   X,      1,      "GL_OFFSET_TEXTURE_RECTANGLE_NV"),      # 0x864C
1386     ("glGet",   X,      1,      "GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV"),        # 0x864D
1387     ("glGet",   X,      1,      "GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV"), # 0x864E
1388     ("glGet",   X,      1,      "GL_DEPTH_CLAMP"),      # 0x864F
1389     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY0_NV"),  # 0x8650
1390     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY1_NV"),  # 0x8651
1391     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY2_NV"),  # 0x8652
1392     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY3_NV"),  # 0x8653
1393     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY4_NV"),  # 0x8654
1394     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY5_NV"),  # 0x8655
1395     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY6_NV"),  # 0x8656
1396     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY7_NV"),  # 0x8657
1397     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY8_NV"),  # 0x8658
1398     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY9_NV"),  # 0x8659
1399     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY10_NV"), # 0x865A
1400     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY11_NV"), # 0x865B
1401     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY12_NV"), # 0x865C
1402     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY13_NV"), # 0x865D
1403     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY14_NV"), # 0x865E
1404     ("glGet",   B,      1,      "GL_VERTEX_ATTRIB_ARRAY15_NV"), # 0x865F
1405     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB0_4_NV"), # 0x8660
1406     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB1_4_NV"), # 0x8661
1407     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB2_4_NV"), # 0x8662
1408     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB3_4_NV"), # 0x8663
1409     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB4_4_NV"), # 0x8664
1410     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB5_4_NV"), # 0x8665
1411     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB6_4_NV"), # 0x8666
1412     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB7_4_NV"), # 0x8667
1413     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB8_4_NV"), # 0x8668
1414     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB9_4_NV"), # 0x8669
1415     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB10_4_NV"),        # 0x866A
1416     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB11_4_NV"),        # 0x866B
1417     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB12_4_NV"),        # 0x866C
1418     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB13_4_NV"),        # 0x866D
1419     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB14_4_NV"),        # 0x866E
1420     ("glGet",   X,      1,      "GL_MAP1_VERTEX_ATTRIB15_4_NV"),        # 0x866F
1421     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB0_4_NV"), # 0x8670
1422     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB1_4_NV"), # 0x8671
1423     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB2_4_NV"), # 0x8672
1424     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB3_4_NV"), # 0x8673
1425     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB4_4_NV"), # 0x8674
1426     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB5_4_NV"), # 0x8675
1427     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB6_4_NV"), # 0x8676
1428     ("glGet",   I,      1,      "GL_PROGRAM_BINDING_ARB"),      # 0x8677
1429     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB8_4_NV"), # 0x8678
1430     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB9_4_NV"), # 0x8679
1431     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB10_4_NV"),        # 0x867A
1432     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB11_4_NV"),        # 0x867B
1433     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB12_4_NV"),        # 0x867C
1434     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB13_4_NV"),        # 0x867D
1435     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB14_4_NV"),        # 0x867E
1436     ("glGet",   X,      1,      "GL_MAP2_VERTEX_ATTRIB15_4_NV"),        # 0x867F
1437     ("glGet",   X,      1,      "GL_TEXTURE_COMPRESSED_IMAGE_SIZE"),    # 0x86A0
1438     ("glGetTexLevelParameter",  B,      1,      "GL_TEXTURE_COMPRESSED"),       # 0x86A1
1439     ("glGet",   X,      1,      "GL_NUM_COMPRESSED_TEXTURE_FORMATS"),   # 0x86A2
1440     #XXX: the list is GL_NUM_COMPRESSED_TEXTURES
1441     #("glGet",  E,      1,      "GL_COMPRESSED_TEXTURE_FORMATS"),       # 0x86A3
1442     ("glGet",   X,      1,      "GL_MAX_VERTEX_UNITS_ARB"),     # 0x86A4
1443     ("glGet",   X,      1,      "GL_ACTIVE_VERTEX_UNITS_ARB"),  # 0x86A5
1444     ("glGet",   X,      1,      "GL_WEIGHT_SUM_UNITY_ARB"),     # 0x86A6
1445     ("glGet",   X,      1,      "GL_VERTEX_BLEND_ARB"), # 0x86A7
1446     ("glGet",   X,      1,      "GL_CURRENT_WEIGHT_ARB"),       # 0x86A8
1447     ("glGet",   E,      1,      "GL_WEIGHT_ARRAY_TYPE_ARB"),    # 0x86A9
1448     ("glGet",   X,      1,      "GL_WEIGHT_ARRAY_STRIDE_ARB"),  # 0x86AA
1449     ("glGet",   X,      1,      "GL_WEIGHT_ARRAY_SIZE_ARB"),    # 0x86AB
1450     ("glGet",   X,      1,      "GL_WEIGHT_ARRAY_POINTER_ARB"), # 0x86AC
1451     ("glGet",   X,      1,      "GL_WEIGHT_ARRAY_ARB"), # 0x86AD
1452     ("glGet",   X,      1,      "GL_DOT3_RGB"), # 0x86AE
1453     ("glGet",   X,      1,      "GL_DOT3_RGBA"),        # 0x86AF
1454     ("glGet",   X,      1,      "GL_COMPRESSED_RGB_FXT1_3DFX"), # 0x86B0
1455     ("glGet",   X,      1,      "GL_COMPRESSED_RGBA_FXT1_3DFX"),        # 0x86B1
1456     ("glGet",   X,      1,      "GL_MULTISAMPLE_3DFX"), # 0x86B2
1457     ("glGet",   X,      1,      "GL_SAMPLE_BUFFERS_3DFX"),      # 0x86B3
1458     ("glGet",   X,      1,      "GL_SAMPLES_3DFX"),     # 0x86B4
1459     ("glGet",   X,      1,      "GL_EVAL_2D_NV"),       # 0x86C0
1460     ("glGet",   X,      1,      "GL_EVAL_TRIANGULAR_2D_NV"),    # 0x86C1
1461     ("glGet",   X,      1,      "GL_MAP_TESSELLATION_NV"),      # 0x86C2
1462     ("glGet",   X,      1,      "GL_MAP_ATTRIB_U_ORDER_NV"),    # 0x86C3
1463     ("glGet",   X,      1,      "GL_MAP_ATTRIB_V_ORDER_NV"),    # 0x86C4
1464     ("glGet",   X,      1,      "GL_EVAL_FRACTIONAL_TESSELLATION_NV"),  # 0x86C5
1465     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB0_NV"),   # 0x86C6
1466     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB1_NV"),   # 0x86C7
1467     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB2_NV"),   # 0x86C8
1468     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB3_NV"),   # 0x86C9
1469     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB4_NV"),   # 0x86CA
1470     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB5_NV"),   # 0x86CB
1471     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB6_NV"),   # 0x86CC
1472     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB7_NV"),   # 0x86CD
1473     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB8_NV"),   # 0x86CE
1474     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB9_NV"),   # 0x86CF
1475     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB10_NV"),  # 0x86D0
1476     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB11_NV"),  # 0x86D1
1477     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB12_NV"),  # 0x86D2
1478     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB13_NV"),  # 0x86D3
1479     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB14_NV"),  # 0x86D4
1480     ("glGet",   X,      1,      "GL_EVAL_VERTEX_ATTRIB15_NV"),  # 0x86D5
1481     ("glGet",   X,      1,      "GL_MAX_MAP_TESSELLATION_NV"),  # 0x86D6
1482     ("glGet",   X,      1,      "GL_MAX_RATIONAL_EVAL_ORDER_NV"),       # 0x86D7
1483     ("glGet",   X,      1,      "GL_MAX_PROGRAM_PATCH_ATTRIBS_NV"),     # 0x86D8
1484     ("glGet",   X,      1,      "GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV"),     # 0x86D9
1485     ("glGet",   X,      1,      "GL_UNSIGNED_INT_S8_S8_8_8_NV"),        # 0x86DA
1486     ("glGet",   X,      1,      "GL_UNSIGNED_INT_8_8_S8_S8_REV_NV"),    # 0x86DB
1487     ("glGet",   X,      1,      "GL_DSDT_MAG_INTENSITY_NV"),    # 0x86DC
1488     ("glGet",   X,      1,      "GL_SHADER_CONSISTENT_NV"),     # 0x86DD
1489     ("glGet",   X,      1,      "GL_TEXTURE_SHADER_NV"),        # 0x86DE
1490     ("glGet",   X,      1,      "GL_SHADER_OPERATION_NV"),      # 0x86DF
1491     ("glGet",   X,      1,      "GL_CULL_MODES_NV"),    # 0x86E0
1492     ("glGet",   X,      1,      "GL_OFFSET_TEXTURE_MATRIX_NV"), # 0x86E1
1493     ("glGet",   X,      1,      "GL_OFFSET_TEXTURE_SCALE_NV"),  # 0x86E2
1494     ("glGet",   X,      1,      "GL_OFFSET_TEXTURE_BIAS_NV"),   # 0x86E3
1495     ("glGet",   X,      1,      "GL_PREVIOUS_TEXTURE_INPUT_NV"),        # 0x86E4
1496     ("glGet",   X,      1,      "GL_CONST_EYE_NV"),     # 0x86E5
1497     ("glGet",   X,      1,      "GL_PASS_THROUGH_NV"),  # 0x86E6
1498     ("glGet",   X,      1,      "GL_CULL_FRAGMENT_NV"), # 0x86E7
1499     ("glGet",   X,      1,      "GL_OFFSET_TEXTURE_2D_NV"),     # 0x86E8
1500     ("glGet",   X,      1,      "GL_DEPENDENT_AR_TEXTURE_2D_NV"),       # 0x86E9
1501     ("glGet",   X,      1,      "GL_DEPENDENT_GB_TEXTURE_2D_NV"),       # 0x86EA
1502     ("glGet",   X,      1,      "GL_SURFACE_STATE_NV"), # 0x86EB
1503     ("glGet",   X,      1,      "GL_DOT_PRODUCT_NV"),   # 0x86EC
1504     ("glGet",   X,      1,      "GL_DOT_PRODUCT_DEPTH_REPLACE_NV"),     # 0x86ED
1505     ("glGet",   X,      1,      "GL_DOT_PRODUCT_TEXTURE_2D_NV"),        # 0x86EE
1506     ("glGet",   X,      1,      "GL_DOT_PRODUCT_TEXTURE_3D_NV"),        # 0x86EF
1507     ("glGet",   X,      1,      "GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV"),  # 0x86F0
1508     ("glGet",   X,      1,      "GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV"),  # 0x86F1
1509     ("glGet",   X,      1,      "GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV"),  # 0x86F2
1510     ("glGet",   X,      1,      "GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV"),        # 0x86F3
1511     ("glGet",   X,      1,      "GL_HILO_NV"),  # 0x86F4
1512     ("glGet",   X,      1,      "GL_DSDT_NV"),  # 0x86F5
1513     ("glGet",   X,      1,      "GL_DSDT_MAG_NV"),      # 0x86F6
1514     ("glGet",   X,      1,      "GL_DSDT_MAG_VIB_NV"),  # 0x86F7
1515     ("glGet",   X,      1,      "GL_HILO16_NV"),        # 0x86F8
1516     ("glGet",   X,      1,      "GL_SIGNED_HILO_NV"),   # 0x86F9
1517     ("glGet",   X,      1,      "GL_SIGNED_HILO16_NV"), # 0x86FA
1518     ("glGet",   X,      1,      "GL_SIGNED_RGBA_NV"),   # 0x86FB
1519     ("glGet",   X,      1,      "GL_SIGNED_RGBA8_NV"),  # 0x86FC
1520     ("glGet",   X,      1,      "GL_SURFACE_REGISTERED_NV"),    # 0x86FD
1521     ("glGet",   X,      1,      "GL_SIGNED_RGB_NV"),    # 0x86FE
1522     ("glGet",   X,      1,      "GL_SIGNED_RGB8_NV"),   # 0x86FF
1523     ("glGet",   X,      1,      "GL_SURFACE_MAPPED_NV"),        # 0x8700
1524     ("glGet",   X,      1,      "GL_SIGNED_LUMINANCE_NV"),      # 0x8701
1525     ("glGet",   X,      1,      "GL_SIGNED_LUMINANCE8_NV"),     # 0x8702
1526     ("glGet",   X,      1,      "GL_SIGNED_LUMINANCE_ALPHA_NV"),        # 0x8703
1527     ("glGet",   X,      1,      "GL_SIGNED_LUMINANCE8_ALPHA8_NV"),      # 0x8704
1528     ("glGet",   X,      1,      "GL_SIGNED_ALPHA_NV"),  # 0x8705
1529     ("glGet",   X,      1,      "GL_SIGNED_ALPHA8_NV"), # 0x8706
1530     ("glGet",   X,      1,      "GL_SIGNED_INTENSITY_NV"),      # 0x8707
1531     ("glGet",   X,      1,      "GL_SIGNED_INTENSITY8_NV"),     # 0x8708
1532     ("glGet",   X,      1,      "GL_DSDT8_NV"), # 0x8709
1533     ("glGet",   X,      1,      "GL_DSDT8_MAG8_NV"),    # 0x870A
1534     ("glGet",   X,      1,      "GL_DSDT8_MAG8_INTENSITY8_NV"), # 0x870B
1535     ("glGet",   X,      1,      "GL_SIGNED_RGB_UNSIGNED_ALPHA_NV"),     # 0x870C
1536     ("glGet",   X,      1,      "GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV"),   # 0x870D
1537     ("glGet",   X,      1,      "GL_HI_SCALE_NV"),      # 0x870E
1538     ("glGet",   X,      1,      "GL_LO_SCALE_NV"),      # 0x870F
1539     ("glGet",   X,      1,      "GL_DS_SCALE_NV"),      # 0x8710
1540     ("glGet",   X,      1,      "GL_DT_SCALE_NV"),      # 0x8711
1541     ("glGet",   X,      1,      "GL_MAGNITUDE_SCALE_NV"),       # 0x8712
1542     ("glGet",   X,      1,      "GL_VIBRANCE_SCALE_NV"),        # 0x8713
1543     ("glGet",   X,      1,      "GL_HI_BIAS_NV"),       # 0x8714
1544     ("glGet",   X,      1,      "GL_LO_BIAS_NV"),       # 0x8715
1545     ("glGet",   X,      1,      "GL_DS_BIAS_NV"),       # 0x8716
1546     ("glGet",   X,      1,      "GL_DT_BIAS_NV"),       # 0x8717
1547     ("glGet",   X,      1,      "GL_MAGNITUDE_BIAS_NV"),        # 0x8718
1548     ("glGet",   X,      1,      "GL_VIBRANCE_BIAS_NV"), # 0x8719
1549     ("glGet",   X,      1,      "GL_TEXTURE_BORDER_VALUES_NV"), # 0x871A
1550     ("glGet",   X,      1,      "GL_TEXTURE_HI_SIZE_NV"),       # 0x871B
1551     ("glGet",   X,      1,      "GL_TEXTURE_LO_SIZE_NV"),       # 0x871C
1552     ("glGet",   X,      1,      "GL_TEXTURE_DS_SIZE_NV"),       # 0x871D
1553     ("glGet",   X,      1,      "GL_TEXTURE_DT_SIZE_NV"),       # 0x871E
1554     ("glGet",   X,      1,      "GL_TEXTURE_MAG_SIZE_NV"),      # 0x871F
1555     ("glGet",   X,      1,      "GL_MODELVIEW2_ARB"),   # 0x8722
1556     ("glGet",   X,      1,      "GL_MODELVIEW3_ARB"),   # 0x8723
1557     ("glGet",   X,      1,      "GL_MODELVIEW4_ARB"),   # 0x8724
1558     ("glGet",   X,      1,      "GL_MODELVIEW5_ARB"),   # 0x8725
1559     ("glGet",   X,      1,      "GL_MODELVIEW6_ARB"),   # 0x8726
1560     ("glGet",   X,      1,      "GL_MODELVIEW7_ARB"),   # 0x8727
1561     ("glGet",   X,      1,      "GL_MODELVIEW8_ARB"),   # 0x8728
1562     ("glGet",   X,      1,      "GL_MODELVIEW9_ARB"),   # 0x8729
1563     ("glGet",   X,      1,      "GL_MODELVIEW10_ARB"),  # 0x872A
1564     ("glGet",   X,      1,      "GL_MODELVIEW11_ARB"),  # 0x872B
1565     ("glGet",   X,      1,      "GL_MODELVIEW12_ARB"),  # 0x872C
1566     ("glGet",   X,      1,      "GL_MODELVIEW13_ARB"),  # 0x872D
1567     ("glGet",   X,      1,      "GL_MODELVIEW14_ARB"),  # 0x872E
1568     ("glGet",   X,      1,      "GL_MODELVIEW15_ARB"),  # 0x872F
1569     ("glGet",   X,      1,      "GL_MODELVIEW16_ARB"),  # 0x8730
1570     ("glGet",   X,      1,      "GL_MODELVIEW17_ARB"),  # 0x8731
1571     ("glGet",   X,      1,      "GL_MODELVIEW18_ARB"),  # 0x8732
1572     ("glGet",   X,      1,      "GL_MODELVIEW19_ARB"),  # 0x8733
1573     ("glGet",   X,      1,      "GL_MODELVIEW20_ARB"),  # 0x8734
1574     ("glGet",   X,      1,      "GL_MODELVIEW21_ARB"),  # 0x8735
1575     ("glGet",   X,      1,      "GL_MODELVIEW22_ARB"),  # 0x8736
1576     ("glGet",   X,      1,      "GL_MODELVIEW23_ARB"),  # 0x8737
1577     ("glGet",   X,      1,      "GL_MODELVIEW24_ARB"),  # 0x8738
1578     ("glGet",   X,      1,      "GL_MODELVIEW25_ARB"),  # 0x8739
1579     ("glGet",   X,      1,      "GL_MODELVIEW26_ARB"),  # 0x873A
1580     ("glGet",   X,      1,      "GL_MODELVIEW27_ARB"),  # 0x873B
1581     ("glGet",   X,      1,      "GL_MODELVIEW28_ARB"),  # 0x873C
1582     ("glGet",   X,      1,      "GL_MODELVIEW29_ARB"),  # 0x873D
1583     ("glGet",   X,      1,      "GL_MODELVIEW30_ARB"),  # 0x873E
1584     ("glGet",   X,      1,      "GL_MODELVIEW31_ARB"),  # 0x873F
1585     ("glGet",   X,      1,      "GL_DOT3_RGB_EXT"),     # 0x8740
1586     ("glGet",   X,      1,      "GL_DOT3_RGBA_EXT"),    # 0x8741
1587     ("glGet",   X,      1,      "GL_MIRROR_CLAMP_ATI"), # 0x8742
1588     ("glGet",   X,      1,      "GL_MIRROR_CLAMP_TO_EDGE_ATI"), # 0x8743
1589     ("glGet",   X,      1,      "GL_MODULATE_ADD_ATI"), # 0x8744
1590     ("glGet",   X,      1,      "GL_MODULATE_SIGNED_ADD_ATI"),  # 0x8745
1591     ("glGet",   X,      1,      "GL_MODULATE_SUBTRACT_ATI"),    # 0x8746
1592     ("glGet",   X,      1,      "GL_YCBCR_MESA"),       # 0x8757
1593     ("glGet",   X,      1,      "GL_PACK_INVERT_MESA"), # 0x8758
1594     ("glGet",   X,      1,      "GL_TEXTURE_1D_STACK_MESAX"),   # 0x8759
1595     ("glGet",   X,      1,      "GL_TEXTURE_2D_STACK_MESAX"),   # 0x875A
1596     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_1D_STACK_MESAX"),     # 0x875B
1597     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_2D_STACK_MESAX"),     # 0x875C
1598     ("glGet",   X,      1,      "GL_TEXTURE_1D_STACK_BINDING_MESAX"),   # 0x875D
1599     ("glGet",   X,      1,      "GL_TEXTURE_2D_STACK_BINDING_MESAX"),   # 0x875E
1600     ("glGet",   X,      1,      "GL_STATIC_ATI"),       # 0x8760
1601     ("glGet",   X,      1,      "GL_DYNAMIC_ATI"),      # 0x8761
1602     ("glGet",   X,      1,      "GL_PRESERVE_ATI"),     # 0x8762
1603     ("glGet",   X,      1,      "GL_DISCARD_ATI"),      # 0x8763
1604     ("glGet",   X,      1,      "GL_BUFFER_SIZE"),      # 0x8764
1605     ("glGet",   X,      1,      "GL_BUFFER_USAGE"),     # 0x8765
1606     ("glGet",   X,      1,      "GL_ARRAY_OBJECT_BUFFER_ATI"),  # 0x8766
1607     ("glGet",   X,      1,      "GL_ARRAY_OBJECT_OFFSET_ATI"),  # 0x8767
1608     ("glGet",   X,      1,      "GL_ELEMENT_ARRAY_ATI"),        # 0x8768
1609     ("glGet",   E,      1,      "GL_ELEMENT_ARRAY_TYPE_ATI"),   # 0x8769
1610     ("glGet",   X,      1,      "GL_ELEMENT_ARRAY_POINTER_ATI"),        # 0x876A
1611     ("glGet",   X,      1,      "GL_MAX_VERTEX_STREAMS_ATI"),   # 0x876B
1612     ("glGet",   X,      1,      "GL_VERTEX_STREAM0_ATI"),       # 0x876C
1613     ("glGet",   X,      1,      "GL_VERTEX_STREAM1_ATI"),       # 0x876D
1614     ("glGet",   X,      1,      "GL_VERTEX_STREAM2_ATI"),       # 0x876E
1615     ("glGet",   X,      1,      "GL_VERTEX_STREAM3_ATI"),       # 0x876F
1616     ("glGet",   X,      1,      "GL_VERTEX_STREAM4_ATI"),       # 0x8770
1617     ("glGet",   X,      1,      "GL_VERTEX_STREAM5_ATI"),       # 0x8771
1618     ("glGet",   X,      1,      "GL_VERTEX_STREAM6_ATI"),       # 0x8772
1619     ("glGet",   X,      1,      "GL_VERTEX_STREAM7_ATI"),       # 0x8773
1620     ("glGet",   X,      1,      "GL_VERTEX_SOURCE_ATI"),        # 0x8774
1621     ("glGet",   X,      1,      "GL_BUMP_ROT_MATRIX_ATI"),      # 0x8775
1622     ("glGet",   X,      1,      "GL_BUMP_ROT_MATRIX_SIZE_ATI"), # 0x8776
1623     ("glGet",   X,      1,      "GL_BUMP_NUM_TEX_UNITS_ATI"),   # 0x8777
1624     ("glGet",   X,      1,      "GL_BUMP_TEX_UNITS_ATI"),       # 0x8778
1625     ("glGet",   X,      1,      "GL_DUDV_ATI"), # 0x8779
1626     ("glGet",   X,      1,      "GL_DU8DV8_ATI"),       # 0x877A
1627     ("glGet",   X,      1,      "GL_BUMP_ENVMAP_ATI"),  # 0x877B
1628     ("glGet",   X,      1,      "GL_BUMP_TARGET_ATI"),  # 0x877C
1629     ("glGet",   X,      1,      "GL_VERTEX_SHADER_EXT"),        # 0x8780
1630     ("glGet",   I,      1,      "GL_VERTEX_SHADER_BINDING_EXT"),        # 0x8781
1631     ("glGet",   X,      1,      "GL_OP_INDEX_EXT"),     # 0x8782
1632     ("glGet",   X,      1,      "GL_OP_NEGATE_EXT"),    # 0x8783
1633     ("glGet",   X,      1,      "GL_OP_DOT3_EXT"),      # 0x8784
1634     ("glGet",   X,      1,      "GL_OP_DOT4_EXT"),      # 0x8785
1635     ("glGet",   X,      1,      "GL_OP_MUL_EXT"),       # 0x8786
1636     ("glGet",   X,      1,      "GL_OP_ADD_EXT"),       # 0x8787
1637     ("glGet",   X,      1,      "GL_OP_MADD_EXT"),      # 0x8788
1638     ("glGet",   X,      1,      "GL_OP_FRAC_EXT"),      # 0x8789
1639     ("glGet",   X,      1,      "GL_OP_MAX_EXT"),       # 0x878A
1640     ("glGet",   X,      1,      "GL_OP_MIN_EXT"),       # 0x878B
1641     ("glGet",   X,      1,      "GL_OP_SET_GE_EXT"),    # 0x878C
1642     ("glGet",   X,      1,      "GL_OP_SET_LT_EXT"),    # 0x878D
1643     ("glGet",   X,      1,      "GL_OP_CLAMP_EXT"),     # 0x878E
1644     ("glGet",   X,      1,      "GL_OP_FLOOR_EXT"),     # 0x878F
1645     ("glGet",   X,      1,      "GL_OP_ROUND_EXT"),     # 0x8790
1646     ("glGet",   X,      1,      "GL_OP_EXP_BASE_2_EXT"),        # 0x8791
1647     ("glGet",   X,      1,      "GL_OP_LOG_BASE_2_EXT"),        # 0x8792
1648     ("glGet",   X,      1,      "GL_OP_POWER_EXT"),     # 0x8793
1649     ("glGet",   X,      1,      "GL_OP_RECIP_EXT"),     # 0x8794
1650     ("glGet",   X,      1,      "GL_OP_RECIP_SQRT_EXT"),        # 0x8795
1651     ("glGet",   X,      1,      "GL_OP_SUB_EXT"),       # 0x8796
1652     ("glGet",   X,      1,      "GL_OP_CROSS_PRODUCT_EXT"),     # 0x8797
1653     ("glGet",   X,      1,      "GL_OP_MULTIPLY_MATRIX_EXT"),   # 0x8798
1654     ("glGet",   X,      1,      "GL_OP_MOV_EXT"),       # 0x8799
1655     ("glGet",   X,      1,      "GL_OUTPUT_VERTEX_EXT"),        # 0x879A
1656     ("glGet",   X,      1,      "GL_OUTPUT_COLOR0_EXT"),        # 0x879B
1657     ("glGet",   X,      1,      "GL_OUTPUT_COLOR1_EXT"),        # 0x879C
1658     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD0_EXT"),        # 0x879D
1659     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD1_EXT"),        # 0x879E
1660     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD2_EXT"),        # 0x879F
1661     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD3_EXT"),        # 0x87A0
1662     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD4_EXT"),        # 0x87A1
1663     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD5_EXT"),        # 0x87A2
1664     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD6_EXT"),        # 0x87A3
1665     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD7_EXT"),        # 0x87A4
1666     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD8_EXT"),        # 0x87A5
1667     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD9_EXT"),        # 0x87A6
1668     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD10_EXT"),       # 0x87A7
1669     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD11_EXT"),       # 0x87A8
1670     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD12_EXT"),       # 0x87A9
1671     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD13_EXT"),       # 0x87AA
1672     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD14_EXT"),       # 0x87AB
1673     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD15_EXT"),       # 0x87AC
1674     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD16_EXT"),       # 0x87AD
1675     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD17_EXT"),       # 0x87AE
1676     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD18_EXT"),       # 0x87AF
1677     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD19_EXT"),       # 0x87B0
1678     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD20_EXT"),       # 0x87B1
1679     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD21_EXT"),       # 0x87B2
1680     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD22_EXT"),       # 0x87B3
1681     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD23_EXT"),       # 0x87B4
1682     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD24_EXT"),       # 0x87B5
1683     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD25_EXT"),       # 0x87B6
1684     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD26_EXT"),       # 0x87B7
1685     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD27_EXT"),       # 0x87B8
1686     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD28_EXT"),       # 0x87B9
1687     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD29_EXT"),       # 0x87BA
1688     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD30_EXT"),       # 0x87BB
1689     ("glGet",   X,      1,      "GL_OUTPUT_TEXTURE_COORD31_EXT"),       # 0x87BC
1690     ("glGet",   X,      1,      "GL_OUTPUT_FOG_EXT"),   # 0x87BD
1691     ("glGet",   X,      1,      "GL_SCALAR_EXT"),       # 0x87BE
1692     ("glGet",   X,      1,      "GL_VECTOR_EXT"),       # 0x87BF
1693     ("glGet",   X,      1,      "GL_MATRIX_EXT"),       # 0x87C0
1694     ("glGet",   X,      1,      "GL_VARIANT_EXT"),      # 0x87C1
1695     ("glGet",   X,      1,      "GL_INVARIANT_EXT"),    # 0x87C2
1696     ("glGet",   X,      1,      "GL_LOCAL_CONSTANT_EXT"),       # 0x87C3
1697     ("glGet",   X,      1,      "GL_LOCAL_EXT"),        # 0x87C4
1698     ("glGet",   X,      1,      "GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT"),       # 0x87C5
1699     ("glGet",   X,      1,      "GL_MAX_VERTEX_SHADER_VARIANTS_EXT"),   # 0x87C6
1700     ("glGet",   X,      1,      "GL_MAX_VERTEX_SHADER_INVARIANTS_EXT"), # 0x87C7
1701     ("glGet",   X,      1,      "GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT"),    # 0x87C8
1702     ("glGet",   X,      1,      "GL_MAX_VERTEX_SHADER_LOCALS_EXT"),     # 0x87C9
1703     ("glGet",   X,      1,      "GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT"),     # 0x87CA
1704     ("glGet",   X,      1,      "GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT"), # 0x87CB
1705     ("glGet",   X,      1,      "GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT"),  # 0x87CC
1706     ("glGet",   X,      1,      "GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT"),       # 0x87CD
1707     ("glGet",   X,      1,      "GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT"),   # 0x87CE
1708     ("glGet",   X,      1,      "GL_VERTEX_SHADER_INSTRUCTIONS_EXT"),   # 0x87CF
1709     ("glGet",   X,      1,      "GL_VERTEX_SHADER_VARIANTS_EXT"),       # 0x87D0
1710     ("glGet",   X,      1,      "GL_VERTEX_SHADER_INVARIANTS_EXT"),     # 0x87D1
1711     ("glGet",   X,      1,      "GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT"),        # 0x87D2
1712     ("glGet",   X,      1,      "GL_VERTEX_SHADER_LOCALS_EXT"), # 0x87D3
1713     ("glGet",   X,      1,      "GL_VERTEX_SHADER_OPTIMIZED_EXT"),      # 0x87D4
1714     ("glGet",   X,      1,      "GL_X_EXT"),    # 0x87D5
1715     ("glGet",   X,      1,      "GL_Y_EXT"),    # 0x87D6
1716     ("glGet",   X,      1,      "GL_Z_EXT"),    # 0x87D7
1717     ("glGet",   X,      1,      "GL_W_EXT"),    # 0x87D8
1718     ("glGet",   X,      1,      "GL_NEGATIVE_X_EXT"),   # 0x87D9
1719     ("glGet",   X,      1,      "GL_NEGATIVE_Y_EXT"),   # 0x87DA
1720     ("glGet",   X,      1,      "GL_NEGATIVE_Z_EXT"),   # 0x87DB
1721     ("glGet",   X,      1,      "GL_NEGATIVE_W_EXT"),   # 0x87DC
1722     ("glGet",   X,      1,      "GL_ZERO_EXT"), # 0x87DD
1723     ("glGet",   X,      1,      "GL_ONE_EXT"),  # 0x87DE
1724     ("glGet",   X,      1,      "GL_NEGATIVE_ONE_EXT"), # 0x87DF
1725     ("glGet",   X,      1,      "GL_NORMALIZED_RANGE_EXT"),     # 0x87E0
1726     ("glGet",   X,      1,      "GL_FULL_RANGE_EXT"),   # 0x87E1
1727     ("glGet",   X,      1,      "GL_CURRENT_VERTEX_EXT"),       # 0x87E2
1728     ("glGet",   X,      1,      "GL_MVP_MATRIX_EXT"),   # 0x87E3
1729     ("glGet",   X,      1,      "GL_VARIANT_VALUE_EXT"),        # 0x87E4
1730     ("glGet",   X,      1,      "GL_VARIANT_DATATYPE_EXT"),     # 0x87E5
1731     ("glGet",   X,      1,      "GL_VARIANT_ARRAY_STRIDE_EXT"), # 0x87E6
1732     ("glGet",   E,      1,      "GL_VARIANT_ARRAY_TYPE_EXT"),   # 0x87E7
1733     ("glGet",   X,      1,      "GL_VARIANT_ARRAY_EXT"),        # 0x87E8
1734     ("glGet",   X,      1,      "GL_VARIANT_ARRAY_POINTER_EXT"),        # 0x87E9
1735     ("glGet",   X,      1,      "GL_INVARIANT_VALUE_EXT"),      # 0x87EA
1736     ("glGet",   X,      1,      "GL_INVARIANT_DATATYPE_EXT"),   # 0x87EB
1737     ("glGet",   X,      1,      "GL_LOCAL_CONSTANT_VALUE_EXT"), # 0x87EC
1738     ("glGet",   X,      1,      "GL_LOCAL_CONSTANT_DATATYPE_EXT"),      # 0x87ED
1739     ("glGet",   X,      1,      "GL_PN_TRIANGLES_ATI"), # 0x87F0
1740     ("glGet",   X,      1,      "GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI"),   # 0x87F1
1741     ("glGet",   X,      1,      "GL_PN_TRIANGLES_POINT_MODE_ATI"),      # 0x87F2
1742     ("glGet",   X,      1,      "GL_PN_TRIANGLES_NORMAL_MODE_ATI"),     # 0x87F3
1743     ("glGet",   X,      1,      "GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI"),       # 0x87F4
1744     ("glGet",   X,      1,      "GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI"),       # 0x87F5
1745     ("glGet",   X,      1,      "GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI"),        # 0x87F6
1746     ("glGet",   X,      1,      "GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI"),      # 0x87F7
1747     ("glGet",   X,      1,      "GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI"),   # 0x87F8
1748     ("glGet",   X,      1,      "GL_VBO_FREE_MEMORY_ATI"),      # 0x87FB
1749     ("glGet",   X,      1,      "GL_TEXTURE_FREE_MEMORY_ATI"),  # 0x87FC
1750     ("glGet",   X,      1,      "GL_RENDERBUFFER_FREE_MEMORY_ATI"),     # 0x87FD
1751     ("glGet",   X,      1,      "GL_NUM_PROGRAM_BINARY_FORMATS"),       # 0x87FE
1752     ("glGet",   X,      1,      "GL_PROGRAM_BINARY_FORMATS"),   # 0x87FF
1753     ("glGet",   E,      1,      "GL_STENCIL_BACK_FUNC"),        # 0x8800
1754     ("glGet",   E,      1,      "GL_STENCIL_BACK_FAIL"),        # 0x8801
1755     ("glGet",   E,      1,      "GL_STENCIL_BACK_PASS_DEPTH_FAIL"),     # 0x8802
1756     ("glGet",   E,      1,      "GL_STENCIL_BACK_PASS_DEPTH_PASS"),     # 0x8803
1757     ("glGet",   X,      1,      "GL_FRAGMENT_PROGRAM_ARB"),     # 0x8804
1758     ("glGet",   X,      1,      "GL_PROGRAM_ALU_INSTRUCTIONS_ARB"),     # 0x8805
1759     ("glGet",   X,      1,      "GL_PROGRAM_TEX_INSTRUCTIONS_ARB"),     # 0x8806
1760     ("glGet",   X,      1,      "GL_PROGRAM_TEX_INDIRECTIONS_ARB"),     # 0x8807
1761     ("glGet",   X,      1,      "GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB"),      # 0x8808
1762     ("glGet",   X,      1,      "GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB"),      # 0x8809
1763     ("glGet",   X,      1,      "GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB"),      # 0x880A
1764     ("glGet",   X,      1,      "GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB"), # 0x880B
1765     ("glGet",   X,      1,      "GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB"), # 0x880C
1766     ("glGet",   X,      1,      "GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB"), # 0x880D
1767     ("glGet",   X,      1,      "GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB"),  # 0x880E
1768     ("glGet",   X,      1,      "GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB"),  # 0x880F
1769     ("glGet",   X,      1,      "GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB"),  # 0x8810
1770     ("glGet",   X,      1,      "GL_RGBA32F"),  # 0x8814
1771     ("glGet",   X,      1,      "GL_RGB32F"),   # 0x8815
1772     ("glGet",   X,      1,      "GL_ALPHA32F_ARB"),     # 0x8816
1773     ("glGet",   X,      1,      "GL_INTENSITY32F_ARB"), # 0x8817
1774     ("glGet",   X,      1,      "GL_LUMINANCE32F_ARB"), # 0x8818
1775     ("glGet",   X,      1,      "GL_LUMINANCE_ALPHA32F_ARB"),   # 0x8819
1776     ("glGet",   X,      1,      "GL_RGBA16F"),  # 0x881A
1777     ("glGet",   X,      1,      "GL_RGB16F"),   # 0x881B
1778     ("glGet",   X,      1,      "GL_ALPHA16F_ARB"),     # 0x881C
1779     ("glGet",   X,      1,      "GL_INTENSITY16F_ARB"), # 0x881D
1780     ("glGet",   X,      1,      "GL_LUMINANCE16F_ARB"), # 0x881E
1781     ("glGet",   X,      1,      "GL_LUMINANCE_ALPHA16F_ARB"),   # 0x881F
1782     ("glGet",   X,      1,      "GL_RGBA_FLOAT_MODE_ARB"),      # 0x8820
1783     ("glGet",   I,      1,      "GL_MAX_DRAW_BUFFERS"), # 0x8824
1784     ("glGet",   E,      1,      "GL_DRAW_BUFFER0"),     # 0x8825
1785     ("glGet",   E,      1,      "GL_DRAW_BUFFER1"),     # 0x8826
1786     ("glGet",   E,      1,      "GL_DRAW_BUFFER2"),     # 0x8827
1787     ("glGet",   E,      1,      "GL_DRAW_BUFFER3"),     # 0x8828
1788     ("glGet",   E,      1,      "GL_DRAW_BUFFER4"),     # 0x8829
1789     ("glGet",   E,      1,      "GL_DRAW_BUFFER5"),     # 0x882A
1790     ("glGet",   E,      1,      "GL_DRAW_BUFFER6"),     # 0x882B
1791     ("glGet",   E,      1,      "GL_DRAW_BUFFER7"),     # 0x882C
1792     ("glGet",   E,      1,      "GL_DRAW_BUFFER8"),     # 0x882D
1793     ("glGet",   E,      1,      "GL_DRAW_BUFFER9"),     # 0x882E
1794     ("glGet",   E,      1,      "GL_DRAW_BUFFER10"),    # 0x882F
1795     ("glGet",   E,      1,      "GL_DRAW_BUFFER11"),    # 0x8830
1796     ("glGet",   E,      1,      "GL_DRAW_BUFFER12"),    # 0x8831
1797     ("glGet",   E,      1,      "GL_DRAW_BUFFER13"),    # 0x8832
1798     ("glGet",   E,      1,      "GL_DRAW_BUFFER14"),    # 0x8833
1799     ("glGet",   E,      1,      "GL_DRAW_BUFFER15"),    # 0x8834
1800     ("glGet",   X,      1,      "GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI"),  # 0x8835
1801     ("glGet",   X,      1,      "GL_BLEND_EQUATION_ALPHA"),     # 0x883D
1802     ("glGet",   X,      1,      "GL_MATRIX_PALETTE_ARB"),       # 0x8840
1803     ("glGet",   X,      1,      "GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB"),       # 0x8841
1804     ("glGet",   X,      1,      "GL_MAX_PALETTE_MATRICES_ARB"), # 0x8842
1805     ("glGet",   X,      1,      "GL_CURRENT_PALETTE_MATRIX_ARB"),       # 0x8843
1806     ("glGet",   X,      1,      "GL_MATRIX_INDEX_ARRAY_ARB"),   # 0x8844
1807     ("glGet",   X,      1,      "GL_CURRENT_MATRIX_INDEX_ARB"), # 0x8845
1808     ("glGet",   X,      1,      "GL_MATRIX_INDEX_ARRAY_SIZE_ARB"),      # 0x8846
1809     ("glGet",   E,      1,      "GL_MATRIX_INDEX_ARRAY_TYPE_ARB"),      # 0x8847
1810     ("glGet",   X,      1,      "GL_MATRIX_INDEX_ARRAY_STRIDE_ARB"),    # 0x8848
1811     ("glGet",   X,      1,      "GL_MATRIX_INDEX_ARRAY_POINTER_ARB"),   # 0x8849
1812     ("glGetTexLevelParameter",  I,      1,      "GL_TEXTURE_DEPTH_SIZE"),       # 0x884A
1813     ("glGetTexParameter",       E,      1,      "GL_DEPTH_TEXTURE_MODE"),       # 0x884B
1814     ("glGetTexParameter",       E,      1,      "GL_TEXTURE_COMPARE_MODE"),     # 0x884C
1815     ("glGetTexParameter",       E,      1,      "GL_TEXTURE_COMPARE_FUNC"),     # 0x884D
1816     (None,      X,      1,      "GL_COMPARE_R_TO_TEXTURE"),     # 0x884E
1817     ("glGet",   X,      1,      "GL_TEXTURE_CUBE_MAP_SEAMLESS"),        # 0x884F
1818     ("glGet",   X,      1,      "GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV"),  # 0x8850
1819     ("glGet",   X,      1,      "GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV"),    # 0x8851
1820     ("glGet",   X,      1,      "GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV"),   # 0x8852
1821     ("glGet",   X,      1,      "GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV"),     # 0x8853
1822     ("glGet",   X,      1,      "GL_OFFSET_HILO_TEXTURE_2D_NV"),        # 0x8854
1823     ("glGet",   X,      1,      "GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV"), # 0x8855
1824     ("glGet",   X,      1,      "GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV"),     # 0x8856
1825     ("glGet",   X,      1,      "GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV"),      # 0x8857
1826     ("glGet",   X,      1,      "GL_DEPENDENT_HILO_TEXTURE_2D_NV"),     # 0x8858
1827     ("glGet",   X,      1,      "GL_DEPENDENT_RGB_TEXTURE_3D_NV"),      # 0x8859
1828     ("glGet",   X,      1,      "GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV"),        # 0x885A
1829     ("glGet",   X,      1,      "GL_DOT_PRODUCT_PASS_THROUGH_NV"),      # 0x885B
1830     ("glGet",   X,      1,      "GL_DOT_PRODUCT_TEXTURE_1D_NV"),        # 0x885C
1831     ("glGet",   X,      1,      "GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV"),      # 0x885D
1832     ("glGet",   X,      1,      "GL_HILO8_NV"), # 0x885E
1833     ("glGet",   X,      1,      "GL_SIGNED_HILO8_NV"),  # 0x885F
1834     ("glGet",   X,      1,      "GL_FORCE_BLUE_TO_ONE_NV"),     # 0x8860
1835     ("glGet",   X,      1,      "GL_POINT_SPRITE"),     # 0x8861
1836     ("glGet",   X,      1,      "GL_COORD_REPLACE"),    # 0x8862
1837     ("glGet",   X,      1,      "GL_POINT_SPRITE_R_MODE_NV"),   # 0x8863
1838     ("glGet",   X,      1,      "GL_QUERY_COUNTER_BITS"),       # 0x8864
1839     ("glGet",   X,      1,      "GL_CURRENT_QUERY"),    # 0x8865
1840     ("glGet",   X,      1,      "GL_QUERY_RESULT"),     # 0x8866
1841     ("glGet",   X,      1,      "GL_QUERY_RESULT_AVAILABLE"),   # 0x8867
1842     ("glGet",   X,      1,      "GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV"), # 0x8868
1843     ("glGet",   X,      1,      "GL_MAX_VERTEX_ATTRIBS"),       # 0x8869
1844     ("glGetVertexAttrib",       B,      1,      "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED"),   # 0x886A
1845     ("glGet",   X,      1,      "GL_MAX_TESS_CONTROL_INPUT_COMPONENTS"),        # 0x886C
1846     ("glGet",   X,      1,      "GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS"),     # 0x886D
1847     ("glGet",   X,      1,      "GL_DEPTH_STENCIL_TO_RGBA_NV"), # 0x886E
1848     ("glGet",   X,      1,      "GL_DEPTH_STENCIL_TO_BGRA_NV"), # 0x886F
1849     ("glGet",   X,      1,      "GL_FRAGMENT_PROGRAM_NV"),      # 0x8870
1850     ("glGet",   I,      1,      "GL_MAX_TEXTURE_COORDS"),       # 0x8871
1851     ("glGet",   I,      1,      "GL_MAX_TEXTURE_IMAGE_UNITS"),  # 0x8872
1852     ("glGet",   I,      1,      "GL_FRAGMENT_PROGRAM_BINDING_NV"),      # 0x8873
1853     ("glGet",   X,      1,      "GL_PROGRAM_ERROR_STRING_ARB"), # 0x8874
1854     ("glGet",   X,      1,      "GL_PROGRAM_FORMAT_ASCII_ARB"), # 0x8875
1855     ("glGet",   X,      1,      "GL_PROGRAM_FORMAT_ARB"),       # 0x8876
1856     ("glGet",   X,      1,      "GL_WRITE_PIXEL_DATA_RANGE_NV"),        # 0x8878
1857     ("glGet",   X,      1,      "GL_READ_PIXEL_DATA_RANGE_NV"), # 0x8879
1858     ("glGet",   X,      1,      "GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV"), # 0x887A
1859     ("glGet",   X,      1,      "GL_READ_PIXEL_DATA_RANGE_LENGTH_NV"),  # 0x887B
1860     ("glGet",   X,      1,      "GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV"),        # 0x887C
1861     ("glGet",   X,      1,      "GL_READ_PIXEL_DATA_RANGE_POINTER_NV"), # 0x887D
1862     ("glGet",   X,      1,      "GL_GEOMETRY_SHADER_INVOCATIONS"),      # 0x887F
1863     ("glGet",   X,      1,      "GL_FLOAT_R_NV"),       # 0x8880
1864     ("glGet",   X,      1,      "GL_FLOAT_RG_NV"),      # 0x8881
1865     ("glGet",   X,      1,      "GL_FLOAT_RGB_NV"),     # 0x8882
1866     ("glGet",   X,      1,      "GL_FLOAT_RGBA_NV"),    # 0x8883
1867     ("glGet",   X,      1,      "GL_FLOAT_R16_NV"),     # 0x8884
1868     ("glGet",   X,      1,      "GL_FLOAT_R32_NV"),     # 0x8885
1869     ("glGet",   X,      1,      "GL_FLOAT_RG16_NV"),    # 0x8886
1870     ("glGet",   X,      1,      "GL_FLOAT_RG32_NV"),    # 0x8887
1871     ("glGet",   X,      1,      "GL_FLOAT_RGB16_NV"),   # 0x8888
1872     ("glGet",   X,      1,      "GL_FLOAT_RGB32_NV"),   # 0x8889
1873     ("glGet",   X,      1,      "GL_FLOAT_RGBA16_NV"),  # 0x888A
1874     ("glGet",   X,      1,      "GL_FLOAT_RGBA32_NV"),  # 0x888B
1875     ("glGet",   X,      1,      "GL_TEXTURE_FLOAT_COMPONENTS_NV"),      # 0x888C
1876     ("glGet",   X,      1,      "GL_FLOAT_CLEAR_COLOR_VALUE_NV"),       # 0x888D
1877     ("glGet",   X,      1,      "GL_FLOAT_RGBA_MODE_NV"),       # 0x888E
1878     ("glGet",   X,      1,      "GL_TEXTURE_UNSIGNED_REMAP_MODE_NV"),   # 0x888F
1879     ("glGet",   X,      1,      "GL_DEPTH_BOUNDS_TEST_EXT"),    # 0x8890
1880     ("glGet",   X,      1,      "GL_DEPTH_BOUNDS_EXT"), # 0x8891
1881     ("glGet",   X,      1,      "GL_ARRAY_BUFFER"),     # 0x8892
1882     ("glGet",   X,      1,      "GL_ELEMENT_ARRAY_BUFFER"),     # 0x8893
1883     ("glGet",   I,      1,      "GL_ARRAY_BUFFER_BINDING"),     # 0x8894
1884     ("glGet",   I,      1,      "GL_ELEMENT_ARRAY_BUFFER_BINDING"),     # 0x8895
1885     ("glGet",   I,      1,      "GL_VERTEX_ARRAY_BUFFER_BINDING"),      # 0x8896
1886     ("glGet",   I,      1,      "GL_NORMAL_ARRAY_BUFFER_BINDING"),      # 0x8897
1887     ("glGet",   I,      1,      "GL_COLOR_ARRAY_BUFFER_BINDING"),       # 0x8898
1888     ("glGet",   I,      1,      "GL_INDEX_ARRAY_BUFFER_BINDING"),       # 0x8899
1889     ("glGet",   I,      1,      "GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING"),       # 0x889A
1890     ("glGet",   I,      1,      "GL_EDGE_FLAG_ARRAY_BUFFER_BINDING"),   # 0x889B
1891     ("glGet",   I,      1,      "GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING"),     # 0x889C
1892     ("glGet",   I,      1,      "GL_FOG_COORD_ARRAY_BUFFER_BINDING"),   # 0x889D
1893     ("glGet",   I,      1,      "GL_WEIGHT_ARRAY_BUFFER_BINDING"),      # 0x889E
1894     ("glGetVertexAttrib",       I,      1,      "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"),       # 0x889F
1895     ("glGet",   X,      1,      "GL_PROGRAM_INSTRUCTIONS_ARB"), # 0x88A0
1896     ("glGet",   X,      1,      "GL_MAX_PROGRAM_INSTRUCTIONS_ARB"),     # 0x88A1
1897     ("glGet",   X,      1,      "GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB"),  # 0x88A2
1898     ("glGet",   X,      1,      "GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB"),      # 0x88A3
1899     ("glGet",   X,      1,      "GL_PROGRAM_TEMPORARIES_ARB"),  # 0x88A4
1900     ("glGet",   X,      1,      "GL_MAX_PROGRAM_TEMPORARIES_ARB"),      # 0x88A5
1901     ("glGet",   X,      1,      "GL_PROGRAM_NATIVE_TEMPORARIES_ARB"),   # 0x88A6
1902     ("glGet",   X,      1,      "GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB"),       # 0x88A7
1903     ("glGet",   X,      1,      "GL_PROGRAM_PARAMETERS_ARB"),   # 0x88A8
1904     ("glGet",   X,      1,      "GL_MAX_PROGRAM_PARAMETERS_ARB"),       # 0x88A9
1905     ("glGet",   X,      1,      "GL_PROGRAM_NATIVE_PARAMETERS_ARB"),    # 0x88AA
1906     ("glGet",   X,      1,      "GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB"),        # 0x88AB
1907     ("glGet",   X,      1,      "GL_PROGRAM_ATTRIBS_ARB"),      # 0x88AC
1908     ("glGet",   X,      1,      "GL_MAX_PROGRAM_ATTRIBS_ARB"),  # 0x88AD
1909     ("glGet",   X,      1,      "GL_PROGRAM_NATIVE_ATTRIBS_ARB"),       # 0x88AE
1910     ("glGet",   X,      1,      "GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB"),   # 0x88AF
1911     ("glGet",   X,      1,      "GL_PROGRAM_ADDRESS_REGISTERS_ARB"),    # 0x88B0
1912     ("glGet",   X,      1,      "GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB"),        # 0x88B1
1913     ("glGet",   X,      1,      "GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB"),     # 0x88B2
1914     ("glGet",   X,      1,      "GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB"), # 0x88B3
1915     ("glGet",   X,      1,      "GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB"), # 0x88B4
1916     ("glGet",   X,      1,      "GL_MAX_PROGRAM_ENV_PARAMETERS_ARB"),   # 0x88B5
1917     ("glGet",   X,      1,      "GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB"),  # 0x88B6
1918     ("glGet",   X,      1,      "GL_TRANSPOSE_CURRENT_MATRIX_ARB"),     # 0x88B7
1919     ("glGet",   X,      1,      "GL_READ_ONLY"),        # 0x88B8
1920     ("glGet",   X,      1,      "GL_WRITE_ONLY"),       # 0x88B9
1921     ("glGet",   X,      1,      "GL_READ_WRITE"),       # 0x88BA
1922     ("glGet",   X,      1,      "GL_BUFFER_ACCESS"),    # 0x88BB
1923     ("glGet",   X,      1,      "GL_BUFFER_MAPPED"),    # 0x88BC
1924     ("glGet",   X,      1,      "GL_BUFFER_MAP_POINTER"),       # 0x88BD
1925     ("glGet",   X,      1,      "GL_WRITE_DISCARD_NV"), # 0x88BE
1926     ("glGet",   X,      1,      "GL_TIME_ELAPSED"),     # 0x88BF
1927     ("glGet",   X,      1,      "GL_MATRIX0_ARB"),      # 0x88C0
1928     ("glGet",   X,      1,      "GL_MATRIX1_ARB"),      # 0x88C1
1929     ("glGet",   X,      1,      "GL_MATRIX2_ARB"),      # 0x88C2
1930     ("glGet",   X,      1,      "GL_MATRIX3_ARB"),      # 0x88C3
1931     ("glGet",   X,      1,      "GL_MATRIX4_ARB"),      # 0x88C4
1932     ("glGet",   X,      1,      "GL_MATRIX5_ARB"),      # 0x88C5
1933     ("glGet",   X,      1,      "GL_MATRIX6_ARB"),      # 0x88C6
1934     ("glGet",   X,      1,      "GL_MATRIX7_ARB"),      # 0x88C7
1935     ("glGet",   X,      1,      "GL_MATRIX8_ARB"),      # 0x88C8
1936     ("glGet",   X,      1,      "GL_MATRIX9_ARB"),      # 0x88C9
1937     ("glGet",   X,      1,      "GL_MATRIX10_ARB"),     # 0x88CA
1938     ("glGet",   X,      1,      "GL_MATRIX11_ARB"),     # 0x88CB
1939     ("glGet",   X,      1,      "GL_MATRIX12_ARB"),     # 0x88CC
1940     ("glGet",   X,      1,      "GL_MATRIX13_ARB"),     # 0x88CD
1941     ("glGet",   X,      1,      "GL_MATRIX14_ARB"),     # 0x88CE
1942     ("glGet",   X,      1,      "GL_MATRIX15_ARB"),     # 0x88CF
1943     ("glGet",   X,      1,      "GL_MATRIX16_ARB"),     # 0x88D0
1944     ("glGet",   X,      1,      "GL_MATRIX17_ARB"),     # 0x88D1
1945     ("glGet",   X,      1,      "GL_MATRIX18_ARB"),     # 0x88D2
1946     ("glGet",   X,      1,      "GL_MATRIX19_ARB"),     # 0x88D3
1947     ("glGet",   X,      1,      "GL_MATRIX20_ARB"),     # 0x88D4
1948     ("glGet",   X,      1,      "GL_MATRIX21_ARB"),     # 0x88D5
1949     ("glGet",   X,      1,      "GL_MATRIX22_ARB"),     # 0x88D6
1950     ("glGet",   X,      1,      "GL_MATRIX23_ARB"),     # 0x88D7
1951     ("glGet",   X,      1,      "GL_MATRIX24_ARB"),     # 0x88D8
1952     ("glGet",   X,      1,      "GL_MATRIX25_ARB"),     # 0x88D9
1953     ("glGet",   X,      1,      "GL_MATRIX26_ARB"),     # 0x88DA
1954     ("glGet",   X,      1,      "GL_MATRIX27_ARB"),     # 0x88DB
1955     ("glGet",   X,      1,      "GL_MATRIX28_ARB"),     # 0x88DC
1956     ("glGet",   X,      1,      "GL_MATRIX29_ARB"),     # 0x88DD
1957     ("glGet",   X,      1,      "GL_MATRIX30_ARB"),     # 0x88DE
1958     ("glGet",   X,      1,      "GL_MATRIX31_ARB"),     # 0x88DF
1959     ("glGet",   X,      1,      "GL_STREAM_DRAW"),      # 0x88E0
1960     ("glGet",   X,      1,      "GL_STREAM_READ"),      # 0x88E1
1961     ("glGet",   X,      1,      "GL_STREAM_COPY"),      # 0x88E2
1962     ("glGet",   X,      1,      "GL_STATIC_DRAW"),      # 0x88E4
1963     ("glGet",   X,      1,      "GL_STATIC_READ"),      # 0x88E5
1964     ("glGet",   X,      1,      "GL_STATIC_COPY"),      # 0x88E6
1965     ("glGet",   X,      1,      "GL_DYNAMIC_DRAW"),     # 0x88E8
1966     ("glGet",   X,      1,      "GL_DYNAMIC_READ"),     # 0x88E9
1967     ("glGet",   X,      1,      "GL_DYNAMIC_COPY"),     # 0x88EA
1968     ("glGet",   X,      1,      "GL_PIXEL_PACK_BUFFER"),        # 0x88EB
1969     ("glGet",   X,      1,      "GL_PIXEL_UNPACK_BUFFER"),      # 0x88EC
1970     ("glGet",   I,      1,      "GL_PIXEL_PACK_BUFFER_BINDING"),        # 0x88ED
1971     ("glGet",   I,      1,      "GL_PIXEL_UNPACK_BUFFER_BINDING"),      # 0x88EF
1972     ("glGet",   X,      1,      "GL_DEPTH24_STENCIL8"), # 0x88F0
1973     ("glGet",   X,      1,      "GL_TEXTURE_STENCIL_SIZE"),     # 0x88F1
1974     ("glGet",   X,      1,      "GL_STENCIL_TAG_BITS_EXT"),     # 0x88F2
1975     ("glGet",   X,      1,      "GL_STENCIL_CLEAR_TAG_VALUE_EXT"),      # 0x88F3
1976     ("glGet",   X,      1,      "GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV"), # 0x88F4
1977     ("glGet",   X,      1,      "GL_MAX_PROGRAM_CALL_DEPTH_NV"),        # 0x88F5
1978     ("glGet",   X,      1,      "GL_MAX_PROGRAM_IF_DEPTH_NV"),  # 0x88F6
1979     ("glGet",   X,      1,      "GL_MAX_PROGRAM_LOOP_DEPTH_NV"),        # 0x88F7
1980     ("glGet",   X,      1,      "GL_MAX_PROGRAM_LOOP_COUNT_NV"),        # 0x88F8
1981     ("glGet",   X,      1,      "GL_SRC1_COLOR"),       # 0x88F9
1982     ("glGet",   X,      1,      "GL_ONE_MINUS_SRC1_COLOR"),     # 0x88FA
1983     ("glGet",   X,      1,      "GL_ONE_MINUS_SRC1_ALPHA"),     # 0x88FB
1984     ("glGet",   X,      1,      "GL_MAX_DUAL_SOURCE_DRAW_BUFFERS"),     # 0x88FC
1985     ("glGetVertexAttrib",       I,      1,      "GL_VERTEX_ATTRIB_ARRAY_INTEGER"),      # 0x88FD
1986     ("glGetVertexAttrib",       I,      1,      "GL_VERTEX_ATTRIB_ARRAY_DIVISOR"),      # 0x88FE
1987     ("glGet",   X,      1,      "GL_MAX_ARRAY_TEXTURE_LAYERS"), # 0x88FF
1988     ("glGet",   X,      1,      "GL_MIN_PROGRAM_TEXEL_OFFSET"), # 0x8904
1989     ("glGet",   X,      1,      "GL_MAX_PROGRAM_TEXEL_OFFSET"), # 0x8905
1990     ("glGet",   X,      1,      "GL_PROGRAM_ATTRIB_COMPONENTS_NV"),     # 0x8906
1991     ("glGet",   X,      1,      "GL_PROGRAM_RESULT_COMPONENTS_NV"),     # 0x8907
1992     ("glGet",   X,      1,      "GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV"), # 0x8908
1993     ("glGet",   X,      1,      "GL_MAX_PROGRAM_RESULT_COMPONENTS_NV"), # 0x8909
1994     ("glGet",   X,      1,      "GL_STENCIL_TEST_TWO_SIDE_EXT"),        # 0x8910
1995     ("glGet",   X,      1,      "GL_ACTIVE_STENCIL_FACE_EXT"),  # 0x8911
1996     ("glGet",   X,      1,      "GL_MIRROR_CLAMP_TO_BORDER_EXT"),       # 0x8912
1997     ("glGet",   X,      1,      "GL_SAMPLES_PASSED"),   # 0x8914
1998     ("glGet",   X,      1,      "GL_GEOMETRY_VERTICES_OUT"),    # 0x8916
1999     ("glGet",   X,      1,      "GL_GEOMETRY_INPUT_TYPE"),      # 0x8917
2000     ("glGet",   X,      1,      "GL_GEOMETRY_OUTPUT_TYPE"),     # 0x8918
2001     ("glGet",   I,      1,      "GL_SAMPLER_BINDING"),  # 0x8919
2002     ("glGet",   X,      1,      "GL_CLAMP_VERTEX_COLOR"),       # 0x891A
2003     ("glGet",   X,      1,      "GL_CLAMP_FRAGMENT_COLOR"),     # 0x891B
2004     ("glGet",   X,      1,      "GL_CLAMP_READ_COLOR"), # 0x891C
2005     ("glGet",   X,      1,      "GL_FIXED_ONLY"),       # 0x891D
2006     ("glGet",   X,      1,      "GL_TESS_CONTROL_PROGRAM_NV"),  # 0x891E
2007     ("glGet",   X,      1,      "GL_TESS_EVALUATION_PROGRAM_NV"),       # 0x891F
2008     ("glGet",   X,      1,      "GL_FRAGMENT_SHADER_ATI"),      # 0x8920
2009     ("glGet",   X,      1,      "GL_REG_0_ATI"),        # 0x8921
2010     ("glGet",   X,      1,      "GL_REG_1_ATI"),        # 0x8922
2011     ("glGet",   X,      1,      "GL_REG_2_ATI"),        # 0x8923
2012     ("glGet",   X,      1,      "GL_REG_3_ATI"),        # 0x8924
2013     ("glGet",   X,      1,      "GL_REG_4_ATI"),        # 0x8925
2014     ("glGet",   X,      1,      "GL_REG_5_ATI"),        # 0x8926
2015     ("glGet",   X,      1,      "GL_REG_6_ATI"),        # 0x8927
2016     ("glGet",   X,      1,      "GL_REG_7_ATI"),        # 0x8928
2017     ("glGet",   X,      1,      "GL_REG_8_ATI"),        # 0x8929
2018     ("glGet",   X,      1,      "GL_REG_9_ATI"),        # 0x892A
2019     ("glGet",   X,      1,      "GL_REG_10_ATI"),       # 0x892B
2020     ("glGet",   X,      1,      "GL_REG_11_ATI"),       # 0x892C
2021     ("glGet",   X,      1,      "GL_REG_12_ATI"),       # 0x892D
2022     ("glGet",   X,      1,      "GL_REG_13_ATI"),       # 0x892E
2023     ("glGet",   X,      1,      "GL_REG_14_ATI"),       # 0x892F
2024     ("glGet",   X,      1,      "GL_REG_15_ATI"),       # 0x8930
2025     ("glGet",   X,      1,      "GL_REG_16_ATI"),       # 0x8931
2026     ("glGet",   X,      1,      "GL_REG_17_ATI"),       # 0x8932
2027     ("glGet",   X,      1,      "GL_REG_18_ATI"),       # 0x8933
2028     ("glGet",   X,      1,      "GL_REG_19_ATI"),       # 0x8934
2029     ("glGet",   X,      1,      "GL_REG_20_ATI"),       # 0x8935
2030     ("glGet",   X,      1,      "GL_REG_21_ATI"),       # 0x8936
2031     ("glGet",   X,      1,      "GL_REG_22_ATI"),       # 0x8937
2032     ("glGet",   X,      1,      "GL_REG_23_ATI"),       # 0x8938
2033     ("glGet",   X,      1,      "GL_REG_24_ATI"),       # 0x8939
2034     ("glGet",   X,      1,      "GL_REG_25_ATI"),       # 0x893A
2035     ("glGet",   X,      1,      "GL_REG_26_ATI"),       # 0x893B
2036     ("glGet",   X,      1,      "GL_REG_27_ATI"),       # 0x893C
2037     ("glGet",   X,      1,      "GL_REG_28_ATI"),       # 0x893D
2038     ("glGet",   X,      1,      "GL_REG_29_ATI"),       # 0x893E
2039     ("glGet",   X,      1,      "GL_REG_30_ATI"),       # 0x893F
2040     ("glGet",   X,      1,      "GL_REG_31_ATI"),       # 0x8940
2041     ("glGet",   X,      1,      "GL_CON_0_ATI"),        # 0x8941
2042     ("glGet",   X,      1,      "GL_CON_1_ATI"),        # 0x8942
2043     ("glGet",   X,      1,      "GL_CON_2_ATI"),        # 0x8943
2044     ("glGet",   X,      1,      "GL_CON_3_ATI"),        # 0x8944
2045     ("glGet",   X,      1,      "GL_CON_4_ATI"),        # 0x8945
2046     ("glGet",   X,      1,      "GL_CON_5_ATI"),        # 0x8946
2047     ("glGet",   X,      1,      "GL_CON_6_ATI"),        # 0x8947
2048     ("glGet",   X,      1,      "GL_CON_7_ATI"),        # 0x8948
2049     ("glGet",   X,      1,      "GL_CON_8_ATI"),        # 0x8949
2050     ("glGet",   X,      1,      "GL_CON_9_ATI"),        # 0x894A
2051     ("glGet",   X,      1,      "GL_CON_10_ATI"),       # 0x894B
2052     ("glGet",   X,      1,      "GL_CON_11_ATI"),       # 0x894C
2053     ("glGet",   X,      1,      "GL_CON_12_ATI"),       # 0x894D
2054     ("glGet",   X,      1,      "GL_CON_13_ATI"),       # 0x894E
2055     ("glGet",   X,      1,      "GL_CON_14_ATI"),       # 0x894F
2056     ("glGet",   X,      1,      "GL_CON_15_ATI"),       # 0x8950
2057     ("glGet",   X,      1,      "GL_CON_16_ATI"),       # 0x8951
2058     ("glGet",   X,      1,      "GL_CON_17_ATI"),       # 0x8952
2059     ("glGet",   X,      1,      "GL_CON_18_ATI"),       # 0x8953
2060     ("glGet",   X,      1,      "GL_CON_19_ATI"),       # 0x8954
2061     ("glGet",   X,      1,      "GL_CON_20_ATI"),       # 0x8955
2062     ("glGet",   X,      1,      "GL_CON_21_ATI"),       # 0x8956
2063     ("glGet",   X,      1,      "GL_CON_22_ATI"),       # 0x8957
2064     ("glGet",   X,      1,      "GL_CON_23_ATI"),       # 0x8958
2065     ("glGet",   X,      1,      "GL_CON_24_ATI"),       # 0x8959
2066     ("glGet",   X,      1,      "GL_CON_25_ATI"),       # 0x895A
2067     ("glGet",   X,      1,      "GL_CON_26_ATI"),       # 0x895B
2068     ("glGet",   X,      1,      "GL_CON_27_ATI"),       # 0x895C
2069     ("glGet",   X,      1,      "GL_CON_28_ATI"),       # 0x895D
2070     ("glGet",   X,      1,      "GL_CON_29_ATI"),       # 0x895E
2071     ("glGet",   X,      1,      "GL_CON_30_ATI"),       # 0x895F
2072     ("glGet",   X,      1,      "GL_CON_31_ATI"),       # 0x8960
2073     ("glGet",   X,      1,      "GL_MOV_ATI"),  # 0x8961
2074     ("glGet",   X,      1,      "GL_ADD_ATI"),  # 0x8963
2075     ("glGet",   X,      1,      "GL_MUL_ATI"),  # 0x8964
2076     ("glGet",   X,      1,      "GL_SUB_ATI"),  # 0x8965
2077     ("glGet",   X,      1,      "GL_DOT3_ATI"), # 0x8966
2078     ("glGet",   X,      1,      "GL_DOT4_ATI"), # 0x8967
2079     ("glGet",   X,      1,      "GL_MAD_ATI"),  # 0x8968
2080     ("glGet",   X,      1,      "GL_LERP_ATI"), # 0x8969
2081     ("glGet",   X,      1,      "GL_CND_ATI"),  # 0x896A
2082     ("glGet",   X,      1,      "GL_CND0_ATI"), # 0x896B
2083     ("glGet",   X,      1,      "GL_DOT2_ADD_ATI"),     # 0x896C
2084     ("glGet",   X,      1,      "GL_SECONDARY_INTERPOLATOR_ATI"),       # 0x896D
2085     ("glGet",   X,      1,      "GL_NUM_FRAGMENT_REGISTERS_ATI"),       # 0x896E
2086     ("glGet",   X,      1,      "GL_NUM_FRAGMENT_CONSTANTS_ATI"),       # 0x896F
2087     ("glGet",   X,      1,      "GL_NUM_PASSES_ATI"),   # 0x8970
2088     ("glGet",   X,      1,      "GL_NUM_INSTRUCTIONS_PER_PASS_ATI"),    # 0x8971
2089     ("glGet",   X,      1,      "GL_NUM_INSTRUCTIONS_TOTAL_ATI"),       # 0x8972
2090     ("glGet",   X,      1,      "GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI"),    # 0x8973
2091     ("glGet",   X,      1,      "GL_NUM_LOOPBACK_COMPONENTS_ATI"),      # 0x8974
2092     ("glGet",   X,      1,      "GL_COLOR_ALPHA_PAIRING_ATI"),  # 0x8975
2093     ("glGet",   X,      1,      "GL_SWIZZLE_STR_ATI"),  # 0x8976
2094     ("glGet",   X,      1,      "GL_SWIZZLE_STQ_ATI"),  # 0x8977
2095     ("glGet",   X,      1,      "GL_SWIZZLE_STR_DR_ATI"),       # 0x8978
2096     ("glGet",   X,      1,      "GL_SWIZZLE_STQ_DQ_ATI"),       # 0x8979
2097     ("glGet",   X,      1,      "GL_SWIZZLE_STRQ_ATI"), # 0x897A
2098     ("glGet",   X,      1,      "GL_SWIZZLE_STRQ_DQ_ATI"),      # 0x897B
2099     ("glGet",   X,      1,      "GL_INTERLACE_OML"),    # 0x8980
2100     ("glGet",   X,      1,      "GL_INTERLACE_READ_OML"),       # 0x8981
2101     ("glGet",   X,      1,      "GL_FORMAT_SUBSAMPLE_24_24_OML"),       # 0x8982
2102     ("glGet",   X,      1,      "GL_FORMAT_SUBSAMPLE_244_244_OML"),     # 0x8983
2103     ("glGet",   X,      1,      "GL_PACK_RESAMPLE_OML"),        # 0x8984
2104     ("glGet",   X,      1,      "GL_UNPACK_RESAMPLE_OML"),      # 0x8985
2105     ("glGet",   X,      1,      "GL_RESAMPLE_REPLICATE_OML"),   # 0x8986
2106     ("glGet",   X,      1,      "GL_RESAMPLE_ZERO_FILL_OML"),   # 0x8987
2107     ("glGet",   X,      1,      "GL_RESAMPLE_AVERAGE_OML"),     # 0x8988
2108     ("glGet",   X,      1,      "GL_RESAMPLE_DECIMATE_OML"),    # 0x8989
2109     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_MAP1_APPLE"), # 0x8A00
2110     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_MAP2_APPLE"), # 0x8A01
2111     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE"),    # 0x8A02
2112     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE"),   # 0x8A03
2113     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE"),   # 0x8A04
2114     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE"),  # 0x8A05
2115     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE"),    # 0x8A06
2116     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE"),   # 0x8A07
2117     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE"),   # 0x8A08
2118     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE"),  # 0x8A09
2119     ("glGet",   X,      1,      "GL_DRAW_PIXELS_APPLE"),        # 0x8A0A
2120     ("glGet",   X,      1,      "GL_FENCE_APPLE"),      # 0x8A0B
2121     ("glGet",   X,      1,      "GL_ELEMENT_ARRAY_APPLE"),      # 0x8A0C
2122     ("glGet",   E,      1,      "GL_ELEMENT_ARRAY_TYPE_APPLE"), # 0x8A0D
2123     ("glGet",   X,      1,      "GL_ELEMENT_ARRAY_POINTER_APPLE"),      # 0x8A0E
2124     ("glGet",   X,      1,      "GL_COLOR_FLOAT_APPLE"),        # 0x8A0F
2125     ("glGet",   X,      1,      "GL_UNIFORM_BUFFER"),   # 0x8A11
2126     ("glGet",   X,      1,      "GL_BUFFER_SERIALIZED_MODIFY_APPLE"),   # 0x8A12
2127     ("glGet",   X,      1,      "GL_BUFFER_FLUSHING_UNMAP_APPLE"),      # 0x8A13
2128     ("glGet",   X,      1,      "GL_AUX_DEPTH_STENCIL_APPLE"),  # 0x8A14
2129     ("glGet",   X,      1,      "GL_PACK_ROW_BYTES_APPLE"),     # 0x8A15
2130     ("glGet",   X,      1,      "GL_UNPACK_ROW_BYTES_APPLE"),   # 0x8A16
2131     ("glGet",   X,      1,      "GL_RELEASED_APPLE"),   # 0x8A19
2132     ("glGet",   X,      1,      "GL_VOLATILE_APPLE"),   # 0x8A1A
2133     ("glGet",   X,      1,      "GL_RETAINED_APPLE"),   # 0x8A1B
2134     ("glGet",   X,      1,      "GL_UNDEFINED_APPLE"),  # 0x8A1C
2135     ("glGet",   X,      1,      "GL_PURGEABLE_APPLE"),  # 0x8A1D
2136     ("glGet",   X,      1,      "GL_RGB_422_APPLE"),    # 0x8A1F
2137     ("glGet",   I,      1,      "GL_UNIFORM_BUFFER_BINDING"),   # 0x8A28
2138     ("glGet",   X,      1,      "GL_UNIFORM_BUFFER_START"),     # 0x8A29
2139     ("glGet",   X,      1,      "GL_UNIFORM_BUFFER_SIZE"),      # 0x8A2A
2140     ("glGet",   X,      1,      "GL_MAX_VERTEX_UNIFORM_BLOCKS"),        # 0x8A2B
2141     ("glGet",   X,      1,      "GL_MAX_GEOMETRY_UNIFORM_BLOCKS"),      # 0x8A2C
2142     ("glGet",   X,      1,      "GL_MAX_FRAGMENT_UNIFORM_BLOCKS"),      # 0x8A2D
2143     ("glGet",   X,      1,      "GL_MAX_COMBINED_UNIFORM_BLOCKS"),      # 0x8A2E
2144     ("glGet",   X,      1,      "GL_MAX_UNIFORM_BUFFER_BINDINGS"),      # 0x8A2F
2145     ("glGet",   X,      1,      "GL_MAX_UNIFORM_BLOCK_SIZE"),   # 0x8A30
2146     ("glGet",   X,      1,      "GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS"),   # 0x8A31
2147     ("glGet",   X,      1,      "GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS"), # 0x8A32
2148     ("glGet",   X,      1,      "GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS"), # 0x8A33
2149     ("glGet",   X,      1,      "GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT"),  # 0x8A34
2150     ("glGet",   X,      1,      "GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH"),     # 0x8A35
2151     ("glGet",   X,      1,      "GL_ACTIVE_UNIFORM_BLOCKS"),    # 0x8A36
2152     ("glGet",   E,      1,      "GL_UNIFORM_TYPE"),     # 0x8A37
2153     ("glGet",   X,      1,      "GL_UNIFORM_SIZE"),     # 0x8A38
2154     ("glGet",   X,      1,      "GL_UNIFORM_NAME_LENGTH"),      # 0x8A39
2155     ("glGet",   X,      1,      "GL_UNIFORM_BLOCK_INDEX"),      # 0x8A3A
2156     ("glGet",   X,      1,      "GL_UNIFORM_OFFSET"),   # 0x8A3B
2157     ("glGet",   X,      1,      "GL_UNIFORM_ARRAY_STRIDE"),     # 0x8A3C
2158     ("glGet",   X,      1,      "GL_UNIFORM_MATRIX_STRIDE"),    # 0x8A3D
2159     ("glGet",   X,      1,      "GL_UNIFORM_IS_ROW_MAJOR"),     # 0x8A3E
2160     ("glGet",   I,      1,      "GL_UNIFORM_BLOCK_BINDING"),    # 0x8A3F
2161     ("glGet",   X,      1,      "GL_UNIFORM_BLOCK_DATA_SIZE"),  # 0x8A40
2162     ("glGet",   X,      1,      "GL_UNIFORM_BLOCK_NAME_LENGTH"),        # 0x8A41
2163     ("glGet",   X,      1,      "GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS"),    # 0x8A42
2164     ("glGet",   X,      1,      "GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES"),     # 0x8A43
2165     ("glGet",   X,      1,      "GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER"),        # 0x8A44
2166     ("glGet",   X,      1,      "GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER"),      # 0x8A45
2167     ("glGet",   X,      1,      "GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER"),      # 0x8A46
2168     #"glGet",   (X,     1,      "GL_TEXTURE_SRGB_DECODE_EXT"),  # 0x8A48
2169     #"glGet",   (X,     1,      "GL_DECODE_EXT"),       # 0x8A49
2170     #"glGet",   (X,     1,      "GL_SKIP_DECODE_EXT"),  # 0x8A4A
2171     ("glGet",   X,      1,      "GL_FRAGMENT_SHADER"),  # 0x8B30
2172     ("glGet",   X,      1,      "GL_VERTEX_SHADER"),    # 0x8B31
2173     ("glGet",   X,      1,      "GL_PROGRAM_OBJECT_ARB"),       # 0x8B40
2174     ("glGet",   X,      1,      "GL_SHADER_OBJECT_ARB"),        # 0x8B48
2175     ("glGet",   I,      1,      "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS"),  # 0x8B49
2176     ("glGet",   I,      1,      "GL_MAX_VERTEX_UNIFORM_COMPONENTS"),    # 0x8B4A
2177     ("glGet",   I,      1,      "GL_MAX_VARYING_COMPONENTS"),   # 0x8B4B
2178     ("glGet",   I,      1,      "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS"),   # 0x8B4C
2179     ("glGet",   I,      1,      "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS"), # 0x8B4D
2180     ("glGet",   E,      1,      "GL_OBJECT_TYPE_ARB"),  # 0x8B4E
2181     ("glGetShader",     E,      1,      "GL_SHADER_TYPE"),      # 0x8B4F
2182     ("glGet",   X,      1,      "GL_FLOAT_VEC2"),       # 0x8B50
2183     ("glGet",   X,      1,      "GL_FLOAT_VEC3"),       # 0x8B51
2184     ("glGet",   X,      1,      "GL_FLOAT_VEC4"),       # 0x8B52
2185     ("glGet",   X,      1,      "GL_INT_VEC2"), # 0x8B53
2186     ("glGet",   X,      1,      "GL_INT_VEC3"), # 0x8B54
2187     ("glGet",   X,      1,      "GL_INT_VEC4"), # 0x8B55
2188     ("glGet",   X,      1,      "GL_BOOL"),     # 0x8B56
2189     ("glGet",   X,      1,      "GL_BOOL_VEC2"),        # 0x8B57
2190     ("glGet",   X,      1,      "GL_BOOL_VEC3"),        # 0x8B58
2191     ("glGet",   X,      1,      "GL_BOOL_VEC4"),        # 0x8B59
2192     ("glGet",   X,      1,      "GL_FLOAT_MAT2"),       # 0x8B5A
2193     ("glGet",   X,      1,      "GL_FLOAT_MAT3"),       # 0x8B5B
2194     ("glGet",   X,      1,      "GL_FLOAT_MAT4"),       # 0x8B5C
2195     ("glGet",   X,      1,      "GL_SAMPLER_1D"),       # 0x8B5D
2196     ("glGet",   X,      1,      "GL_SAMPLER_2D"),       # 0x8B5E
2197     ("glGet",   X,      1,      "GL_SAMPLER_3D"),       # 0x8B5F
2198     ("glGet",   X,      1,      "GL_SAMPLER_CUBE"),     # 0x8B60
2199     ("glGet",   X,      1,      "GL_SAMPLER_1D_SHADOW"),        # 0x8B61
2200     ("glGet",   X,      1,      "GL_SAMPLER_2D_SHADOW"),        # 0x8B62
2201     ("glGet",   X,      1,      "GL_SAMPLER_2D_RECT"),  # 0x8B63
2202     ("glGet",   X,      1,      "GL_SAMPLER_2D_RECT_SHADOW"),   # 0x8B64
2203     ("glGet",   X,      1,      "GL_FLOAT_MAT2x3"),     # 0x8B65
2204     ("glGet",   X,      1,      "GL_FLOAT_MAT2x4"),     # 0x8B66
2205     ("glGet",   X,      1,      "GL_FLOAT_MAT3x2"),     # 0x8B67
2206     ("glGet",   X,      1,      "GL_FLOAT_MAT3x4"),     # 0x8B68
2207     ("glGet",   X,      1,      "GL_FLOAT_MAT4x2"),     # 0x8B69
2208     ("glGet",   X,      1,      "GL_FLOAT_MAT4x3"),     # 0x8B6A
2209     ("glGet",   X,      1,      "GL_DELETE_STATUS"),    # 0x8B80
2210     ("glGet",   X,      1,      "GL_COMPILE_STATUS"),   # 0x8B81
2211     ("glGet",   X,      1,      "GL_LINK_STATUS"),      # 0x8B82
2212     ("glGet",   X,      1,      "GL_VALIDATE_STATUS"),  # 0x8B83
2213     ("glGet",   X,      1,      "GL_INFO_LOG_LENGTH"),  # 0x8B84
2214     ("glGet",   X,      1,      "GL_ATTACHED_SHADERS"), # 0x8B85
2215     ("glGet",   X,      1,      "GL_ACTIVE_UNIFORMS"),  # 0x8B86
2216     ("glGet",   X,      1,      "GL_ACTIVE_UNIFORM_MAX_LENGTH"),        # 0x8B87
2217     ("glGetShader",     I,      1,      "GL_SHADER_SOURCE_LENGTH"),     # 0x8B88
2218     ("glGet",   X,      1,      "GL_ACTIVE_ATTRIBUTES"),        # 0x8B89
2219     ("glGet",   X,      1,      "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH"),      # 0x8B8A
2220     ("glGet",   X,      1,      "GL_FRAGMENT_SHADER_DERIVATIVE_HINT"),  # 0x8B8B
2221     ("glGet",   X,      1,      "GL_SHADING_LANGUAGE_VERSION"), # 0x8B8C
2222     ("glGet",   I,      1,      "GL_CURRENT_PROGRAM"),  # 0x8B8D
2223     ("glGet",   X,      1,      "GL_IMPLEMENTATION_COLOR_READ_TYPE"),   # 0x8B9A
2224     ("glGet",   X,      1,      "GL_IMPLEMENTATION_COLOR_READ_FORMAT"), # 0x8B9B
2225     ("glGet",   X,      1,      "GL_COUNTER_TYPE_AMD"), # 0x8BC0
2226     ("glGet",   X,      1,      "GL_COUNTER_RANGE_AMD"),        # 0x8BC1
2227     ("glGet",   X,      1,      "GL_UNSIGNED_INT64_AMD"),       # 0x8BC2
2228     ("glGet",   X,      1,      "GL_PERCENTAGE_AMD"),   # 0x8BC3
2229     ("glGet",   X,      1,      "GL_PERFMON_RESULT_AVAILABLE_AMD"),     # 0x8BC4
2230     ("glGet",   X,      1,      "GL_PERFMON_RESULT_SIZE_AMD"),  # 0x8BC5
2231     ("glGet",   X,      1,      "GL_PERFMON_RESULT_AMD"),       # 0x8BC6
2232     ("glGet",   X,      1,      "GL_TEXTURE_RED_TYPE"), # 0x8C10
2233     ("glGet",   X,      1,      "GL_TEXTURE_GREEN_TYPE"),       # 0x8C11
2234     ("glGet",   X,      1,      "GL_TEXTURE_BLUE_TYPE"),        # 0x8C12
2235     ("glGet",   X,      1,      "GL_TEXTURE_ALPHA_TYPE"),       # 0x8C13
2236     ("glGet",   X,      1,      "GL_TEXTURE_LUMINANCE_TYPE"),   # 0x8C14
2237     ("glGet",   X,      1,      "GL_TEXTURE_INTENSITY_TYPE"),   # 0x8C15
2238     ("glGet",   X,      1,      "GL_TEXTURE_DEPTH_TYPE"),       # 0x8C16
2239     ("glGet",   X,      1,      "GL_UNSIGNED_NORMALIZED"),      # 0x8C17
2240     ("glGet",   X,      1,      "GL_TEXTURE_1D_ARRAY"), # 0x8C18
2241     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_1D_ARRAY"),   # 0x8C19
2242     ("glGet",   X,      1,      "GL_TEXTURE_2D_ARRAY"), # 0x8C1A
2243     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_2D_ARRAY"),   # 0x8C1B
2244     ("glGet",   X,      1,      "GL_TEXTURE_BINDING_1D_ARRAY"), # 0x8C1C
2245     ("glGet",   X,      1,      "GL_TEXTURE_BINDING_2D_ARRAY"), # 0x8C1D
2246     ("glGet",   X,      1,      "GL_GEOMETRY_PROGRAM_NV"),      # 0x8C26
2247     ("glGet",   X,      1,      "GL_MAX_PROGRAM_OUTPUT_VERTICES_NV"),   # 0x8C27
2248     ("glGet",   X,      1,      "GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV"),   # 0x8C28
2249     ("glGet",   X,      1,      "GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS"), # 0x8C29
2250     ("glGet",   X,      1,      "GL_TEXTURE_BUFFER"),   # 0x8C2A
2251     ("glGet",   X,      1,      "GL_MAX_TEXTURE_BUFFER_SIZE"),  # 0x8C2B
2252     ("glGet",   X,      1,      "GL_TEXTURE_BINDING_BUFFER"),   # 0x8C2C
2253     ("glGet",   I,      1,      "GL_TEXTURE_BUFFER_DATA_STORE_BINDING"),        # 0x8C2D
2254     ("glGet",   X,      1,      "GL_TEXTURE_BUFFER_FORMAT"),    # 0x8C2E
2255     ("glGet",   X,      1,      "GL_ANY_SAMPLES_PASSED"),       # 0x8C2F
2256     ("glGet",   X,      1,      "GL_SAMPLE_SHADING"),   # 0x8C36
2257     ("glGet",   X,      1,      "GL_MIN_SAMPLE_SHADING_VALUE"), # 0x8C37
2258     ("glGet",   X,      1,      "GL_R11F_G11F_B10F"),   # 0x8C3A
2259     ("glGet",   X,      1,      "GL_UNSIGNED_INT_10F_11F_11F_REV"),     # 0x8C3B
2260     ("glGet",   X,      1,      "GL_RGBA_SIGNED_COMPONENTS_EXT"),       # 0x8C3C
2261     ("glGet",   X,      1,      "GL_RGB9_E5"),  # 0x8C3D
2262     ("glGet",   X,      1,      "GL_UNSIGNED_INT_5_9_9_9_REV"), # 0x8C3E
2263     ("glGet",   X,      1,      "GL_TEXTURE_SHARED_SIZE"),      # 0x8C3F
2264     ("glGet",   X,      1,      "GL_SRGB"),     # 0x8C40
2265     ("glGet",   X,      1,      "GL_SRGB8"),    # 0x8C41
2266     ("glGet",   X,      1,      "GL_SRGB_ALPHA"),       # 0x8C42
2267     ("glGet",   X,      1,      "GL_SRGB8_ALPHA8"),     # 0x8C43
2268     ("glGet",   X,      1,      "GL_SLUMINANCE_ALPHA"), # 0x8C44
2269     ("glGet",   X,      1,      "GL_SLUMINANCE8_ALPHA8"),       # 0x8C45
2270     ("glGet",   X,      1,      "GL_SLUMINANCE"),       # 0x8C46
2271     ("glGet",   X,      1,      "GL_SLUMINANCE8"),      # 0x8C47
2272     ("glGet",   X,      1,      "GL_COMPRESSED_SRGB"),  # 0x8C48
2273     ("glGet",   X,      1,      "GL_COMPRESSED_SRGB_ALPHA"),    # 0x8C49
2274     ("glGet",   X,      1,      "GL_COMPRESSED_SLUMINANCE"),    # 0x8C4A
2275     ("glGet",   X,      1,      "GL_COMPRESSED_SLUMINANCE_ALPHA"),      # 0x8C4B
2276     ("glGet",   X,      1,      "GL_COMPRESSED_SRGB_S3TC_DXT1_EXT"),    # 0x8C4C
2277     ("glGet",   X,      1,      "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT"),      # 0x8C4D
2278     ("glGet",   X,      1,      "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT"),      # 0x8C4E
2279     ("glGet",   X,      1,      "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT"),      # 0x8C4F
2280     ("glGet",   X,      1,      "GL_COMPRESSED_LUMINANCE_LATC1_EXT"),   # 0x8C70
2281     ("glGet",   X,      1,      "GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT"),    # 0x8C71
2282     ("glGet",   X,      1,      "GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT"),     # 0x8C72
2283     ("glGet",   X,      1,      "GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT"),      # 0x8C73
2284     ("glGet",   X,      1,      "GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV"), # 0x8C74
2285     ("glGet",   X,      1,      "GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV"),      # 0x8C75
2286     ("glGet",   X,      1,      "GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH"),    # 0x8C76
2287     ("glGet",   X,      1,      "GL_BACK_PRIMARY_COLOR_NV"),    # 0x8C77
2288     ("glGet",   X,      1,      "GL_BACK_SECONDARY_COLOR_NV"),  # 0x8C78
2289     ("glGet",   X,      1,      "GL_TEXTURE_COORD_NV"), # 0x8C79
2290     ("glGet",   X,      1,      "GL_CLIP_DISTANCE_NV"), # 0x8C7A
2291     ("glGet",   X,      1,      "GL_VERTEX_ID_NV"),     # 0x8C7B
2292     ("glGet",   X,      1,      "GL_PRIMITIVE_ID_NV"),  # 0x8C7C
2293     ("glGet",   X,      1,      "GL_GENERIC_ATTRIB_NV"),        # 0x8C7D
2294     ("glGet",   X,      1,      "GL_TRANSFORM_FEEDBACK_BUFFER_MODE"),   # 0x8C7F
2295     ("glGet",   X,      1,      "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS"),       # 0x8C80
2296     ("glGet",   X,      1,      "GL_ACTIVE_VARYINGS_NV"),       # 0x8C81
2297     ("glGet",   X,      1,      "GL_ACTIVE_VARYING_MAX_LENGTH_NV"),     # 0x8C82
2298     ("glGet",   X,      1,      "GL_TRANSFORM_FEEDBACK_VARYINGS"),      # 0x8C83
2299     ("glGet",   X,      1,      "GL_TRANSFORM_FEEDBACK_BUFFER_START"),  # 0x8C84
2300     ("glGet",   X,      1,      "GL_TRANSFORM_FEEDBACK_BUFFER_SIZE"),   # 0x8C85
2301     ("glGet",   X,      1,      "GL_TRANSFORM_FEEDBACK_RECORD_NV"),     # 0x8C86
2302     ("glGet",   X,      1,      "GL_PRIMITIVES_GENERATED"),     # 0x8C87
2303     ("glGet",   X,      1,      "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN"),    # 0x8C88
2304     ("glGet",   X,      1,      "GL_RASTERIZER_DISCARD"),       # 0x8C89
2305     ("glGet",   X,      1,      "GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS"),    # 0x8C8A
2306     ("glGet",   X,      1,      "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS"),  # 0x8C8B
2307     ("glGet",   X,      1,      "GL_INTERLEAVED_ATTRIBS"),      # 0x8C8C
2308     ("glGet",   X,      1,      "GL_SEPARATE_ATTRIBS"), # 0x8C8D
2309     ("glGet",   X,      1,      "GL_TRANSFORM_FEEDBACK_BUFFER"),        # 0x8C8E
2310     ("glGet",   I,      1,      "GL_TRANSFORM_FEEDBACK_BUFFER_BINDING"),        # 0x8C8F
2311     ("glGet",   X,      1,      "GL_POINT_SPRITE_COORD_ORIGIN"),        # 0x8CA0
2312     ("glGet",   X,      1,      "GL_LOWER_LEFT"),       # 0x8CA1
2313     ("glGet",   X,      1,      "GL_UPPER_LEFT"),       # 0x8CA2
2314     ("glGet",   X,      1,      "GL_STENCIL_BACK_REF"), # 0x8CA3
2315     ("glGet",   X,      1,      "GL_STENCIL_BACK_VALUE_MASK"),  # 0x8CA4
2316     ("glGet",   X,      1,      "GL_STENCIL_BACK_WRITEMASK"),   # 0x8CA5
2317     ("glGet",   I,      1,      "GL_FRAMEBUFFER_BINDING"),      # 0x8CA6
2318     ("glGet",   I,      1,      "GL_RENDERBUFFER_BINDING"),     # 0x8CA7
2319     ("glGet",   X,      1,      "GL_READ_FRAMEBUFFER"), # 0x8CA8
2320     ("glGet",   X,      1,      "GL_DRAW_FRAMEBUFFER"), # 0x8CA9
2321     ("glGet",   I,      1,      "GL_READ_FRAMEBUFFER_BINDING"), # 0x8CAA
2322     ("glGet",   X,      1,      "GL_RENDERBUFFER_SAMPLES"),     # 0x8CAB
2323     ("glGet",   X,      1,      "GL_DEPTH_COMPONENT32F"),       # 0x8CAC
2324     ("glGet",   X,      1,      "GL_DEPTH32F_STENCIL8"),        # 0x8CAD
2325     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE"),       # 0x8CD0
2326     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME"),       # 0x8CD1
2327     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL"),     # 0x8CD2
2328     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE"),     # 0x8CD3
2329     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER"),     # 0x8CD4
2330     ("glGet",   X,      1,      "GL_FRAMEBUFFER_COMPLETE"),     # 0x8CD5
2331     ("glGet",   X,      1,      "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"),        # 0x8CD6
2332     ("glGet",   X,      1,      "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"),        # 0x8CD7
2333     ("glGet",   X,      1,      "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT"),    # 0x8CD9
2334     ("glGet",   X,      1,      "GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT"),       # 0x8CDA
2335     ("glGet",   X,      1,      "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER"),       # 0x8CDB
2336     ("glGet",   X,      1,      "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER"),       # 0x8CDC
2337     ("glGet",   X,      1,      "GL_FRAMEBUFFER_UNSUPPORTED"),  # 0x8CDD
2338     ("glGet",   X,      1,      "GL_MAX_COLOR_ATTACHMENTS"),    # 0x8CDF
2339     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT0"),        # 0x8CE0
2340     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT1"),        # 0x8CE1
2341     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT2"),        # 0x8CE2
2342     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT3"),        # 0x8CE3
2343     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT4"),        # 0x8CE4
2344     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT5"),        # 0x8CE5
2345     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT6"),        # 0x8CE6
2346     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT7"),        # 0x8CE7
2347     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT8"),        # 0x8CE8
2348     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT9"),        # 0x8CE9
2349     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT10"),       # 0x8CEA
2350     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT11"),       # 0x8CEB
2351     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT12"),       # 0x8CEC
2352     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT13"),       # 0x8CED
2353     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT14"),       # 0x8CEE
2354     ("glGet",   X,      1,      "GL_COLOR_ATTACHMENT15"),       # 0x8CEF
2355     ("glGet",   X,      1,      "GL_DEPTH_ATTACHMENT"), # 0x8D00
2356     ("glGet",   X,      1,      "GL_STENCIL_ATTACHMENT"),       # 0x8D20
2357     ("glGet",   X,      1,      "GL_FRAMEBUFFER"),      # 0x8D40
2358     ("glGet",   X,      1,      "GL_RENDERBUFFER"),     # 0x8D41
2359     ("glGet",   X,      1,      "GL_RENDERBUFFER_WIDTH"),       # 0x8D42
2360     ("glGet",   X,      1,      "GL_RENDERBUFFER_HEIGHT"),      # 0x8D43
2361     ("glGet",   X,      1,      "GL_RENDERBUFFER_INTERNAL_FORMAT"),     # 0x8D44
2362     ("glGet",   X,      1,      "GL_STENCIL_INDEX1"),   # 0x8D46
2363     ("glGet",   X,      1,      "GL_STENCIL_INDEX4"),   # 0x8D47
2364     ("glGet",   X,      1,      "GL_STENCIL_INDEX8"),   # 0x8D48
2365     ("glGet",   X,      1,      "GL_STENCIL_INDEX16"),  # 0x8D49
2366     ("glGet",   X,      1,      "GL_RENDERBUFFER_RED_SIZE"),    # 0x8D50
2367     ("glGet",   X,      1,      "GL_RENDERBUFFER_GREEN_SIZE"),  # 0x8D51
2368     ("glGet",   X,      1,      "GL_RENDERBUFFER_BLUE_SIZE"),   # 0x8D52
2369     ("glGet",   X,      1,      "GL_RENDERBUFFER_ALPHA_SIZE"),  # 0x8D53
2370     ("glGet",   X,      1,      "GL_RENDERBUFFER_DEPTH_SIZE"),  # 0x8D54
2371     ("glGet",   X,      1,      "GL_RENDERBUFFER_STENCIL_SIZE"),        # 0x8D55
2372     ("glGet",   X,      1,      "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE"),       # 0x8D56
2373     ("glGet",   X,      1,      "GL_MAX_SAMPLES"),      # 0x8D57
2374     ("glGet",   X,      1,      "GL_RGBA32UI"), # 0x8D70
2375     ("glGet",   X,      1,      "GL_RGB32UI"),  # 0x8D71
2376     ("glGet",   X,      1,      "GL_ALPHA32UI_EXT"),    # 0x8D72
2377     ("glGet",   X,      1,      "GL_INTENSITY32UI_EXT"),        # 0x8D73
2378     ("glGet",   X,      1,      "GL_LUMINANCE32UI_EXT"),        # 0x8D74
2379     ("glGet",   X,      1,      "GL_LUMINANCE_ALPHA32UI_EXT"),  # 0x8D75
2380     ("glGet",   X,      1,      "GL_RGBA16UI"), # 0x8D76
2381     ("glGet",   X,      1,      "GL_RGB16UI"),  # 0x8D77
2382     ("glGet",   X,      1,      "GL_ALPHA16UI_EXT"),    # 0x8D78
2383     ("glGet",   X,      1,      "GL_INTENSITY16UI_EXT"),        # 0x8D79
2384     ("glGet",   X,      1,      "GL_LUMINANCE16UI_EXT"),        # 0x8D7A
2385     ("glGet",   X,      1,      "GL_LUMINANCE_ALPHA16UI_EXT"),  # 0x8D7B
2386     ("glGet",   X,      1,      "GL_RGBA8UI"),  # 0x8D7C
2387     ("glGet",   X,      1,      "GL_RGB8UI"),   # 0x8D7D
2388     ("glGet",   X,      1,      "GL_ALPHA8UI_EXT"),     # 0x8D7E
2389     ("glGet",   X,      1,      "GL_INTENSITY8UI_EXT"), # 0x8D7F
2390     ("glGet",   X,      1,      "GL_LUMINANCE8UI_EXT"), # 0x8D80
2391     ("glGet",   X,      1,      "GL_LUMINANCE_ALPHA8UI_EXT"),   # 0x8D81
2392     ("glGet",   X,      1,      "GL_RGBA32I"),  # 0x8D82
2393     ("glGet",   X,      1,      "GL_RGB32I"),   # 0x8D83
2394     ("glGet",   X,      1,      "GL_ALPHA32I_EXT"),     # 0x8D84
2395     ("glGet",   X,      1,      "GL_INTENSITY32I_EXT"), # 0x8D85
2396     ("glGet",   X,      1,      "GL_LUMINANCE32I_EXT"), # 0x8D86
2397     ("glGet",   X,      1,      "GL_LUMINANCE_ALPHA32I_EXT"),   # 0x8D87
2398     ("glGet",   X,      1,      "GL_RGBA16I"),  # 0x8D88
2399     ("glGet",   X,      1,      "GL_RGB16I"),   # 0x8D89
2400     ("glGet",   X,      1,      "GL_ALPHA16I_EXT"),     # 0x8D8A
2401     ("glGet",   X,      1,      "GL_INTENSITY16I_EXT"), # 0x8D8B
2402     ("glGet",   X,      1,      "GL_LUMINANCE16I_EXT"), # 0x8D8C
2403     ("glGet",   X,      1,      "GL_LUMINANCE_ALPHA16I_EXT"),   # 0x8D8D
2404     ("glGet",   X,      1,      "GL_RGBA8I"),   # 0x8D8E
2405     ("glGet",   X,      1,      "GL_RGB8I"),    # 0x8D8F
2406     ("glGet",   X,      1,      "GL_ALPHA8I_EXT"),      # 0x8D90
2407     ("glGet",   X,      1,      "GL_INTENSITY8I_EXT"),  # 0x8D91
2408     ("glGet",   X,      1,      "GL_LUMINANCE8I_EXT"),  # 0x8D92
2409     ("glGet",   X,      1,      "GL_LUMINANCE_ALPHA8I_EXT"),    # 0x8D93
2410     ("glGet",   X,      1,      "GL_RED_INTEGER"),      # 0x8D94
2411     ("glGet",   X,      1,      "GL_GREEN_INTEGER"),    # 0x8D95
2412     ("glGet",   X,      1,      "GL_BLUE_INTEGER"),     # 0x8D96
2413     ("glGet",   X,      1,      "GL_ALPHA_INTEGER"),    # 0x8D97
2414     ("glGet",   X,      1,      "GL_RGB_INTEGER"),      # 0x8D98
2415     ("glGet",   X,      1,      "GL_RGBA_INTEGER"),     # 0x8D99
2416     ("glGet",   X,      1,      "GL_BGR_INTEGER"),      # 0x8D9A
2417     ("glGet",   X,      1,      "GL_BGRA_INTEGER"),     # 0x8D9B
2418     ("glGet",   X,      1,      "GL_LUMINANCE_INTEGER_EXT"),    # 0x8D9C
2419     ("glGet",   X,      1,      "GL_LUMINANCE_ALPHA_INTEGER_EXT"),      # 0x8D9D
2420     ("glGet",   X,      1,      "GL_RGBA_INTEGER_MODE_EXT"),    # 0x8D9E
2421     ("glGet",   X,      1,      "GL_INT_2_10_10_10_REV"),       # 0x8D9F
2422     ("glGet",   X,      1,      "GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV"), # 0x8DA0
2423     ("glGet",   X,      1,      "GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV"),     # 0x8DA1
2424     ("glGet",   X,      1,      "GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV"),       # 0x8DA2
2425     ("glGet",   X,      1,      "GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV"),     # 0x8DA3
2426     ("glGet",   X,      1,      "GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV"),     # 0x8DA4
2427     ("glGet",   X,      1,      "GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV"),   # 0x8DA5
2428     ("glGet",   X,      1,      "GL_MAX_PROGRAM_GENERIC_RESULTS_NV"),   # 0x8DA6
2429     ("glGet",   X,      1,      "GL_FRAMEBUFFER_ATTACHMENT_LAYERED"),   # 0x8DA7
2430     ("glGet",   X,      1,      "GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS"),     # 0x8DA8
2431     ("glGet",   X,      1,      "GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB"),   # 0x8DA9
2432     ("glGet",   X,      1,      "GL_LAYER_NV"), # 0x8DAA
2433     ("glGet",   X,      1,      "GL_DEPTH_COMPONENT32F_NV"),    # 0x8DAB
2434     ("glGet",   X,      1,      "GL_DEPTH32F_STENCIL8_NV"),     # 0x8DAC
2435     ("glGet",   X,      1,      "GL_FLOAT_32_UNSIGNED_INT_24_8_REV"),   # 0x8DAD
2436     ("glGet",   X,      1,      "GL_SHADER_INCLUDE_ARB"),       # 0x8DAE
2437     ("glGet",   X,      1,      "GL_DEPTH_BUFFER_FLOAT_MODE_NV"),       # 0x8DAF
2438     ("glGet",   X,      1,      "GL_FRAMEBUFFER_SRGB"), # 0x8DB9
2439     ("glGet",   X,      1,      "GL_FRAMEBUFFER_SRGB_CAPABLE_EXT"),     # 0x8DBA
2440     ("glGet",   X,      1,      "GL_COMPRESSED_RED_RGTC1"),     # 0x8DBB
2441     ("glGet",   X,      1,      "GL_COMPRESSED_SIGNED_RED_RGTC1"),      # 0x8DBC
2442     ("glGet",   X,      1,      "GL_COMPRESSED_RG_RGTC2"),      # 0x8DBD
2443     ("glGet",   X,      1,      "GL_COMPRESSED_SIGNED_RG_RGTC2"),       # 0x8DBE
2444     ("glGet",   X,      1,      "GL_SAMPLER_1D_ARRAY"), # 0x8DC0
2445     ("glGet",   X,      1,      "GL_SAMPLER_2D_ARRAY"), # 0x8DC1
2446     ("glGet",   X,      1,      "GL_SAMPLER_BUFFER"),   # 0x8DC2
2447     ("glGet",   X,      1,      "GL_SAMPLER_1D_ARRAY_SHADOW"),  # 0x8DC3
2448     ("glGet",   X,      1,      "GL_SAMPLER_2D_ARRAY_SHADOW"),  # 0x8DC4
2449     ("glGet",   X,      1,      "GL_SAMPLER_CUBE_SHADOW"),      # 0x8DC5
2450     ("glGet",   X,      1,      "GL_UNSIGNED_INT_VEC2"),        # 0x8DC6
2451     ("glGet",   X,      1,      "GL_UNSIGNED_INT_VEC3"),        # 0x8DC7
2452     ("glGet",   X,      1,      "GL_UNSIGNED_INT_VEC4"),        # 0x8DC8
2453     ("glGet",   X,      1,      "GL_INT_SAMPLER_1D"),   # 0x8DC9
2454     ("glGet",   X,      1,      "GL_INT_SAMPLER_2D"),   # 0x8DCA
2455     ("glGet",   X,      1,      "GL_INT_SAMPLER_3D"),   # 0x8DCB
2456     ("glGet",   X,      1,      "GL_INT_SAMPLER_CUBE"), # 0x8DCC
2457     ("glGet",   X,      1,      "GL_INT_SAMPLER_2D_RECT"),      # 0x8DCD
2458     ("glGet",   X,      1,      "GL_INT_SAMPLER_1D_ARRAY"),     # 0x8DCE
2459     ("glGet",   X,      1,      "GL_INT_SAMPLER_2D_ARRAY"),     # 0x8DCF
2460     ("glGet",   X,      1,      "GL_INT_SAMPLER_BUFFER"),       # 0x8DD0
2461     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_1D"),  # 0x8DD1
2462     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_2D"),  # 0x8DD2
2463     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_3D"),  # 0x8DD3
2464     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_CUBE"),        # 0x8DD4
2465     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_2D_RECT"),     # 0x8DD5
2466     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_1D_ARRAY"),    # 0x8DD6
2467     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_2D_ARRAY"),    # 0x8DD7
2468     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_BUFFER"),      # 0x8DD8
2469     ("glGet",   X,      1,      "GL_GEOMETRY_SHADER"),  # 0x8DD9
2470     ("glGet",   X,      1,      "GL_GEOMETRY_VERTICES_OUT_ARB"),        # 0x8DDA
2471     ("glGet",   X,      1,      "GL_GEOMETRY_INPUT_TYPE_ARB"),  # 0x8DDB
2472     ("glGet",   X,      1,      "GL_GEOMETRY_OUTPUT_TYPE_ARB"), # 0x8DDC
2473     ("glGet",   X,      1,      "GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB"),      # 0x8DDD
2474     ("glGet",   X,      1,      "GL_MAX_VERTEX_VARYING_COMPONENTS_ARB"),        # 0x8DDE
2475     ("glGet",   X,      1,      "GL_MAX_GEOMETRY_UNIFORM_COMPONENTS"),  # 0x8DDF
2476     ("glGet",   X,      1,      "GL_MAX_GEOMETRY_OUTPUT_VERTICES"),     # 0x8DE0
2477     ("glGet",   X,      1,      "GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS"),     # 0x8DE1
2478     ("glGet",   X,      1,      "GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT"), # 0x8DE2
2479     ("glGet",   X,      1,      "GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT"),       # 0x8DE3
2480     ("glGet",   X,      1,      "GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT"),       # 0x8DE4
2481     ("glGet",   X,      1,      "GL_ACTIVE_SUBROUTINES"),       # 0x8DE5
2482     ("glGet",   X,      1,      "GL_ACTIVE_SUBROUTINE_UNIFORMS"),       # 0x8DE6
2483     ("glGet",   X,      1,      "GL_MAX_SUBROUTINES"),  # 0x8DE7
2484     ("glGet",   X,      1,      "GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS"), # 0x8DE8
2485     ("glGet",   X,      1,      "GL_NAMED_STRING_LENGTH_ARB"),  # 0x8DE9
2486     ("glGet",   X,      1,      "GL_NAMED_STRING_TYPE_ARB"),    # 0x8DEA
2487     ("glGet",   X,      1,      "GL_MAX_BINDABLE_UNIFORM_SIZE_EXT"),    # 0x8DED
2488     ("glGet",   X,      1,      "GL_UNIFORM_BUFFER_EXT"),       # 0x8DEE
2489     ("glGet",   I,      1,      "GL_UNIFORM_BUFFER_BINDING_EXT"),       # 0x8DEF
2490     ("glGet",   X,      1,      "GL_LOW_FLOAT"),        # 0x8DF0
2491     ("glGet",   X,      1,      "GL_MEDIUM_FLOAT"),     # 0x8DF1
2492     ("glGet",   X,      1,      "GL_HIGH_FLOAT"),       # 0x8DF2
2493     ("glGet",   X,      1,      "GL_LOW_INT"),  # 0x8DF3
2494     ("glGet",   X,      1,      "GL_MEDIUM_INT"),       # 0x8DF4
2495     ("glGet",   X,      1,      "GL_HIGH_INT"), # 0x8DF5
2496     ("glGet",   X,      1,      "GL_NUM_SHADER_BINARY_FORMATS"),        # 0x8DF9
2497     ("glGet",   X,      1,      "GL_SHADER_COMPILER"),  # 0x8DFA
2498     ("glGet",   X,      1,      "GL_MAX_VERTEX_UNIFORM_VECTORS"),       # 0x8DFB
2499     ("glGet",   X,      1,      "GL_MAX_VARYING_VECTORS"),      # 0x8DFC
2500     ("glGet",   X,      1,      "GL_MAX_FRAGMENT_UNIFORM_VECTORS"),     # 0x8DFD
2501     ("glGet",   X,      1,      "GL_RENDERBUFFER_COLOR_SAMPLES_NV"),    # 0x8E10
2502     ("glGet",   X,      1,      "GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV"),        # 0x8E11
2503     ("glGet",   X,      1,      "GL_MULTISAMPLE_COVERAGE_MODES_NV"),    # 0x8E12
2504     ("glGet",   X,      1,      "GL_QUERY_WAIT"),       # 0x8E13
2505     ("glGet",   X,      1,      "GL_QUERY_NO_WAIT"),    # 0x8E14
2506     ("glGet",   X,      1,      "GL_QUERY_BY_REGION_WAIT"),     # 0x8E15
2507     ("glGet",   X,      1,      "GL_QUERY_BY_REGION_NO_WAIT"),  # 0x8E16
2508     ("glGet",   X,      1,      "GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS"),     # 0x8E1E
2509     ("glGet",   X,      1,      "GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS"),  # 0x8E1F
2510     ("glGet",   X,      1,      "GL_COLOR_SAMPLES_NV"), # 0x8E20
2511     ("glGet",   X,      1,      "GL_TRANSFORM_FEEDBACK"),       # 0x8E22
2512     ("glGet",   X,      1,      "GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED"), # 0x8E23
2513     ("glGet",   X,      1,      "GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE"), # 0x8E24
2514     ("glGet",   I,      1,      "GL_TRANSFORM_FEEDBACK_BINDING"),       # 0x8E25
2515     ("glGet",   X,      1,      "GL_FRAME_NV"), # 0x8E26
2516     ("glGet",   X,      1,      "GL_FIELDS_NV"),        # 0x8E27
2517     ("glGet",   X,      1,      "GL_TIMESTAMP"),        # 0x8E28
2518     ("glGet",   X,      1,      "GL_NUM_FILL_STREAMS_NV"),      # 0x8E29
2519     ("glGet",   X,      1,      "GL_PRESENT_TIME_NV"),  # 0x8E2A
2520     ("glGet",   X,      1,      "GL_PRESENT_DURATION_NV"),      # 0x8E2B
2521     ("glGet",   X,      1,      "GL_PROGRAM_MATRIX_EXT"),       # 0x8E2D
2522     ("glGet",   X,      1,      "GL_TRANSPOSE_PROGRAM_MATRIX_EXT"),     # 0x8E2E
2523     ("glGet",   X,      1,      "GL_PROGRAM_MATRIX_STACK_DEPTH_EXT"),   # 0x8E2F
2524     ("glGet",   X,      1,      "GL_TEXTURE_SWIZZLE_R"),        # 0x8E42
2525     ("glGet",   X,      1,      "GL_TEXTURE_SWIZZLE_G"),        # 0x8E43
2526     ("glGet",   X,      1,      "GL_TEXTURE_SWIZZLE_B"),        # 0x8E44
2527     ("glGet",   X,      1,      "GL_TEXTURE_SWIZZLE_A"),        # 0x8E45
2528     ("glGet",   X,      1,      "GL_TEXTURE_SWIZZLE_RGBA"),     # 0x8E46
2529     ("glGet",   X,      1,      "GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS"),      # 0x8E47
2530     ("glGet",   X,      1,      "GL_ACTIVE_SUBROUTINE_MAX_LENGTH"),     # 0x8E48
2531     ("glGet",   X,      1,      "GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH"),     # 0x8E49
2532     ("glGet",   X,      1,      "GL_NUM_COMPATIBLE_SUBROUTINES"),       # 0x8E4A
2533     ("glGet",   X,      1,      "GL_COMPATIBLE_SUBROUTINES"),   # 0x8E4B
2534     ("glGet",   X,      1,      "GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION"), # 0x8E4C
2535     ("glGet",   X,      1,      "GL_FIRST_VERTEX_CONVENTION"),  # 0x8E4D
2536     ("glGet",   X,      1,      "GL_LAST_VERTEX_CONVENTION"),   # 0x8E4E
2537     ("glGet",   X,      1,      "GL_PROVOKING_VERTEX"), # 0x8E4F
2538     ("glGet",   X,      1,      "GL_SAMPLE_POSITION"),  # 0x8E50
2539     ("glGet",   X,      1,      "GL_SAMPLE_MASK"),      # 0x8E51
2540     ("glGet",   X,      1,      "GL_SAMPLE_MASK_VALUE"),        # 0x8E52
2541     ("glGet",   X,      1,      "GL_TEXTURE_BINDING_RENDERBUFFER_NV"),  # 0x8E53
2542     ("glGet",   I,      1,      "GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV"),       # 0x8E54
2543     ("glGet",   X,      1,      "GL_TEXTURE_RENDERBUFFER_NV"),  # 0x8E55
2544     ("glGet",   X,      1,      "GL_SAMPLER_RENDERBUFFER_NV"),  # 0x8E56
2545     ("glGet",   X,      1,      "GL_INT_SAMPLER_RENDERBUFFER_NV"),      # 0x8E57
2546     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV"),     # 0x8E58
2547     ("glGet",   X,      1,      "GL_MAX_SAMPLE_MASK_WORDS"),    # 0x8E59
2548     ("glGet",   X,      1,      "GL_MAX_GEOMETRY_SHADER_INVOCATIONS"),  # 0x8E5A
2549     ("glGet",   X,      1,      "GL_MIN_FRAGMENT_INTERPOLATION_OFFSET"),        # 0x8E5B
2550     ("glGet",   X,      1,      "GL_MAX_FRAGMENT_INTERPOLATION_OFFSET"),        # 0x8E5C
2551     ("glGet",   X,      1,      "GL_FRAGMENT_INTERPOLATION_OFFSET_BITS"),       # 0x8E5D
2552     ("glGet",   X,      1,      "GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET"),        # 0x8E5E
2553     ("glGet",   X,      1,      "GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET"),        # 0x8E5F
2554     ("glGet",   X,      1,      "GL_MAX_TRANSFORM_FEEDBACK_BUFFERS"),   # 0x8E70
2555     ("glGet",   X,      1,      "GL_MAX_VERTEX_STREAMS"),       # 0x8E71
2556     ("glGet",   X,      1,      "GL_PATCH_VERTICES"),   # 0x8E72
2557     ("glGet",   X,      1,      "GL_PATCH_DEFAULT_INNER_LEVEL"),        # 0x8E73
2558     ("glGet",   X,      1,      "GL_PATCH_DEFAULT_OUTER_LEVEL"),        # 0x8E74
2559     ("glGet",   X,      1,      "GL_TESS_CONTROL_OUTPUT_VERTICES"),     # 0x8E75
2560     ("glGet",   X,      1,      "GL_TESS_GEN_MODE"),    # 0x8E76
2561     ("glGet",   X,      1,      "GL_TESS_GEN_SPACING"), # 0x8E77
2562     ("glGet",   X,      1,      "GL_TESS_GEN_VERTEX_ORDER"),    # 0x8E78
2563     ("glGet",   X,      1,      "GL_TESS_GEN_POINT_MODE"),      # 0x8E79
2564     ("glGet",   X,      1,      "GL_ISOLINES"), # 0x8E7A
2565     ("glGet",   X,      1,      "GL_FRACTIONAL_ODD"),   # 0x8E7B
2566     ("glGet",   X,      1,      "GL_FRACTIONAL_EVEN"),  # 0x8E7C
2567     ("glGet",   X,      1,      "GL_MAX_PATCH_VERTICES"),       # 0x8E7D
2568     ("glGet",   X,      1,      "GL_MAX_TESS_GEN_LEVEL"),       # 0x8E7E
2569     ("glGet",   X,      1,      "GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS"),      # 0x8E7F
2570     ("glGet",   X,      1,      "GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS"),   # 0x8E80
2571     ("glGet",   X,      1,      "GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS"),     # 0x8E81
2572     ("glGet",   X,      1,      "GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS"),  # 0x8E82
2573     ("glGet",   X,      1,      "GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS"),       # 0x8E83
2574     ("glGet",   X,      1,      "GL_MAX_TESS_PATCH_COMPONENTS"),        # 0x8E84
2575     ("glGet",   X,      1,      "GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS"), # 0x8E85
2576     ("glGet",   X,      1,      "GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS"),    # 0x8E86
2577     ("glGet",   X,      1,      "GL_TESS_EVALUATION_SHADER"),   # 0x8E87
2578     ("glGet",   X,      1,      "GL_TESS_CONTROL_SHADER"),      # 0x8E88
2579     ("glGet",   X,      1,      "GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS"),  # 0x8E89
2580     ("glGet",   X,      1,      "GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS"),       # 0x8E8A
2581     ("glGet",   X,      1,      "GL_COMPRESSED_RGBA_BPTC_UNORM_ARB"),   # 0x8E8C
2582     ("glGet",   X,      1,      "GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB"),     # 0x8E8D
2583     ("glGet",   X,      1,      "GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB"),     # 0x8E8E
2584     ("glGet",   X,      1,      "GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB"),   # 0x8E8F
2585     ("glGet",   X,      1,      "GL_BUFFER_GPU_ADDRESS_NV"),    # 0x8F1D
2586     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV"),   # 0x8F1E
2587     ("glGet",   X,      1,      "GL_ELEMENT_ARRAY_UNIFIED_NV"), # 0x8F1F
2588     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV"),   # 0x8F20
2589     ("glGet",   X,      1,      "GL_VERTEX_ARRAY_ADDRESS_NV"),  # 0x8F21
2590     ("glGet",   X,      1,      "GL_NORMAL_ARRAY_ADDRESS_NV"),  # 0x8F22
2591     ("glGet",   X,      1,      "GL_COLOR_ARRAY_ADDRESS_NV"),   # 0x8F23
2592     ("glGet",   X,      1,      "GL_INDEX_ARRAY_ADDRESS_NV"),   # 0x8F24
2593     ("glGet",   X,      1,      "GL_TEXTURE_COORD_ARRAY_ADDRESS_NV"),   # 0x8F25
2594     ("glGet",   X,      1,      "GL_EDGE_FLAG_ARRAY_ADDRESS_NV"),       # 0x8F26
2595     ("glGet",   X,      1,      "GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV"), # 0x8F27
2596     ("glGet",   X,      1,      "GL_FOG_COORD_ARRAY_ADDRESS_NV"),       # 0x8F28
2597     ("glGet",   X,      1,      "GL_ELEMENT_ARRAY_ADDRESS_NV"), # 0x8F29
2598     ("glGet",   X,      1,      "GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV"),    # 0x8F2A
2599     ("glGet",   X,      1,      "GL_VERTEX_ARRAY_LENGTH_NV"),   # 0x8F2B
2600     ("glGet",   X,      1,      "GL_NORMAL_ARRAY_LENGTH_NV"),   # 0x8F2C
2601     ("glGet",   X,      1,      "GL_COLOR_ARRAY_LENGTH_NV"),    # 0x8F2D
2602     ("glGet",   X,      1,      "GL_INDEX_ARRAY_LENGTH_NV"),    # 0x8F2E
2603     ("glGet",   X,      1,      "GL_TEXTURE_COORD_ARRAY_LENGTH_NV"),    # 0x8F2F
2604     ("glGet",   X,      1,      "GL_EDGE_FLAG_ARRAY_LENGTH_NV"),        # 0x8F30
2605     ("glGet",   X,      1,      "GL_SECONDARY_COLOR_ARRAY_LENGTH_NV"),  # 0x8F31
2606     ("glGet",   X,      1,      "GL_FOG_COORD_ARRAY_LENGTH_NV"),        # 0x8F32
2607     ("glGet",   X,      1,      "GL_ELEMENT_ARRAY_LENGTH_NV"),  # 0x8F33
2608     ("glGet",   X,      1,      "GL_GPU_ADDRESS_NV"),   # 0x8F34
2609     ("glGet",   X,      1,      "GL_MAX_SHADER_BUFFER_ADDRESS_NV"),     # 0x8F35
2610     ("glGet",   X,      1,      "GL_COPY_READ_BUFFER"), # 0x8F36
2611     ("glGet",   X,      1,      "GL_COPY_WRITE_BUFFER"),        # 0x8F37
2612     ("glGet",   X,      1,      "GL_MAX_IMAGE_UNITS_EXT"),      # 0x8F38
2613     ("glGet",   X,      1,      "GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT"),        # 0x8F39
2614     ("glGet",   X,      1,      "GL_IMAGE_BINDING_NAME_EXT"),   # 0x8F3A
2615     ("glGet",   X,      1,      "GL_IMAGE_BINDING_LEVEL_EXT"),  # 0x8F3B
2616     ("glGet",   X,      1,      "GL_IMAGE_BINDING_LAYERED_EXT"),        # 0x8F3C
2617     ("glGet",   X,      1,      "GL_IMAGE_BINDING_LAYER_EXT"),  # 0x8F3D
2618     ("glGet",   X,      1,      "GL_IMAGE_BINDING_ACCESS_EXT"), # 0x8F3E
2619     ("glGet",   X,      1,      "GL_DRAW_INDIRECT_BUFFER"),     # 0x8F3F
2620     ("glGet",   X,      1,      "GL_DRAW_INDIRECT_UNIFIED_NV"), # 0x8F40
2621     ("glGet",   X,      1,      "GL_DRAW_INDIRECT_ADDRESS_NV"), # 0x8F41
2622     ("glGet",   X,      1,      "GL_DRAW_INDIRECT_LENGTH_NV"),  # 0x8F42
2623     ("glGet",   I,      1,      "GL_DRAW_INDIRECT_BUFFER_BINDING"),     # 0x8F43
2624     ("glGet",   X,      1,      "GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV"),     # 0x8F44
2625     ("glGet",   X,      1,      "GL_MAX_PROGRAM_SUBROUTINE_NUM_NV"),    # 0x8F45
2626     ("glGet",   X,      1,      "GL_DOUBLE_MAT2"),      # 0x8F46
2627     ("glGet",   X,      1,      "GL_DOUBLE_MAT3"),      # 0x8F47
2628     ("glGet",   X,      1,      "GL_DOUBLE_MAT4"),      # 0x8F48
2629     ("glGet",   X,      1,      "GL_DOUBLE_MAT2x3"),    # 0x8F49
2630     ("glGet",   X,      1,      "GL_DOUBLE_MAT2x4"),    # 0x8F4A
2631     ("glGet",   X,      1,      "GL_DOUBLE_MAT3x2"),    # 0x8F4B
2632     ("glGet",   X,      1,      "GL_DOUBLE_MAT3x4"),    # 0x8F4C
2633     ("glGet",   X,      1,      "GL_DOUBLE_MAT4x2"),    # 0x8F4D
2634     ("glGet",   X,      1,      "GL_DOUBLE_MAT4x3"),    # 0x8F4E
2635     ("glGet",   X,      1,      "GL_RED_SNORM"),        # 0x8F90
2636     ("glGet",   X,      1,      "GL_RG_SNORM"), # 0x8F91
2637     ("glGet",   X,      1,      "GL_RGB_SNORM"),        # 0x8F92
2638     ("glGet",   X,      1,      "GL_RGBA_SNORM"),       # 0x8F93
2639     ("glGet",   X,      1,      "GL_R8_SNORM"), # 0x8F94
2640     ("glGet",   X,      1,      "GL_RG8_SNORM"),        # 0x8F95
2641     ("glGet",   X,      1,      "GL_RGB8_SNORM"),       # 0x8F96
2642     ("glGet",   X,      1,      "GL_RGBA8_SNORM"),      # 0x8F97
2643     ("glGet",   X,      1,      "GL_R16_SNORM"),        # 0x8F98
2644     ("glGet",   X,      1,      "GL_RG16_SNORM"),       # 0x8F99
2645     ("glGet",   X,      1,      "GL_RGB16_SNORM"),      # 0x8F9A
2646     ("glGet",   X,      1,      "GL_RGBA16_SNORM"),     # 0x8F9B
2647     ("glGet",   X,      1,      "GL_SIGNED_NORMALIZED"),        # 0x8F9C
2648     ("glGet",   X,      1,      "GL_PRIMITIVE_RESTART"),        # 0x8F9D
2649     ("glGet",   X,      1,      "GL_PRIMITIVE_RESTART_INDEX"),  # 0x8F9E
2650     ("glGet",   X,      1,      "GL_INT8_NV"),  # 0x8FE0
2651     ("glGet",   X,      1,      "GL_INT8_VEC2_NV"),     # 0x8FE1
2652     ("glGet",   X,      1,      "GL_INT8_VEC3_NV"),     # 0x8FE2
2653     ("glGet",   X,      1,      "GL_INT8_VEC4_NV"),     # 0x8FE3
2654     ("glGet",   X,      1,      "GL_INT16_NV"), # 0x8FE4
2655     ("glGet",   X,      1,      "GL_INT16_VEC2_NV"),    # 0x8FE5
2656     ("glGet",   X,      1,      "GL_INT16_VEC3_NV"),    # 0x8FE6
2657     ("glGet",   X,      1,      "GL_INT16_VEC4_NV"),    # 0x8FE7
2658     ("glGet",   X,      1,      "GL_INT64_VEC2_NV"),    # 0x8FE9
2659     ("glGet",   X,      1,      "GL_INT64_VEC3_NV"),    # 0x8FEA
2660     ("glGet",   X,      1,      "GL_INT64_VEC4_NV"),    # 0x8FEB
2661     ("glGet",   X,      1,      "GL_UNSIGNED_INT8_NV"), # 0x8FEC
2662     ("glGet",   X,      1,      "GL_UNSIGNED_INT8_VEC2_NV"),    # 0x8FED
2663     ("glGet",   X,      1,      "GL_UNSIGNED_INT8_VEC3_NV"),    # 0x8FEE
2664     ("glGet",   X,      1,      "GL_UNSIGNED_INT8_VEC4_NV"),    # 0x8FEF
2665     ("glGet",   X,      1,      "GL_UNSIGNED_INT16_NV"),        # 0x8FF0
2666     ("glGet",   X,      1,      "GL_UNSIGNED_INT16_VEC2_NV"),   # 0x8FF1
2667     ("glGet",   X,      1,      "GL_UNSIGNED_INT16_VEC3_NV"),   # 0x8FF2
2668     ("glGet",   X,      1,      "GL_UNSIGNED_INT16_VEC4_NV"),   # 0x8FF3
2669     ("glGet",   X,      1,      "GL_UNSIGNED_INT64_VEC2_NV"),   # 0x8FF5
2670     ("glGet",   X,      1,      "GL_UNSIGNED_INT64_VEC3_NV"),   # 0x8FF6
2671     ("glGet",   X,      1,      "GL_UNSIGNED_INT64_VEC4_NV"),   # 0x8FF7
2672     ("glGet",   X,      1,      "GL_FLOAT16_NV"),       # 0x8FF8
2673     ("glGet",   X,      1,      "GL_FLOAT16_VEC2_NV"),  # 0x8FF9
2674     ("glGet",   X,      1,      "GL_FLOAT16_VEC3_NV"),  # 0x8FFA
2675     ("glGet",   X,      1,      "GL_FLOAT16_VEC4_NV"),  # 0x8FFB
2676     ("glGet",   X,      1,      "GL_DOUBLE_VEC2"),      # 0x8FFC
2677     ("glGet",   X,      1,      "GL_DOUBLE_VEC3"),      # 0x8FFD
2678     ("glGet",   X,      1,      "GL_DOUBLE_VEC4"),      # 0x8FFE
2679     ("glGet",   X,      1,      "GL_SAMPLER_BUFFER_AMD"),       # 0x9001
2680     ("glGet",   X,      1,      "GL_INT_SAMPLER_BUFFER_AMD"),   # 0x9002
2681     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD"),  # 0x9003
2682     ("glGet",   X,      1,      "GL_TESSELLATION_MODE_AMD"),    # 0x9004
2683     ("glGet",   X,      1,      "GL_TESSELLATION_FACTOR_AMD"),  # 0x9005
2684     ("glGet",   X,      1,      "GL_DISCRETE_AMD"),     # 0x9006
2685     ("glGet",   X,      1,      "GL_CONTINUOUS_AMD"),   # 0x9007
2686     ("glGet",   X,      1,      "GL_TEXTURE_CUBE_MAP_ARRAY"),   # 0x9009
2687     ("glGet",   X,      1,      "GL_TEXTURE_BINDING_CUBE_MAP_ARRAY"),   # 0x900A
2688     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_CUBE_MAP_ARRAY"),     # 0x900B
2689     ("glGet",   X,      1,      "GL_SAMPLER_CUBE_MAP_ARRAY"),   # 0x900C
2690     ("glGet",   X,      1,      "GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW"),    # 0x900D
2691     ("glGet",   X,      1,      "GL_INT_SAMPLER_CUBE_MAP_ARRAY"),       # 0x900E
2692     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY"),      # 0x900F
2693     ("glGet",   X,      1,      "GL_ALPHA_SNORM"),      # 0x9010
2694     ("glGet",   X,      1,      "GL_LUMINANCE_SNORM"),  # 0x9011
2695     ("glGet",   X,      1,      "GL_LUMINANCE_ALPHA_SNORM"),    # 0x9012
2696     ("glGet",   X,      1,      "GL_INTENSITY_SNORM"),  # 0x9013
2697     ("glGet",   X,      1,      "GL_ALPHA8_SNORM"),     # 0x9014
2698     ("glGet",   X,      1,      "GL_LUMINANCE8_SNORM"), # 0x9015
2699     ("glGet",   X,      1,      "GL_LUMINANCE8_ALPHA8_SNORM"),  # 0x9016
2700     ("glGet",   X,      1,      "GL_INTENSITY8_SNORM"), # 0x9017
2701     ("glGet",   X,      1,      "GL_ALPHA16_SNORM"),    # 0x9018
2702     ("glGet",   X,      1,      "GL_LUMINANCE16_SNORM"),        # 0x9019
2703     ("glGet",   X,      1,      "GL_LUMINANCE16_ALPHA16_SNORM"),        # 0x901A
2704     ("glGet",   X,      1,      "GL_INTENSITY16_SNORM"),        # 0x901B
2705     ("glGet",   X,      1,      "GL_DEPTH_CLAMP_NEAR_AMD"),     # 0x901E
2706     ("glGet",   X,      1,      "GL_DEPTH_CLAMP_FAR_AMD"),      # 0x901F
2707     ("glGet",   X,      1,      "GL_VIDEO_BUFFER_NV"),  # 0x9020
2708     ("glGet",   I,      1,      "GL_VIDEO_BUFFER_BINDING_NV"),  # 0x9021
2709     ("glGet",   X,      1,      "GL_FIELD_UPPER_NV"),   # 0x9022
2710     ("glGet",   X,      1,      "GL_FIELD_LOWER_NV"),   # 0x9023
2711     ("glGet",   X,      1,      "GL_NUM_VIDEO_CAPTURE_STREAMS_NV"),     # 0x9024
2712     ("glGet",   X,      1,      "GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV"),      # 0x9025
2713     ("glGet",   X,      1,      "GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV"),        # 0x9026
2714     ("glGet",   X,      1,      "GL_LAST_VIDEO_CAPTURE_STATUS_NV"),     # 0x9027
2715     ("glGet",   X,      1,      "GL_VIDEO_BUFFER_PITCH_NV"),    # 0x9028
2716     ("glGet",   X,      1,      "GL_VIDEO_COLOR_CONVERSION_MATRIX_NV"), # 0x9029
2717     ("glGet",   X,      1,      "GL_VIDEO_COLOR_CONVERSION_MAX_NV"),    # 0x902A
2718     ("glGet",   X,      1,      "GL_VIDEO_COLOR_CONVERSION_MIN_NV"),    # 0x902B
2719     ("glGet",   X,      1,      "GL_VIDEO_COLOR_CONVERSION_OFFSET_NV"), # 0x902C
2720     ("glGet",   X,      1,      "GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV"),  # 0x902D
2721     ("glGet",   X,      1,      "GL_PARTIAL_SUCCESS_NV"),       # 0x902E
2722     ("glGet",   X,      1,      "GL_SUCCESS_NV"),       # 0x902F
2723     ("glGet",   X,      1,      "GL_FAILURE_NV"),       # 0x9030
2724     ("glGet",   X,      1,      "GL_YCBYCR8_422_NV"),   # 0x9031
2725     ("glGet",   X,      1,      "GL_YCBAYCR8A_4224_NV"),        # 0x9032
2726     ("glGet",   X,      1,      "GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV"),    # 0x9033
2727     ("glGet",   X,      1,      "GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV"), # 0x9034
2728     ("glGet",   X,      1,      "GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV"),    # 0x9035
2729     ("glGet",   X,      1,      "GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV"), # 0x9036
2730     ("glGet",   X,      1,      "GL_Z4Y12Z4CB12Z4CR12_444_NV"), # 0x9037
2731     ("glGet",   X,      1,      "GL_VIDEO_CAPTURE_FRAME_WIDTH_NV"),     # 0x9038
2732     ("glGet",   X,      1,      "GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV"),    # 0x9039
2733     ("glGet",   X,      1,      "GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV"),      # 0x903A
2734     ("glGet",   X,      1,      "GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV"),      # 0x903B
2735     ("glGet",   X,      1,      "GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV"),  # 0x903C
2736     ("glGet",   X,      1,      "GL_IMAGE_1D_EXT"),     # 0x904C
2737     ("glGet",   X,      1,      "GL_IMAGE_2D_EXT"),     # 0x904D
2738     ("glGet",   X,      1,      "GL_IMAGE_3D_EXT"),     # 0x904E
2739     ("glGet",   X,      1,      "GL_IMAGE_2D_RECT_EXT"),        # 0x904F
2740     ("glGet",   X,      1,      "GL_IMAGE_CUBE_EXT"),   # 0x9050
2741     ("glGet",   X,      1,      "GL_IMAGE_BUFFER_EXT"), # 0x9051
2742     ("glGet",   X,      1,      "GL_IMAGE_1D_ARRAY_EXT"),       # 0x9052
2743     ("glGet",   X,      1,      "GL_IMAGE_2D_ARRAY_EXT"),       # 0x9053
2744     ("glGet",   X,      1,      "GL_IMAGE_CUBE_MAP_ARRAY_EXT"), # 0x9054
2745     ("glGet",   X,      1,      "GL_IMAGE_2D_MULTISAMPLE_EXT"), # 0x9055
2746     ("glGet",   X,      1,      "GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT"),   # 0x9056
2747     ("glGet",   X,      1,      "GL_INT_IMAGE_1D_EXT"), # 0x9057
2748     ("glGet",   X,      1,      "GL_INT_IMAGE_2D_EXT"), # 0x9058
2749     ("glGet",   X,      1,      "GL_INT_IMAGE_3D_EXT"), # 0x9059
2750     ("glGet",   X,      1,      "GL_INT_IMAGE_2D_RECT_EXT"),    # 0x905A
2751     ("glGet",   X,      1,      "GL_INT_IMAGE_CUBE_EXT"),       # 0x905B
2752     ("glGet",   X,      1,      "GL_INT_IMAGE_BUFFER_EXT"),     # 0x905C
2753     ("glGet",   X,      1,      "GL_INT_IMAGE_1D_ARRAY_EXT"),   # 0x905D
2754     ("glGet",   X,      1,      "GL_INT_IMAGE_2D_ARRAY_EXT"),   # 0x905E
2755     ("glGet",   X,      1,      "GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT"),     # 0x905F
2756     ("glGet",   X,      1,      "GL_INT_IMAGE_2D_MULTISAMPLE_EXT"),     # 0x9060
2757     ("glGet",   X,      1,      "GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT"),       # 0x9061
2758     ("glGet",   X,      1,      "GL_UNSIGNED_INT_IMAGE_1D_EXT"),        # 0x9062
2759     ("glGet",   X,      1,      "GL_UNSIGNED_INT_IMAGE_2D_EXT"),        # 0x9063
2760     ("glGet",   X,      1,      "GL_UNSIGNED_INT_IMAGE_3D_EXT"),        # 0x9064
2761     ("glGet",   X,      1,      "GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT"),   # 0x9065
2762     ("glGet",   X,      1,      "GL_UNSIGNED_INT_IMAGE_CUBE_EXT"),      # 0x9066
2763     ("glGet",   X,      1,      "GL_UNSIGNED_INT_IMAGE_BUFFER_EXT"),    # 0x9067
2764     ("glGet",   X,      1,      "GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT"),  # 0x9068
2765     ("glGet",   X,      1,      "GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT"),  # 0x9069
2766     ("glGet",   X,      1,      "GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT"),    # 0x906A
2767     ("glGet",   X,      1,      "GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT"),    # 0x906B
2768     ("glGet",   X,      1,      "GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT"),      # 0x906C
2769     ("glGet",   X,      1,      "GL_MAX_IMAGE_SAMPLES_EXT"),    # 0x906D
2770     ("glGet",   X,      1,      "GL_IMAGE_BINDING_FORMAT_EXT"), # 0x906E
2771     ("glGet",   X,      1,      "GL_RGB10_A2UI"),       # 0x906F
2772     ("glGet",   X,      1,      "GL_TEXTURE_2D_MULTISAMPLE"),   # 0x9100
2773     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_2D_MULTISAMPLE"),     # 0x9101
2774     ("glGet",   X,      1,      "GL_TEXTURE_2D_MULTISAMPLE_ARRAY"),     # 0x9102
2775     ("glGet",   X,      1,      "GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY"),       # 0x9103
2776     ("glGet",   X,      1,      "GL_TEXTURE_BINDING_2D_MULTISAMPLE"),   # 0x9104
2777     ("glGet",   X,      1,      "GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY"),     # 0x9105
2778     ("glGet",   X,      1,      "GL_TEXTURE_SAMPLES"),  # 0x9106
2779     ("glGet",   X,      1,      "GL_TEXTURE_FIXED_SAMPLE_LOCATIONS"),   # 0x9107
2780     ("glGet",   X,      1,      "GL_SAMPLER_2D_MULTISAMPLE"),   # 0x9108
2781     ("glGet",   X,      1,      "GL_INT_SAMPLER_2D_MULTISAMPLE"),       # 0x9109
2782     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE"),      # 0x910A
2783     ("glGet",   X,      1,      "GL_SAMPLER_2D_MULTISAMPLE_ARRAY"),     # 0x910B
2784     ("glGet",   X,      1,      "GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY"), # 0x910C
2785     ("glGet",   X,      1,      "GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY"),        # 0x910D
2786     ("glGet",   X,      1,      "GL_MAX_COLOR_TEXTURE_SAMPLES"),        # 0x910E
2787     ("glGet",   X,      1,      "GL_MAX_DEPTH_TEXTURE_SAMPLES"),        # 0x910F
2788     ("glGet",   X,      1,      "GL_MAX_INTEGER_SAMPLES"),      # 0x9110
2789     ("glGet",   X,      1,      "GL_MAX_SERVER_WAIT_TIMEOUT"),  # 0x9111
2790     ("glGet",   X,      1,      "GL_OBJECT_TYPE"),      # 0x9112
2791     ("glGet",   X,      1,      "GL_SYNC_CONDITION"),   # 0x9113
2792     ("glGet",   X,      1,      "GL_SYNC_STATUS"),      # 0x9114
2793     ("glGet",   X,      1,      "GL_SYNC_FLAGS"),       # 0x9115
2794     ("glGet",   X,      1,      "GL_SYNC_FENCE"),       # 0x9116
2795     ("glGet",   X,      1,      "GL_SYNC_GPU_COMMANDS_COMPLETE"),       # 0x9117
2796     ("glGet",   X,      1,      "GL_UNSIGNALED"),       # 0x9118
2797     ("glGet",   X,      1,      "GL_SIGNALED"), # 0x9119
2798     ("glGet",   X,      1,      "GL_ALREADY_SIGNALED"), # 0x911A
2799     ("glGet",   X,      1,      "GL_TIMEOUT_EXPIRED"),  # 0x911B
2800     ("glGet",   X,      1,      "GL_CONDITION_SATISFIED"),      # 0x911C
2801     ("glGet",   X,      1,      "GL_WAIT_FAILED"),      # 0x911D
2802     ("glGet",   X,      1,      "GL_BUFFER_ACCESS_FLAGS"),      # 0x911F
2803     ("glGet",   X,      1,      "GL_BUFFER_MAP_LENGTH"),        # 0x9120
2804     ("glGet",   X,      1,      "GL_BUFFER_MAP_OFFSET"),        # 0x9121
2805     ("glGet",   X,      1,      "GL_MAX_VERTEX_OUTPUT_COMPONENTS"),     # 0x9122
2806     ("glGet",   X,      1,      "GL_MAX_GEOMETRY_INPUT_COMPONENTS"),    # 0x9123
2807     ("glGet",   X,      1,      "GL_MAX_GEOMETRY_OUTPUT_COMPONENTS"),   # 0x9124
2808     ("glGet",   X,      1,      "GL_MAX_FRAGMENT_INPUT_COMPONENTS"),    # 0x9125
2809     ("glGet",   X,      1,      "GL_CONTEXT_PROFILE_MASK"),     # 0x9126
2810     ("glGet",   X,      1,      "GL_MAX_DEBUG_MESSAGE_LENGTH_ARB"),     # 0x9143
2811     ("glGet",   X,      1,      "GL_MAX_DEBUG_LOGGED_MESSAGES_ARB"),    # 0x9144
2812     ("glGet",   X,      1,      "GL_DEBUG_LOGGED_MESSAGES_ARB"),        # 0x9145
2813     ("glGet",   X,      1,      "GL_DEBUG_SEVERITY_HIGH_ARB"),  # 0x9146
2814     ("glGet",   X,      1,      "GL_DEBUG_SEVERITY_MEDIUM_ARB"),        # 0x9147
2815     ("glGet",   X,      1,      "GL_DEBUG_SEVERITY_LOW_ARB"),   # 0x9148
2816     ("glGet",   X,      1,      "GL_DEBUG_CATEGORY_API_ERROR_AMD"),     # 0x9149
2817     ("glGet",   X,      1,      "GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD"), # 0x914A
2818     ("glGet",   X,      1,      "GL_DEBUG_CATEGORY_DEPRECATION_AMD"),   # 0x914B
2819     ("glGet",   X,      1,      "GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD"),    # 0x914C
2820     ("glGet",   X,      1,      "GL_DEBUG_CATEGORY_PERFORMANCE_AMD"),   # 0x914D
2821     ("glGet",   X,      1,      "GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD"),       # 0x914E
2822     ("glGet",   X,      1,      "GL_DEBUG_CATEGORY_APPLICATION_AMD"),   # 0x914F
2823     ("glGet",   X,      1,      "GL_DEBUG_CATEGORY_OTHER_AMD"), # 0x9150
2824     ("glGet",   X,      1,      "GL_DATA_BUFFER_AMD"),  # 0x9151
2825     ("glGet",   X,      1,      "GL_PERFORMANCE_MONITOR_AMD"),  # 0x9152
2826     ("glGet",   X,      1,      "GL_QUERY_OBJECT_AMD"), # 0x9153
2827     ("glGet",   X,      1,      "GL_VERTEX_ARRAY_OBJECT_AMD"),  # 0x9154
2828     ("glGet",   X,      1,      "GL_SAMPLER_OBJECT_AMD"),       # 0x9155
2829     (None,      X,      1,      "GL_INVALID_INDEX"),    # 0xFFFFFFFFu
2830 ]
2831
2832 texture_targets = [
2833     ('GL_TEXTURE_1D', 'GL_TEXTURE_BINDING_1D'),
2834     ('GL_TEXTURE_2D', 'GL_TEXTURE_BINDING_2D'),
2835     ('GL_TEXTURE_3D', 'GL_TEXTURE_BINDING_3D'),
2836     #(GL_TEXTURE_CUBE_MAP, 'GL_TEXTURE_BINDING_CUBE_MAP')
2837 ]
2838
2839
2840 class GlGetter(Visitor):
2841     '''Type visitor
2842     Determine which glGet*v function that matches the specified type.'''
2843
2844     def __init__(self, prefix = 'glGet', long_suffix = True):
2845         self.prefix = prefix
2846         self.long_suffix = long_suffix
2847
2848         if prefix == 'glGet':
2849             self.suffixes = {
2850                 'GLboolean': 'Booleanv',
2851                 'GLint': 'Intv',
2852                 'GLfloat': 'Floatv',
2853                 'GLdouble': 'Doublev',
2854                 'GLstring': 'String',
2855             }
2856         else:
2857             self.suffixes = {
2858                 'GLint': 'iv',
2859                 'GLfloat': 'fv',
2860                 'GLdouble': 'Doublev',
2861                 'GLstring': 'String',
2862             }
2863
2864
2865     def visit_const(self, const):
2866         return self.visit(const.type)
2867
2868     def visit_alias(self, alias):
2869         if alias.expr == 'GLboolean':
2870             if self.long_suffix:
2871                 return self.prefix + 'Booleanv', alias.expr
2872             else:
2873                 return self.prefix + 'iv', 'GLint'
2874         elif alias.expr == 'GLdouble':
2875             if self.long_suffix:
2876                 return self.prefix + 'Doublev', alias.expr
2877             else:
2878                 return self.prefix + 'dv', alias.expr
2879         elif alias.expr == 'GLfloat':
2880             if self.long_suffix:
2881                 return self.prefix + 'Floatv', alias.expr
2882             else:
2883                 return self.prefix + 'fv', alias.expr
2884         elif alias.expr in ('GLint', 'GLuint', 'GLsizei'):
2885             if self.long_suffix:
2886                 return self.prefix + 'Integerv', 'GLint'
2887             else:
2888                 return self.prefix + 'iv', 'GLint'
2889         else:
2890             print alias.expr
2891             assert False
2892     
2893     def visit_enum(self, enum):
2894         return self.visit(glapi.GLint)
2895
2896     def visit_bitmask(self, bitmask):
2897         return self.visit(glapi.GLint)
2898
2899     def visit_opaque(self, pointer):
2900         return self.prefix + 'Pointerv', 'GLvoid *'
2901
2902
2903 class JsonWriter(Visitor):
2904     '''Type visitor that will dump a value of the specified type through the
2905     JSON writer.
2906     
2907     It expects a previously declared JSONWriter instance named "json".'''
2908
2909     def visit_literal(self, literal, instance):
2910         if literal.format == 'Bool':
2911             print '    json.writeBool(%s);' % instance
2912         elif literal.format in ('SInt', 'Uint', 'Float', 'Double'):
2913             print '    json.writeNumber(%s);' % instance
2914         else:
2915             raise NotImplementedError
2916
2917     def visit_string(self, string, instance):
2918         assert string.length is None
2919         print '    json.writeString((const char *)%s);' % instance
2920
2921     def visit_enum(self, enum, instance):
2922         if enum.expr == 'GLenum':
2923             print '    writeEnum(json, %s);' % instance
2924         else:
2925             print '    json.writeNumber(%s);' % instance
2926
2927     def visit_bitmask(self, bitmask, instance):
2928         raise NotImplementedError
2929
2930     def visit_alias(self, alias, instance):
2931         self.visit(alias.type, instance)
2932
2933     def visit_opaque(self, opaque, instance):
2934         print '    json.writeNumber((size_t)%s);' % instance
2935
2936     __index = 0
2937
2938     def visit_array(self, array, instance):
2939         index = '__i%u' % JsonWriter.__index
2940         JsonWriter.__index += 1
2941         print '    json.beginArray();'
2942         print '    for (unsigned %s = 0; %s < %s; ++%s) {' % (index, index, array.length, index)
2943         self.visit(array.type, '%s[%s]' % (instance, index))
2944         print '    }'
2945         print '    json.endArray();'
2946
2947
2948
2949 class StateDumper:
2950
2951     def __init__(self):
2952         self.level = 0
2953
2954     def dump(self):
2955         print '#include <string.h>'
2956         print '#include <iostream>'
2957         print
2958         print '#include "json.hpp"'
2959         print '#include "glimports.hpp"'
2960         print '#include "glproc.hpp"'
2961         print '#include "glretrace.hpp"'
2962         print
2963
2964         print 'static void'
2965         print 'writeEnum(JSONWriter &json, GLenum pname)'
2966         print '{'
2967         print '    switch(pname) {'
2968         for name in GLenum.values:
2969             print '    case %s:' % name
2970             print '        json.writeString("%s");' % name
2971             print '        break;'
2972         print '    default:'
2973         print '        json.writeNumber(pname);'
2974         print '    }'
2975         print '}'
2976         print
2977
2978         # shaders
2979         print 'static void'
2980         print 'writeShader(JSONWriter &json, GLuint shader)'
2981         print '{'
2982         print '    if (!shader) {'
2983         print '        json.writeNull();'
2984         print '        return;'
2985         print '    }'
2986         print
2987         print '    json.beginObject();'
2988         print '    GLint source_length = 0;'
2989         print '    glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &source_length);'
2990         print '    json.beginMember("source");'
2991         print '    if (source_length) {'
2992         print '        GLchar *source = new GLchar[source_length];'
2993         print '        GLsizei length = 0;'
2994         print '        source[0] = 0;'
2995         print '        glGetShaderSource(shader, source_length, &length, source);'
2996         print '        json.writeString(source);'
2997         print '        delete [] source;'
2998         print '    } else {'
2999         print '        json.writeNull();'
3000         print '    }'
3001         print '    json.endMember(); // source'
3002         print '    json.endObject();'
3003         print '}'
3004         print
3005
3006         # programs
3007         print 'static inline void'
3008         print 'writeProgram(JSONWriter &json, GLuint program)'
3009         print '{'
3010         print '    if (!program) {'
3011         print '        json.writeNull();'
3012         print '        return;'
3013         print '    }'
3014         print
3015         print '    json.beginObject();'
3016         print '    json.beginMember("attached_shaders");'
3017         print '    GLint attached_shaders = 0;'
3018         print '    glGetProgramiv(program, GL_ATTACHED_SHADERS, &attached_shaders);'
3019         print '    json.beginArray();'
3020         print '    if (attached_shaders) {'
3021         print '        GLuint *shaders = new GLuint[attached_shaders];'
3022         print '        GLsizei count = 0;'
3023         print '        glGetAttachedShaders(program, attached_shaders, &count, shaders);'
3024         print '        for (GLsizei i = 0; i < count; ++ i) {'
3025         print '           writeShader(json, shaders[i]);'
3026         print '        }'
3027         print '        delete [] shaders;'
3028         print '    }'
3029         print '    json.endArray();'
3030         print '    json.endMember();'
3031         print '    json.endObject();'
3032         print '}'
3033         print
3034
3035         # texture image
3036         print '''
3037 static inline void
3038 writeTextureImage(JSONWriter &json, GLenum target, GLint level)
3039 {
3040     GLint width, height = 1, depth = 1;
3041
3042     width = 0;
3043     glGetTexLevelParameteriv(target, level, GL_TEXTURE_WIDTH, &width);
3044
3045     if (target != GL_TEXTURE_1D) {
3046         height = 0;
3047         glGetTexLevelParameteriv(target, level, GL_TEXTURE_HEIGHT, &height);
3048         if (target == GL_TEXTURE_3D) {
3049             depth = 0;
3050             glGetTexLevelParameteriv(target, level, GL_TEXTURE_DEPTH, &depth);
3051         }
3052     }
3053
3054     if (width <= 0 || height <= 0 || depth <= 0) {
3055         json.writeNull();
3056     } else {
3057         json.beginObject();
3058
3059         // Tell the GUI this is no ordinary object, but an image
3060         json.writeStringMember("__class__", "image");
3061
3062         json.writeNumberMember("__width__", width);
3063         json.writeNumberMember("__height__", height);
3064         json.writeNumberMember("__depth__", depth);
3065
3066         // Hardcoded for now, but we could chose types more adequate to the
3067         // texture internal format
3068         json.writeStringMember("__type__", "uint8");
3069         json.writeBoolMember("__normalized__", true);
3070         json.writeNumberMember("__channels__", 4);
3071         
3072         GLubyte *pixels = new GLubyte[depth*width*height*4];
3073         
3074         glGetTexImage(target, level, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
3075
3076         json.writeStringMember("__encoding__", "base64");
3077         json.beginMember("__data__");
3078         json.writeBase64(pixels, depth * width * height * 4 * sizeof *pixels);
3079         json.endMember(); // __data__
3080
3081         delete [] pixels;
3082         json.endObject();
3083     }
3084 }
3085
3086 static inline void
3087 writeDrawBufferImage(JSONWriter &json)
3088 {
3089     GLint width  = glretrace::window_width;
3090     GLint height = glretrace::window_height;
3091
3092     if (!width || !height) {
3093         json.writeNull();
3094     } else {
3095         json.beginObject();
3096
3097         // Tell the GUI this is no ordinary object, but an image
3098         json.writeStringMember("__class__", "image");
3099
3100         json.writeNumberMember("__width__", width);
3101         json.writeNumberMember("__height__", height);
3102         json.writeNumberMember("__depth__", 1);
3103
3104         // Hardcoded for now, but we could chose types more adequate to the
3105         // texture internal format
3106         json.writeStringMember("__type__", "uint8");
3107         json.writeBoolMember("__normalized__", true);
3108         json.writeNumberMember("__channels__", 4);
3109         
3110         GLubyte *pixels = new GLubyte[width*height*4];
3111         
3112         GLint drawbuffer = glretrace::double_buffer ? GL_BACK : GL_FRONT;
3113         GLint readbuffer = glretrace::double_buffer ? GL_BACK : GL_FRONT;
3114         glGetIntegerv(GL_DRAW_BUFFER, &drawbuffer);
3115         glGetIntegerv(GL_READ_BUFFER, &readbuffer);
3116         glReadBuffer(drawbuffer);
3117         glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
3118         glReadBuffer(readbuffer);
3119
3120         json.writeStringMember("__encoding__", "base64");
3121         json.beginMember("__data__");
3122         json.writeBase64(pixels, width * height * 4 * sizeof *pixels);
3123         json.endMember(); // __data__
3124
3125         delete [] pixels;
3126         json.endObject();
3127     }
3128 }
3129
3130 '''
3131
3132         # textures
3133         print 'static inline void'
3134         print 'writeTexture(JSONWriter &json, GLenum target, GLenum binding)'
3135         print '{'
3136         print '    GLint texture = 0;'
3137         print '    glGetIntegerv(binding, &texture);'
3138         print '    if (!glIsEnabled(target) && !texture) {'
3139         print '        json.writeNull();'
3140         print '        return;'
3141         print '    }'
3142         print
3143         print '    json.beginObject();'
3144         print
3145         print '    GLfloat param;'
3146         for function, type, count, name in parameters:
3147             if function != 'glGetTexParameter' or count != 1:
3148                 continue
3149             print '        glGetTexParameterfv(target, %s, &param);' % name
3150             print '        json.beginMember("%s");'  % name
3151             JsonWriter().visit(type, 'param')
3152             print '        json.endMember();'
3153             print
3154         print
3155         print '    json.beginMember("levels");'
3156         print '    json.beginArray();'
3157         print '    GLint level = 0;'
3158         print '    do {'
3159         print '        GLint width = 0, height = 0;'
3160         print '        glGetTexLevelParameteriv(target, level, GL_TEXTURE_WIDTH, &width);'
3161         print '        glGetTexLevelParameteriv(target, level, GL_TEXTURE_HEIGHT, &height);'
3162         print '        if (!width || !height) {'
3163         print '            break;'
3164         print '        }'
3165         print '        json.beginObject();'
3166         print
3167         # FIXME: This is not the original texture name in the trace -- we need
3168         # to do a reverse lookup of the texture mappings to find the original one
3169         print '        json.beginMember("binding");'
3170         print '        json.writeNumber(texture);'
3171         print '        json.endMember();'
3172         print
3173         # TODO: Generalize this
3174         for function, type, count, name in parameters:
3175             if function != 'glGetTexLevelParameter' or count != 1:
3176                 continue
3177             print '        glGetTexLevelParameterfv(target, level, %s, &param);' % name
3178             print '        json.beginMember("%s");'  % name
3179             JsonWriter().visit(type, 'param')
3180             print '        json.endMember();'
3181             print
3182         print '        json.beginMember("image");'
3183         print '        writeTextureImage(json, target, level);'
3184         print '        json.endMember();'
3185         print
3186         print '        json.endObject();'
3187         print '        ++level;'
3188         print '    } while(true);'
3189         print '    json.endArray();'
3190         print '    json.endMember(); // levels'
3191         print
3192         print '    json.endObject();'
3193         print '}'
3194         print
3195
3196         print 'void glretrace::state_dump(std::ostream &os)'
3197         print '{'
3198         print '    JSONWriter json(os);'
3199         self.dump_parameters()
3200         self.dump_current_program()
3201         self.dump_textures()
3202         self.dump_framebuffer()
3203         print '}'
3204         print
3205
3206     def dump_parameters(self):
3207         print '    const GLubyte * sparams[1];'
3208         print '    GLboolean bparams[16];'
3209         print '    GLint iparams[16];'
3210         print '    GLfloat fparams[16];'
3211         print '    GLdouble dparams[16];'
3212         print '    GLvoid * pparams[16];'
3213         print
3214         print '    (void)dparams;'
3215         print
3216         print '    json.beginMember("parameters");'
3217         print '    json.beginObject();'
3218         for function, type, count, name in parameters:
3219             if function != 'glGet':
3220                 continue
3221             if type is X:
3222                 continue
3223             elif type is B:
3224                 buf = 'bparams'
3225                 getter = 'glGetBooleanv'
3226             elif type is I:
3227                 buf = 'iparams'
3228                 getter = 'glGetIntegerv'
3229             elif type is E:
3230                 buf = 'iparams'
3231                 getter = 'glGetIntegerv'
3232             elif type is F:
3233                 buf = 'fparams'
3234                 getter = 'glGetFloatv'
3235             elif type is D:
3236                 buf = 'dparams'
3237                 getter = 'glGetDoublev'
3238             elif type is P:
3239                 buf = 'pparams'
3240                 getter = 'glGetPointerv'
3241             elif type is S:
3242                 buf = 'sparams'
3243                 getter = 'glGetString'
3244             else:
3245                 raise NotImplementedError
3246             print '    memset(%s, 0, %u * sizeof *%s);' % (buf, count, buf)
3247             if getter.endswith('v'):
3248                 print '    %s(%s, %s);' % (getter, name, buf)
3249             else:
3250                 assert count == 1
3251                 print '    %s[0] = %s(%s);' % (buf, getter, name)
3252             print '    if (glGetError() != GL_NO_ERROR) {'
3253             #print '        std::cerr << "warning: %s(%s) failed\\n";' % (getter, name)
3254             print '    } else {'
3255             print '        json.beginMember("%s");' % name
3256             if count == 1:
3257                 JsonWriter().visit(type, '%s[0]' % buf)
3258             else:
3259                 JsonWriter().visit(Array(type, str(count)), buf)
3260             print '        json.endMember();'
3261             print '    }'
3262         print '    json.endObject();'
3263         print '    json.endMember(); // parameters'
3264         print
3265
3266     def dump_current_program(self):
3267         print '    GLint current_program = 0;'
3268         print '    glGetIntegerv(GL_CURRENT_PROGRAM, &current_program);'
3269         print '    json.beginMember("current_program");'
3270         print '    writeProgram(json, current_program);'
3271         print '    json.endMember();'
3272         print
3273
3274     def dump_textures(self):
3275         print '    json.beginMember("textures");'
3276         print '    json.beginArray();'
3277         print '    GLint active_texture = GL_TEXTURE0;'
3278         print '    glGetIntegerv(GL_ACTIVE_TEXTURE, &active_texture);'
3279         print '    GLint max_texture_coords = 0;'
3280         print '    glGetIntegerv(GL_MAX_TEXTURE_COORDS, &max_texture_coords);'
3281         print '    for (GLint unit = 0; unit < max_texture_coords; ++unit) {'
3282         print '        glActiveTexture(GL_TEXTURE0 + unit);'
3283         print '        json.beginObject();'
3284         for target, binding in texture_targets:
3285             print '        json.beginMember("%s");' % target
3286             print '        writeTexture(json, %s, %s);' % (target, binding)
3287             print '        json.endMember();'
3288         print '        json.endObject();'
3289         print '    }'
3290         print '    glActiveTexture(active_texture);'
3291         print '    json.endArray();'
3292         print '    json.endMember(); // texture'
3293         print
3294
3295     def dump_framebuffer(self):
3296         print '    json.beginMember("framebuffer");'
3297         print '    json.beginObject();'
3298         print '    json.beginMember("GL_DRAW_BUFFER");'
3299         # TODO: Handle FBOs
3300         print '    writeDrawBufferImage(json);'
3301         print '    json.endMember();'
3302         print '    json.endObject();'
3303         print '    json.endMember(); // framebuffer'
3304         pass
3305
3306     def write_line(s):
3307         self.write('  '*self.level + s + '\n')
3308
3309     def write(self, s):
3310         sys.stdout.write(s)
3311
3312     def indent(self):
3313         self.level += 1
3314
3315     def dedent(self):
3316         self.level -= 1
3317
3318
3319
3320 if __name__ == '__main__':
3321     StateDumper().dump()