• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  ** Copyright 2011, The Android Open Source Project
3  **
4  ** Licensed under the Apache License, Version 2.0 (the "License");
5  ** you may not use this file except in compliance with the License.
6  ** You may obtain a copy of the License at
7  **
8  **     http://www.apache.org/licenses/LICENSE-2.0
9  **
10  ** Unless required by applicable law or agreed to in writing, software
11  ** distributed under the License is distributed on an "AS IS" BASIS,
12  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  ** See the License for the specific language governing permissions and
14  ** limitations under the License.
15  */
16 
17 // auto generated by generate_GLEnum_java.py"
18 
19 package com.android.ide.eclipse.gltrace;
20 
21 public enum GLEnum {
22     GL_NONE(0x0000),
23     GL_LINES(0x0001),
24     GL_LINE_LOOP(0x0002),
25     GL_LINE_STRIP(0x0003),
26     GL_TRIANGLES(0x0004),
27     GL_TRIANGLE_STRIP(0x0005),
28     GL_TRIANGLE_FAN(0x0006),
29     GL_ADD(0x0104),
30     GL_NEVER(0x0200),
31     GL_LESS(0x0201),
32     GL_EQUAL(0x0202),
33     GL_LEQUAL(0x0203),
34     GL_GREATER(0x0204),
35     GL_NOTEQUAL(0x0205),
36     GL_GEQUAL(0x0206),
37     GL_ALWAYS(0x0207),
38     GL_SRC_COLOR(0x0300),
39     GL_ONE_MINUS_SRC_COLOR(0x0301),
40     GL_SRC_ALPHA(0x0302),
41     GL_ONE_MINUS_SRC_ALPHA(0x0303),
42     GL_DST_ALPHA(0x0304),
43     GL_ONE_MINUS_DST_ALPHA(0x0305),
44     GL_DST_COLOR(0x0306),
45     GL_ONE_MINUS_DST_COLOR(0x0307),
46     GL_SRC_ALPHA_SATURATE(0x0308),
47     GL_FRONT(0x0404),
48     GL_BACK(0x0405),
49     GL_FRONT_AND_BACK(0x0408),
50     GL_INVALID_ENUM(0x0500),
51     GL_INVALID_VALUE(0x0501),
52     GL_INVALID_OPERATION(0x0502),
53     GL_STACK_OVERFLOW(0x0503),
54     GL_STACK_UNDERFLOW(0x0504),
55     GL_OUT_OF_MEMORY(0x0505),
56     GL_INVALID_FRAMEBUFFER_OPERATION(0x0506),
57     GL_EXP(0x0800),
58     GL_EXP2(0x0801),
59     GL_CW(0x0900),
60     GL_CCW(0x0901),
61     GL_CURRENT_COLOR(0x0B00),
62     GL_CURRENT_NORMAL(0x0B02),
63     GL_CURRENT_TEXTURE_COORDS(0x0B03),
64     GL_POINT_SMOOTH(0x0B10),
65     GL_POINT_SIZE(0x0B11),
66     GL_SMOOTH_POINT_SIZE_RANGE(0x0B12),
67     GL_LINE_SMOOTH(0x0B20),
68     GL_LINE_WIDTH(0x0B21),
69     GL_SMOOTH_LINE_WIDTH_RANGE(0x0B22),
70     GL_CULL_FACE(0x0B44),
71     GL_CULL_FACE_MODE(0x0B45),
72     GL_FRONT_FACE(0x0B46),
73     GL_LIGHTING(0x0B50),
74     GL_LIGHT_MODEL_TWO_SIDE(0x0B52),
75     GL_LIGHT_MODEL_AMBIENT(0x0B53),
76     GL_SHADE_MODEL(0x0B54),
77     GL_COLOR_MATERIAL(0x0B57),
78     GL_FOG(0x0B60),
79     GL_FOG_DENSITY(0x0B62),
80     GL_FOG_START(0x0B63),
81     GL_FOG_END(0x0B64),
82     GL_FOG_MODE(0x0B65),
83     GL_FOG_COLOR(0x0B66),
84     GL_DEPTH_RANGE(0x0B70),
85     GL_DEPTH_TEST(0x0B71),
86     GL_DEPTH_WRITEMASK(0x0B72),
87     GL_DEPTH_CLEAR_VALUE(0x0B73),
88     GL_DEPTH_FUNC(0x0B74),
89     GL_STENCIL_TEST(0x0B90),
90     GL_STENCIL_CLEAR_VALUE(0x0B91),
91     GL_STENCIL_FUNC(0x0B92),
92     GL_STENCIL_VALUE_MASK(0x0B93),
93     GL_STENCIL_FAIL(0x0B94),
94     GL_STENCIL_PASS_DEPTH_FAIL(0x0B95),
95     GL_STENCIL_PASS_DEPTH_PASS(0x0B96),
96     GL_STENCIL_REF(0x0B97),
97     GL_STENCIL_WRITEMASK(0x0B98),
98     GL_MATRIX_MODE(0x0BA0),
99     GL_NORMALIZE(0x0BA1),
100     GL_VIEWPORT(0x0BA2),
101     GL_MODELVIEW_STACK_DEPTH(0x0BA3),
102     GL_PROJECTION_STACK_DEPTH(0x0BA4),
103     GL_TEXTURE_STACK_DEPTH(0x0BA5),
104     GL_MODELVIEW_MATRIX(0x0BA6),
105     GL_PROJECTION_MATRIX(0x0BA7),
106     GL_TEXTURE_MATRIX(0x0BA8),
107     GL_ALPHA_TEST(0x0BC0),
108     GL_ALPHA_TEST_FUNC(0x0BC1),
109     GL_ALPHA_TEST_REF(0x0BC2),
110     GL_DITHER(0x0BD0),
111     GL_BLEND_DST(0x0BE0),
112     GL_BLEND_SRC(0x0BE1),
113     GL_BLEND(0x0BE2),
114     GL_LOGIC_OP_MODE(0x0BF0),
115     GL_COLOR_LOGIC_OP(0x0BF2),
116     GL_READ_BUFFER_NV(0x0C02),
117     GL_SCISSOR_BOX(0x0C10),
118     GL_SCISSOR_TEST(0x0C11),
119     GL_COLOR_CLEAR_VALUE(0x0C22),
120     GL_COLOR_WRITEMASK(0x0C23),
121     GL_PERSPECTIVE_CORRECTION_HINT(0x0C50),
122     GL_POINT_SMOOTH_HINT(0x0C51),
123     GL_LINE_SMOOTH_HINT(0x0C52),
124     GL_FOG_HINT(0x0C54),
125     GL_UNPACK_ROW_LENGTH(0x0CF2),
126     GL_UNPACK_SKIP_ROWS(0x0CF3),
127     GL_UNPACK_SKIP_PIXELS(0x0CF4),
128     GL_UNPACK_ALIGNMENT(0x0CF5),
129     GL_PACK_ALIGNMENT(0x0D05),
130     GL_ALPHA_SCALE(0x0D1C),
131     GL_MAX_LIGHTS(0x0D31),
132     GL_MAX_CLIP_PLANES(0x0D32),
133     GL_MAX_TEXTURE_SIZE(0x0D33),
134     GL_MAX_MODELVIEW_STACK_DEPTH(0x0D36),
135     GL_MAX_PROJECTION_STACK_DEPTH(0x0D38),
136     GL_MAX_TEXTURE_STACK_DEPTH(0x0D39),
137     GL_MAX_VIEWPORT_DIMS(0x0D3A),
138     GL_SUBPIXEL_BITS(0x0D50),
139     GL_RED_BITS(0x0D52),
140     GL_GREEN_BITS(0x0D53),
141     GL_BLUE_BITS(0x0D54),
142     GL_ALPHA_BITS(0x0D55),
143     GL_DEPTH_BITS(0x0D56),
144     GL_STENCIL_BITS(0x0D57),
145     GL_TEXTURE_2D(0x0DE1),
146     GL_DONT_CARE(0x1100),
147     GL_FASTEST(0x1101),
148     GL_NICEST(0x1102),
149     GL_AMBIENT(0x1200),
150     GL_DIFFUSE(0x1201),
151     GL_SPECULAR(0x1202),
152     GL_POSITION(0x1203),
153     GL_SPOT_DIRECTION(0x1204),
154     GL_SPOT_EXPONENT(0x1205),
155     GL_SPOT_CUTOFF(0x1206),
156     GL_CONSTANT_ATTENUATION(0x1207),
157     GL_LINEAR_ATTENUATION(0x1208),
158     GL_QUADRATIC_ATTENUATION(0x1209),
159     GL_BYTE(0x1400),
160     GL_UNSIGNED_BYTE(0x1401),
161     GL_SHORT(0x1402),
162     GL_UNSIGNED_SHORT(0x1403),
163     GL_INT(0x1404),
164     GL_UNSIGNED_INT(0x1405),
165     GL_FLOAT(0x1406),
166     GL_FIXED(0x140C),
167     GL_CLEAR(0x1500),
168     GL_AND(0x1501),
169     GL_AND_REVERSE(0x1502),
170     GL_COPY(0x1503),
171     GL_AND_INVERTED(0x1504),
172     GL_NOOP(0x1505),
173     GL_XOR(0x1506),
174     GL_OR(0x1507),
175     GL_NOR(0x1508),
176     GL_EQUIV(0x1509),
177     GL_INVERT(0x150A),
178     GL_OR_REVERSE(0x150B),
179     GL_COPY_INVERTED(0x150C),
180     GL_OR_INVERTED(0x150D),
181     GL_NAND(0x150E),
182     GL_SET(0x150F),
183     GL_EMISSION(0x1600),
184     GL_SHININESS(0x1601),
185     GL_AMBIENT_AND_DIFFUSE(0x1602),
186     GL_MODELVIEW(0x1700),
187     GL_PROJECTION(0x1701),
188     GL_TEXTURE(0x1702),
189     GL_COLOR_EXT(0x1800),
190     GL_DEPTH_EXT(0x1801),
191     GL_STENCIL_EXT(0x1802),
192     GL_STENCIL_INDEX(0x1901),
193     GL_DEPTH_COMPONENT(0x1902),
194     GL_RED_EXT(0x1903),
195     GL_ALPHA(0x1906),
196     GL_RGB(0x1907),
197     GL_RGBA(0x1908),
198     GL_LUMINANCE(0x1909),
199     GL_LUMINANCE_ALPHA(0x190A),
200     GL_FLAT(0x1D00),
201     GL_SMOOTH(0x1D01),
202     GL_KEEP(0x1E00),
203     GL_REPLACE(0x1E01),
204     GL_INCR(0x1E02),
205     GL_DECR(0x1E03),
206     GL_VENDOR(0x1F00),
207     GL_RENDERER(0x1F01),
208     GL_VERSION(0x1F02),
209     GL_EXTENSIONS(0x1F03),
210     GL_MODULATE(0x2100),
211     GL_DECAL(0x2101),
212     GL_TEXTURE_ENV_MODE(0x2200),
213     GL_TEXTURE_ENV_COLOR(0x2201),
214     GL_TEXTURE_ENV(0x2300),
215     GL_TEXTURE_GEN_MODE(0x2500),
216     GL_NEAREST(0x2600),
217     GL_LINEAR(0x2601),
218     GL_NEAREST_MIPMAP_NEAREST(0x2700),
219     GL_LINEAR_MIPMAP_NEAREST(0x2701),
220     GL_NEAREST_MIPMAP_LINEAR(0x2702),
221     GL_LINEAR_MIPMAP_LINEAR(0x2703),
222     GL_TEXTURE_MAG_FILTER(0x2800),
223     GL_TEXTURE_MIN_FILTER(0x2801),
224     GL_TEXTURE_WRAP_S(0x2802),
225     GL_TEXTURE_WRAP_T(0x2803),
226     GL_REPEAT(0x2901),
227     GL_POLYGON_OFFSET_UNITS(0x2A00),
228     GL_CLIP_PLANE0(0x3000),
229     GL_CLIP_PLANE1(0x3001),
230     GL_CLIP_PLANE2(0x3002),
231     GL_CLIP_PLANE3(0x3003),
232     GL_CLIP_PLANE4(0x3004),
233     GL_CLIP_PLANE5(0x3005),
234     GL_LIGHT0(0x4000),
235     GL_LIGHT1(0x4001),
236     GL_LIGHT2(0x4002),
237     GL_LIGHT3(0x4003),
238     GL_LIGHT4(0x4004),
239     GL_LIGHT5(0x4005),
240     GL_LIGHT6(0x4006),
241     GL_LIGHT7(0x4007),
242     GL_COVERAGE_BUFFER_BIT_NV(0x8000),
243     GL_CONSTANT_COLOR(0x8001),
244     GL_ONE_MINUS_CONSTANT_COLOR(0x8002),
245     GL_CONSTANT_ALPHA(0x8003),
246     GL_ONE_MINUS_CONSTANT_ALPHA(0x8004),
247     GL_BLEND_COLOR(0x8005),
248     GL_FUNC_ADD(0x8006),
249     GL_MIN_EXT(0x8007),
250     GL_MAX_EXT(0x8008),
251     GL_BLEND_EQUATION_RGB(0x8009),
252     GL_FUNC_SUBTRACT(0x800A),
253     GL_FUNC_REVERSE_SUBTRACT(0x800B),
254     GL_UNSIGNED_SHORT_4_4_4_4(0x8033),
255     GL_UNSIGNED_SHORT_5_5_5_1(0x8034),
256     GL_POLYGON_OFFSET_FILL(0x8037),
257     GL_POLYGON_OFFSET_FACTOR(0x8038),
258     GL_RESCALE_NORMAL(0x803A),
259     GL_ALPHA8_EXT(0x803C),
260     GL_LUMINANCE8_EXT(0x8040),
261     GL_LUMINANCE8_ALPHA8_EXT(0x8045),
262     GL_RGB8(0x8051),
263     GL_RGB10_EXT(0x8052),
264     GL_RGBA4(0x8056),
265     GL_RGB5_A1(0x8057),
266     GL_RGBA8(0x8058),
267     GL_RGB10_A2_EXT(0x8059),
268     GL_TEXTURE_BINDING_2D(0x8069),
269     GL_TEXTURE_BINDING_3D(0x806A),
270     GL_TEXTURE_3D(0x806F),
271     GL_TEXTURE_WRAP_R(0x8072),
272     GL_MAX_3D_TEXTURE_SIZE(0x8073),
273     GL_VERTEX_ARRAY(0x8074),
274     GL_NORMAL_ARRAY(0x8075),
275     GL_COLOR_ARRAY(0x8076),
276     GL_TEXTURE_COORD_ARRAY(0x8078),
277     GL_VERTEX_ARRAY_SIZE(0x807A),
278     GL_VERTEX_ARRAY_TYPE(0x807B),
279     GL_VERTEX_ARRAY_STRIDE(0x807C),
280     GL_NORMAL_ARRAY_TYPE(0x807E),
281     GL_NORMAL_ARRAY_STRIDE(0x807F),
282     GL_COLOR_ARRAY_SIZE(0x8081),
283     GL_COLOR_ARRAY_TYPE(0x8082),
284     GL_COLOR_ARRAY_STRIDE(0x8083),
285     GL_TEXTURE_COORD_ARRAY_SIZE(0x8088),
286     GL_TEXTURE_COORD_ARRAY_TYPE(0x8089),
287     GL_TEXTURE_COORD_ARRAY_STRIDE(0x808A),
288     GL_VERTEX_ARRAY_POINTER(0x808E),
289     GL_NORMAL_ARRAY_POINTER(0x808F),
290     GL_COLOR_ARRAY_POINTER(0x8090),
291     GL_TEXTURE_COORD_ARRAY_POINTER(0x8092),
292     GL_MULTISAMPLE(0x809D),
293     GL_SAMPLE_ALPHA_TO_COVERAGE(0x809E),
294     GL_SAMPLE_ALPHA_TO_ONE(0x809F),
295     GL_SAMPLE_COVERAGE(0x80A0),
296     GL_SAMPLE_BUFFERS(0x80A8),
297     GL_SAMPLES(0x80A9),
298     GL_SAMPLE_COVERAGE_VALUE(0x80AA),
299     GL_SAMPLE_COVERAGE_INVERT(0x80AB),
300     GL_BLEND_DST_RGB(0x80C8),
301     GL_BLEND_SRC_RGB(0x80C9),
302     GL_BLEND_DST_ALPHA(0x80CA),
303     GL_BLEND_SRC_ALPHA(0x80CB),
304     GL_BGRA_EXT(0x80E1),
305     GL_POINT_SIZE_MIN(0x8126),
306     GL_POINT_SIZE_MAX(0x8127),
307     GL_POINT_FADE_THRESHOLD_SIZE(0x8128),
308     GL_POINT_DISTANCE_ATTENUATION(0x8129),
309     GL_CLAMP_TO_EDGE(0x812F),
310     GL_GENERATE_MIPMAP(0x8191),
311     GL_GENERATE_MIPMAP_HINT(0x8192),
312     GL_DEPTH_COMPONENT16(0x81A5),
313     GL_DEPTH_COMPONENT24(0x81A6),
314     GL_DEPTH_COMPONENT32(0x81A7),
315     GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT(0x8210),
316     GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT(0x8211),
317     GL_RG_EXT(0x8227),
318     GL_R8_EXT(0x8229),
319     GL_RG8_EXT(0x822B),
320     GL_R16F_EXT(0x822D),
321     GL_RG16F_EXT(0x822F),
322     GL_LOSE_CONTEXT_ON_RESET_EXT(0x8252),
323     GL_GUILTY_CONTEXT_RESET_EXT(0x8253),
324     GL_INNOCENT_CONTEXT_RESET_EXT(0x8254),
325     GL_UNKNOWN_CONTEXT_RESET_EXT(0x8255),
326     GL_RESET_NOTIFICATION_STRATEGY_EXT(0x8256),
327     GL_PROGRAM_SEPARABLE_EXT(0x8258),
328     GL_ACTIVE_PROGRAM_EXT(0x8259),
329     GL_PROGRAM_PIPELINE_BINDING_EXT(0x825A),
330     GL_NO_RESET_NOTIFICATION_EXT(0x8261),
331     GL_UNSIGNED_SHORT_5_6_5(0x8363),
332     GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT(0x8365),
333     GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT(0x8366),
334     GL_UNSIGNED_INT_2_10_10_10_REV_EXT(0x8368),
335     GL_MIRRORED_REPEAT(0x8370),
336     GL_COMPRESSED_RGB_S3TC_DXT1_EXT(0x83F0),
337     GL_COMPRESSED_RGBA_S3TC_DXT1_EXT(0x83F1),
338     GL_ALIASED_POINT_SIZE_RANGE(0x846D),
339     GL_ALIASED_LINE_WIDTH_RANGE(0x846E),
340     GL_TEXTURE0(0x84C0),
341     GL_TEXTURE1(0x84C1),
342     GL_TEXTURE2(0x84C2),
343     GL_TEXTURE3(0x84C3),
344     GL_TEXTURE4(0x84C4),
345     GL_TEXTURE5(0x84C5),
346     GL_TEXTURE6(0x84C6),
347     GL_TEXTURE7(0x84C7),
348     GL_TEXTURE8(0x84C8),
349     GL_TEXTURE9(0x84C9),
350     GL_TEXTURE10(0x84CA),
351     GL_TEXTURE11(0x84CB),
352     GL_TEXTURE12(0x84CC),
353     GL_TEXTURE13(0x84CD),
354     GL_TEXTURE14(0x84CE),
355     GL_TEXTURE15(0x84CF),
356     GL_TEXTURE16(0x84D0),
357     GL_TEXTURE17(0x84D1),
358     GL_TEXTURE18(0x84D2),
359     GL_TEXTURE19(0x84D3),
360     GL_TEXTURE20(0x84D4),
361     GL_TEXTURE21(0x84D5),
362     GL_TEXTURE22(0x84D6),
363     GL_TEXTURE23(0x84D7),
364     GL_TEXTURE24(0x84D8),
365     GL_TEXTURE25(0x84D9),
366     GL_TEXTURE26(0x84DA),
367     GL_TEXTURE27(0x84DB),
368     GL_TEXTURE28(0x84DC),
369     GL_TEXTURE29(0x84DD),
370     GL_TEXTURE30(0x84DE),
371     GL_TEXTURE31(0x84DF),
372     GL_ACTIVE_TEXTURE(0x84E0),
373     GL_CLIENT_ACTIVE_TEXTURE(0x84E1),
374     GL_MAX_TEXTURE_UNITS(0x84E2),
375     GL_SUBTRACT(0x84E7),
376     GL_MAX_RENDERBUFFER_SIZE(0x84E8),
377     GL_ALL_COMPLETED_NV(0x84F2),
378     GL_FENCE_STATUS_NV(0x84F3),
379     GL_FENCE_CONDITION_NV(0x84F4),
380     GL_DEPTH_STENCIL(0x84F9),
381     GL_UNSIGNED_INT_24_8(0x84FA),
382     GL_MAX_TEXTURE_LOD_BIAS_EXT(0x84FD),
383     GL_TEXTURE_MAX_ANISOTROPY_EXT(0x84FE),
384     GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT(0x84FF),
385     GL_TEXTURE_FILTER_CONTROL_EXT(0x8500),
386     GL_TEXTURE_LOD_BIAS_EXT(0x8501),
387     GL_INCR_WRAP(0x8507),
388     GL_DECR_WRAP(0x8508),
389     GL_NORMAL_MAP(0x8511),
390     GL_REFLECTION_MAP(0x8512),
391     GL_TEXTURE_CUBE_MAP(0x8513),
392     GL_TEXTURE_BINDING_CUBE_MAP(0x8514),
393     GL_TEXTURE_CUBE_MAP_POSITIVE_X(0x8515),
394     GL_TEXTURE_CUBE_MAP_NEGATIVE_X(0x8516),
395     GL_TEXTURE_CUBE_MAP_POSITIVE_Y(0x8517),
396     GL_TEXTURE_CUBE_MAP_NEGATIVE_Y(0x8518),
397     GL_TEXTURE_CUBE_MAP_POSITIVE_Z(0x8519),
398     GL_TEXTURE_CUBE_MAP_NEGATIVE_Z(0x851A),
399     GL_MAX_CUBE_MAP_TEXTURE_SIZE(0x851C),
400     GL_COMBINE(0x8570),
401     GL_COMBINE_RGB(0x8571),
402     GL_COMBINE_ALPHA(0x8572),
403     GL_RGB_SCALE(0x8573),
404     GL_ADD_SIGNED(0x8574),
405     GL_INTERPOLATE(0x8575),
406     GL_CONSTANT(0x8576),
407     GL_PRIMARY_COLOR(0x8577),
408     GL_PREVIOUS(0x8578),
409     GL_SRC0_RGB(0x8580),
410     GL_SRC1_RGB(0x8581),
411     GL_SRC2_RGB(0x8582),
412     GL_SRC0_ALPHA(0x8588),
413     GL_SRC1_ALPHA(0x8589),
414     GL_SRC2_ALPHA(0x858A),
415     GL_OPERAND0_RGB(0x8590),
416     GL_OPERAND1_RGB(0x8591),
417     GL_OPERAND2_RGB(0x8592),
418     GL_OPERAND0_ALPHA(0x8598),
419     GL_OPERAND1_ALPHA(0x8599),
420     GL_OPERAND2_ALPHA(0x859A),
421     GL_VERTEX_ARRAY_BINDING(0x85B5),
422     GL_UNSIGNED_SHORT_8_8_APPLE(0x85BA),
423     GL_UNSIGNED_SHORT_8_8_REV_APPLE(0x85BB),
424     GL_VERTEX_ATTRIB_ARRAY_ENABLED(0x8622),
425     GL_VERTEX_ATTRIB_ARRAY_SIZE(0x8623),
426     GL_VERTEX_ATTRIB_ARRAY_STRIDE(0x8624),
427     GL_VERTEX_ATTRIB_ARRAY_TYPE(0x8625),
428     GL_CURRENT_VERTEX_ATTRIB(0x8626),
429     GL_VERTEX_ATTRIB_ARRAY_POINTER(0x8645),
430     GL_NUM_COMPRESSED_TEXTURE_FORMATS(0x86A2),
431     GL_COMPRESSED_TEXTURE_FORMATS(0x86A3),
432     GL_MAX_VERTEX_UNITS(0x86A4),
433     GL_WEIGHT_ARRAY_TYPE(0x86A9),
434     GL_WEIGHT_ARRAY_STRIDE(0x86AA),
435     GL_WEIGHT_ARRAY_SIZE(0x86AB),
436     GL_WEIGHT_ARRAY_POINTER(0x86AC),
437     GL_WEIGHT_ARRAY(0x86AD),
438     GL_DOT3_RGB(0x86AE),
439     GL_DOT3_RGBA(0x86AF),
440     GL_Z400_BINARY_AMD(0x8740),
441     GL_PROGRAM_BINARY_LENGTH(0x8741),
442     GL_BUFFER_SIZE(0x8764),
443     GL_BUFFER_USAGE(0x8765),
444     GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD(0x87EE),
445     GL_3DC_X_AMD(0x87F9),
446     GL_3DC_XY_AMD(0x87FA),
447     GL_NUM_PROGRAM_BINARY_FORMATS(0x87FE),
448     GL_PROGRAM_BINARY_FORMATS(0x87FF),
449     GL_STENCIL_BACK_FUNC(0x8800),
450     GL_STENCIL_BACK_FAIL(0x8801),
451     GL_STENCIL_BACK_PASS_DEPTH_FAIL(0x8802),
452     GL_STENCIL_BACK_PASS_DEPTH_PASS(0x8803),
453     GL_RGBA32F_EXT(0x8814),
454     GL_RGB32F_EXT(0x8815),
455     GL_ALPHA32F_EXT(0x8816),
456     GL_LUMINANCE32F_EXT(0x8818),
457     GL_LUMINANCE_ALPHA32F_EXT(0x8819),
458     GL_RGBA16F_EXT(0x881A),
459     GL_RGB16F_EXT(0x881B),
460     GL_ALPHA16F_EXT(0x881C),
461     GL_LUMINANCE16F_EXT(0x881E),
462     GL_LUMINANCE_ALPHA16F_EXT(0x881F),
463     GL_WRITEONLY_RENDERING_QCOM(0x8823),
464     GL_MAX_DRAW_BUFFERS_NV(0x8824),
465     GL_DRAW_BUFFER0_NV(0x8825),
466     GL_DRAW_BUFFER1_NV(0x8826),
467     GL_DRAW_BUFFER2_NV(0x8827),
468     GL_DRAW_BUFFER3_NV(0x8828),
469     GL_DRAW_BUFFER4_NV(0x8829),
470     GL_DRAW_BUFFER5_NV(0x882A),
471     GL_DRAW_BUFFER6_NV(0x882B),
472     GL_DRAW_BUFFER7_NV(0x882C),
473     GL_DRAW_BUFFER8_NV(0x882D),
474     GL_DRAW_BUFFER9_NV(0x882E),
475     GL_DRAW_BUFFER10_NV(0x882F),
476     GL_DRAW_BUFFER11_NV(0x8830),
477     GL_DRAW_BUFFER12_NV(0x8831),
478     GL_DRAW_BUFFER13_NV(0x8832),
479     GL_DRAW_BUFFER14_NV(0x8833),
480     GL_DRAW_BUFFER15_NV(0x8834),
481     GL_BLEND_EQUATION_ALPHA(0x883D),
482     GL_MATRIX_PALETTE(0x8840),
483     GL_MAX_PALETTE_MATRICES(0x8842),
484     GL_CURRENT_PALETTE_MATRIX(0x8843),
485     GL_MATRIX_INDEX_ARRAY(0x8844),
486     GL_MATRIX_INDEX_ARRAY_SIZE(0x8846),
487     GL_MATRIX_INDEX_ARRAY_TYPE(0x8847),
488     GL_MATRIX_INDEX_ARRAY_STRIDE(0x8848),
489     GL_MATRIX_INDEX_ARRAY_POINTER(0x8849),
490     GL_COMPARE_REF_TO_TEXTURE_EXT(0x884E),
491     GL_CURRENT_QUERY_EXT(0x8865),
492     GL_QUERY_RESULT_EXT(0x8866),
493     GL_QUERY_RESULT_AVAILABLE_EXT(0x8867),
494     GL_POINT_SPRITE(0x8861),
495     GL_COORD_REPLACE(0x8862),
496     GL_MAX_VERTEX_ATTRIBS(0x8869),
497     GL_VERTEX_ATTRIB_ARRAY_NORMALIZED(0x886A),
498     GL_MAX_TEXTURE_IMAGE_UNITS(0x8872),
499     GL_ARRAY_BUFFER(0x8892),
500     GL_ELEMENT_ARRAY_BUFFER(0x8893),
501     GL_ARRAY_BUFFER_BINDING(0x8894),
502     GL_ELEMENT_ARRAY_BUFFER_BINDING(0x8895),
503     GL_VERTEX_ARRAY_BUFFER_BINDING(0x8896),
504     GL_NORMAL_ARRAY_BUFFER_BINDING(0x8897),
505     GL_COLOR_ARRAY_BUFFER_BINDING(0x8898),
506     GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING(0x889A),
507     GL_WEIGHT_ARRAY_BUFFER_BINDING(0x889E),
508     GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING(0x889F),
509     GL_WRITE_ONLY(0x88B9),
510     GL_BUFFER_ACCESS(0x88BB),
511     GL_BUFFER_MAPPED(0x88BC),
512     GL_BUFFER_MAP_POINTER(0x88BD),
513     GL_STREAM_DRAW(0x88E0),
514     GL_STATIC_DRAW(0x88E4),
515     GL_DYNAMIC_DRAW(0x88E8),
516     GL_DEPTH24_STENCIL8(0x88F0),
517     GL_POINT_SIZE_ARRAY_TYPE(0x898A),
518     GL_POINT_SIZE_ARRAY_STRIDE(0x898B),
519     GL_POINT_SIZE_ARRAY_POINTER(0x898C),
520     GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS(0x898D),
521     GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS(0x898E),
522     GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS(0x898F),
523     GL_RGB_422_APPLE(0x8A1F),
524     GL_PROGRAM_PIPELINE_OBJECT_EXT(0x8A4F),
525     GL_FRAGMENT_SHADER(0x8B30),
526     GL_VERTEX_SHADER(0x8B31),
527     GL_PROGRAM_OBJECT_EXT(0x8B40),
528     GL_SHADER_OBJECT_EXT(0x8B48),
529     GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS(0x8B4C),
530     GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS(0x8B4D),
531     GL_SHADER_TYPE(0x8B4F),
532     GL_FLOAT_VEC2(0x8B50),
533     GL_FLOAT_VEC3(0x8B51),
534     GL_FLOAT_VEC4(0x8B52),
535     GL_INT_VEC2(0x8B53),
536     GL_INT_VEC3(0x8B54),
537     GL_INT_VEC4(0x8B55),
538     GL_BOOL(0x8B56),
539     GL_BOOL_VEC2(0x8B57),
540     GL_BOOL_VEC3(0x8B58),
541     GL_BOOL_VEC4(0x8B59),
542     GL_FLOAT_MAT2(0x8B5A),
543     GL_FLOAT_MAT3(0x8B5B),
544     GL_FLOAT_MAT4(0x8B5C),
545     GL_SAMPLER_2D(0x8B5E),
546     GL_SAMPLER_3D(0x8B5F),
547     GL_SAMPLER_CUBE(0x8B60),
548     GL_SAMPLER_2D_SHADOW_EXT(0x8B62),
549     GL_DELETE_STATUS(0x8B80),
550     GL_COMPILE_STATUS(0x8B81),
551     GL_LINK_STATUS(0x8B82),
552     GL_VALIDATE_STATUS(0x8B83),
553     GL_INFO_LOG_LENGTH(0x8B84),
554     GL_ATTACHED_SHADERS(0x8B85),
555     GL_ACTIVE_UNIFORMS(0x8B86),
556     GL_ACTIVE_UNIFORM_MAX_LENGTH(0x8B87),
557     GL_SHADER_SOURCE_LENGTH(0x8B88),
558     GL_ACTIVE_ATTRIBUTES(0x8B89),
559     GL_ACTIVE_ATTRIBUTE_MAX_LENGTH(0x8B8A),
560     GL_FRAGMENT_SHADER_DERIVATIVE_HINT(0x8B8B),
561     GL_SHADING_LANGUAGE_VERSION(0x8B8C),
562     GL_CURRENT_PROGRAM(0x8B8D),
563     GL_PALETTE4_RGB8(0x8B90),
564     GL_PALETTE4_RGBA8(0x8B91),
565     GL_PALETTE4_R5_G6_B5(0x8B92),
566     GL_PALETTE4_RGBA4(0x8B93),
567     GL_PALETTE4_RGB5_A1(0x8B94),
568     GL_PALETTE8_RGB8(0x8B95),
569     GL_PALETTE8_RGBA8(0x8B96),
570     GL_PALETTE8_R5_G6_B5(0x8B97),
571     GL_PALETTE8_RGBA4(0x8B98),
572     GL_PALETTE8_RGB5_A1(0x8B99),
573     GL_IMPLEMENTATION_COLOR_READ_TYPE(0x8B9A),
574     GL_IMPLEMENTATION_COLOR_READ_FORMAT(0x8B9B),
575     GL_POINT_SIZE_ARRAY(0x8B9C),
576     GL_TEXTURE_CROP_RECT(0x8B9D),
577     GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING(0x8B9E),
578     GL_POINT_SIZE_ARRAY_BUFFER_BINDING(0x8B9F),
579     GL_COUNTER_TYPE_AMD(0x8BC0),
580     GL_COUNTER_RANGE_AMD(0x8BC1),
581     GL_UNSIGNED_INT64_AMD(0x8BC2),
582     GL_PERCENTAGE_AMD(0x8BC3),
583     GL_PERFMON_RESULT_AVAILABLE_AMD(0x8BC4),
584     GL_PERFMON_RESULT_SIZE_AMD(0x8BC5),
585     GL_PERFMON_RESULT_AMD(0x8BC6),
586     GL_TEXTURE_WIDTH_QCOM(0x8BD2),
587     GL_TEXTURE_HEIGHT_QCOM(0x8BD3),
588     GL_TEXTURE_DEPTH_QCOM(0x8BD4),
589     GL_TEXTURE_INTERNAL_FORMAT_QCOM(0x8BD5),
590     GL_TEXTURE_FORMAT_QCOM(0x8BD6),
591     GL_TEXTURE_TYPE_QCOM(0x8BD7),
592     GL_TEXTURE_IMAGE_VALID_QCOM(0x8BD8),
593     GL_TEXTURE_NUM_LEVELS_QCOM(0x8BD9),
594     GL_TEXTURE_TARGET_QCOM(0x8BDA),
595     GL_TEXTURE_OBJECT_VALID_QCOM(0x8BDB),
596     GL_STATE_RESTORE(0x8BDC),
597     GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG(0x8C00),
598     GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG(0x8C01),
599     GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG(0x8C02),
600     GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG(0x8C03),
601     GL_MODULATE_COLOR_IMG(0x8C04),
602     GL_RECIP_ADD_SIGNED_ALPHA_IMG(0x8C05),
603     GL_TEXTURE_ALPHA_MODULATE_IMG(0x8C06),
604     GL_FACTOR_ALPHA_MODULATE_IMG(0x8C07),
605     GL_FRAGMENT_ALPHA_MODULATE_IMG(0x8C08),
606     GL_ADD_BLEND_IMG(0x8C09),
607     GL_SGX_BINARY_IMG(0x8C0A),
608     GL_UNSIGNED_NORMALIZED_EXT(0x8C17),
609     GL_ANY_SAMPLES_PASSED_EXT(0x8C2F),
610     GL_SRGB_EXT(0x8C40),
611     GL_SRGB_ALPHA_EXT(0x8C42),
612     GL_SRGB8_ALPHA8_EXT(0x8C43),
613     GL_ATC_RGB_AMD(0x8C92),
614     GL_ATC_RGBA_EXPLICIT_ALPHA_AMD(0x8C93),
615     GL_STENCIL_BACK_REF(0x8CA3),
616     GL_STENCIL_BACK_VALUE_MASK(0x8CA4),
617     GL_STENCIL_BACK_WRITEMASK(0x8CA5),
618     GL_FRAMEBUFFER_BINDING(0x8CA6),
619     GL_RENDERBUFFER_BINDING(0x8CA7),
620     GL_READ_FRAMEBUFFER_APPLE(0x8CA8),
621     GL_DRAW_FRAMEBUFFER_APPLE(0x8CA9),
622     GL_READ_FRAMEBUFFER_BINDING_APPLE(0x8CAA),
623     GL_RENDERBUFFER_SAMPLES_APPLE(0x8CAB),
624     GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE(0x8CD0),
625     GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME(0x8CD1),
626     GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL(0x8CD2),
627     GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE(0x8CD3),
628     GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET(0x8CD4),
629     GL_FRAMEBUFFER_COMPLETE(0x8CD5),
630     GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT(0x8CD6),
631     GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT(0x8CD7),
632     GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS(0x8CD9),
633     GL_FRAMEBUFFER_INCOMPLETE_FORMATS(0x8CDA),
634     GL_FRAMEBUFFER_UNSUPPORTED(0x8CDD),
635     GL_MAX_COLOR_ATTACHMENTS_NV(0x8CDF),
636     GL_COLOR_ATTACHMENT0(0x8CE0),
637     GL_COLOR_ATTACHMENT1_NV(0x8CE1),
638     GL_COLOR_ATTACHMENT2_NV(0x8CE2),
639     GL_COLOR_ATTACHMENT3_NV(0x8CE3),
640     GL_COLOR_ATTACHMENT4_NV(0x8CE4),
641     GL_COLOR_ATTACHMENT5_NV(0x8CE5),
642     GL_COLOR_ATTACHMENT6_NV(0x8CE6),
643     GL_COLOR_ATTACHMENT7_NV(0x8CE7),
644     GL_COLOR_ATTACHMENT8_NV(0x8CE8),
645     GL_COLOR_ATTACHMENT9_NV(0x8CE9),
646     GL_COLOR_ATTACHMENT10_NV(0x8CEA),
647     GL_COLOR_ATTACHMENT11_NV(0x8CEB),
648     GL_COLOR_ATTACHMENT12_NV(0x8CEC),
649     GL_COLOR_ATTACHMENT13_NV(0x8CED),
650     GL_COLOR_ATTACHMENT14_NV(0x8CEE),
651     GL_COLOR_ATTACHMENT15_NV(0x8CEF),
652     GL_DEPTH_ATTACHMENT(0x8D00),
653     GL_STENCIL_ATTACHMENT(0x8D20),
654     GL_FRAMEBUFFER(0x8D40),
655     GL_RENDERBUFFER(0x8D41),
656     GL_RENDERBUFFER_WIDTH(0x8D42),
657     GL_RENDERBUFFER_HEIGHT(0x8D43),
658     GL_RENDERBUFFER_INTERNAL_FORMAT(0x8D44),
659     GL_STENCIL_INDEX1(0x8D46),
660     GL_STENCIL_INDEX4(0x8D47),
661     GL_STENCIL_INDEX8(0x8D48),
662     GL_RENDERBUFFER_RED_SIZE(0x8D50),
663     GL_RENDERBUFFER_GREEN_SIZE(0x8D51),
664     GL_RENDERBUFFER_BLUE_SIZE(0x8D52),
665     GL_RENDERBUFFER_ALPHA_SIZE(0x8D53),
666     GL_RENDERBUFFER_DEPTH_SIZE(0x8D54),
667     GL_RENDERBUFFER_STENCIL_SIZE(0x8D55),
668     GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE(0x8D56),
669     GL_MAX_SAMPLES_APPLE(0x8D57),
670     GL_TEXTURE_GEN_STR(0x8D60),
671     GL_HALF_FLOAT(0x8D61),
672     GL_RGB565(0x8D62),
673     GL_ETC1_RGB8(0x8D64),
674     GL_TEXTURE_EXTERNAL(0x8D65),
675     GL_SAMPLER_EXTERNAL(0x8D66),
676     GL_TEXTURE_BINDING_EXTERNAL(0x8D67),
677     GL_REQUIRED_TEXTURE_IMAGE_UNITS(0x8D68),
678     GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT(0x8D6A),
679     GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT(0x8D6C),
680     GL_LOW_FLOAT(0x8DF0),
681     GL_MEDIUM_FLOAT(0x8DF1),
682     GL_HIGH_FLOAT(0x8DF2),
683     GL_LOW_INT(0x8DF3),
684     GL_MEDIUM_INT(0x8DF4),
685     GL_HIGH_INT(0x8DF5),
686     GL_UNSIGNED_INT_10_10_10_2(0x8DF6),
687     GL_INT_10_10_10_2(0x8DF7),
688     GL_SHADER_BINARY_FORMATS(0x8DF8),
689     GL_NUM_SHADER_BINARY_FORMATS(0x8DF9),
690     GL_SHADER_COMPILER(0x8DFA),
691     GL_MAX_VERTEX_UNIFORM_VECTORS(0x8DFB),
692     GL_MAX_VARYING_VECTORS(0x8DFC),
693     GL_MAX_FRAGMENT_UNIFORM_VECTORS(0x8DFD),
694     GL_DEPTH_COMPONENT16_NONLINEAR_NV(0x8E2C),
695     GL_COVERAGE_COMPONENT_NV(0x8ED0),
696     GL_COVERAGE_COMPONENT4_NV(0x8ED1),
697     GL_COVERAGE_ATTACHMENT_NV(0x8ED2),
698     GL_COVERAGE_BUFFERS_NV(0x8ED3),
699     GL_COVERAGE_SAMPLES_NV(0x8ED4),
700     GL_COVERAGE_ALL_FRAGMENTS_NV(0x8ED5),
701     GL_COVERAGE_EDGE_FRAGMENTS_NV(0x8ED6),
702     GL_COVERAGE_AUTOMATIC_NV(0x8ED7),
703     GL_MALI_SHADER_BINARY_ARM(0x8F60),
704     GL_PERFMON_GLOBAL_MODE_QCOM(0x8FA0),
705     GL_SHADER_BINARY_VIV(0x8FC4),
706     GL_CONTEXT_ROBUST_ACCESS_EXT(0x90F3),
707     GL_TEXTURE_IMMUTABLE_FORMAT_EXT(0x912F),
708     GL_SGX_PROGRAM_BINARY_IMG(0x9130),
709     GL_RENDERBUFFER_SAMPLES_EXT(0x9133),
710     GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT(0x9134),
711     GL_MAX_SAMPLES_EXT(0x9135),
712     GL_TEXTURE_SAMPLES_IMG(0x9136),
713     GL_BUFFER_OBJECT_EXT(0x9151),
714     GL_QUERY_OBJECT_EXT(0x9153),
715     GL_VERTEX_ARRAY_OBJECT_EXT(0x9154),
716     GL_SHADER_BINARY_DMP(0x9250),
717     GL_BGRA8_EXT(0x93A1),
718 
719     // Constants defined by ES3
720     GL_READ_BUFFER(0x0C02),
721     GL_PACK_ROW_LENGTH(0x0D02),
722     GL_PACK_SKIP_ROWS(0x0D03),
723     GL_PACK_SKIP_PIXELS(0x0D04),
724     GL_COLOR(0x1800),
725     GL_DEPTH(0x1801),
726     GL_STENCIL(0x1802),
727     GL_RED(0x1903),
728     GL_RGB10_A2(0x8059),
729     GL_UNPACK_SKIP_IMAGES(0x806D),
730     GL_UNPACK_IMAGE_HEIGHT(0x806E),
731     GL_UNSIGNED_INT_2_10_10_10_REV(0x8368),
732     GL_MAX_ELEMENTS_VERTICES(0x80E8),
733     GL_MAX_ELEMENTS_INDICES(0x80E9),
734     GL_TEXTURE_MIN_LOD(0x813A),
735     GL_TEXTURE_MAX_LOD(0x813B),
736     GL_TEXTURE_BASE_LEVEL(0x813C),
737     GL_TEXTURE_MAX_LEVEL(0x813D),
738     GL_MIN(0x8007),
739     GL_MAX(0x8008),
740     GL_MAX_TEXTURE_LOD_BIAS(0x84FD),
741     GL_TEXTURE_COMPARE_MODE(0x884C),
742     GL_TEXTURE_COMPARE_FUNC(0x884D),
743     GL_CURRENT_QUERY(0x8865),
744     GL_QUERY_RESULT(0x8866),
745     GL_QUERY_RESULT_AVAILABLE(0x8867),
746     GL_STREAM_READ(0x88E1),
747     GL_STREAM_COPY(0x88E2),
748     GL_STATIC_READ(0x88E5),
749     GL_STATIC_COPY(0x88E6),
750     GL_DYNAMIC_READ(0x88E9),
751     GL_DYNAMIC_COPY(0x88EA),
752     GL_MAX_DRAW_BUFFERS(0x8824),
753     GL_DRAW_BUFFER0(0x8825),
754     GL_DRAW_BUFFER1(0x8826),
755     GL_DRAW_BUFFER2(0x8827),
756     GL_DRAW_BUFFER3(0x8828),
757     GL_DRAW_BUFFER4(0x8829),
758     GL_DRAW_BUFFER5(0x882A),
759     GL_DRAW_BUFFER6(0x882B),
760     GL_DRAW_BUFFER7(0x882C),
761     GL_DRAW_BUFFER8(0x882D),
762     GL_DRAW_BUFFER9(0x882E),
763     GL_DRAW_BUFFER10(0x882F),
764     GL_DRAW_BUFFER11(0x8830),
765     GL_DRAW_BUFFER12(0x8831),
766     GL_DRAW_BUFFER13(0x8832),
767     GL_DRAW_BUFFER14(0x8833),
768     GL_DRAW_BUFFER15(0x8834),
769     GL_MAX_FRAGMENT_UNIFORM_COMPONENTS(0x8B49),
770     GL_MAX_VERTEX_UNIFORM_COMPONENTS(0x8B4A),
771     GL_SAMPLER_2D_SHADOW(0x8B62),
772     GL_PIXEL_PACK_BUFFER(0x88EB),
773     GL_PIXEL_UNPACK_BUFFER(0x88EC),
774     GL_PIXEL_PACK_BUFFER_BINDING(0x88ED),
775     GL_PIXEL_UNPACK_BUFFER_BINDING(0x88EF),
776     GL_FLOAT_MAT2x3(0x8B65),
777     GL_FLOAT_MAT2x4(0x8B66),
778     GL_FLOAT_MAT3x2(0x8B67),
779     GL_FLOAT_MAT3x4(0x8B68),
780     GL_FLOAT_MAT4x2(0x8B69),
781     GL_FLOAT_MAT4x3(0x8B6A),
782     GL_SRGB(0x8C40),
783     GL_SRGB8(0x8C41),
784     GL_SRGB8_ALPHA8(0x8C43),
785     GL_COMPARE_REF_TO_TEXTURE(0x884E),
786     GL_MAJOR_VERSION(0x821B),
787     GL_MINOR_VERSION(0x821C),
788     GL_NUM_EXTENSIONS(0x821D),
789     GL_RGBA32F(0x8814),
790     GL_RGB32F(0x8815),
791     GL_RGBA16F(0x881A),
792     GL_RGB16F(0x881B),
793     GL_VERTEX_ATTRIB_ARRAY_INTEGER(0x88FD),
794     GL_MAX_ARRAY_TEXTURE_LAYERS(0x88FF),
795     GL_MIN_PROGRAM_TEXEL_OFFSET(0x8904),
796     GL_MAX_PROGRAM_TEXEL_OFFSET(0x8905),
797     GL_MAX_VARYING_COMPONENTS(0x8B4B),
798     GL_TEXTURE_2D_ARRAY(0x8C1A),
799     GL_TEXTURE_BINDING_2D_ARRAY(0x8C1D),
800     GL_R11F_G11F_B10F(0x8C3A),
801     GL_UNSIGNED_INT_10F_11F_11F_REV(0x8C3B),
802     GL_RGB9_E5(0x8C3D),
803     GL_UNSIGNED_INT_5_9_9_9_REV(0x8C3E),
804     GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH(0x8C76),
805     GL_TRANSFORM_FEEDBACK_BUFFER_MODE(0x8C7F),
806     GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS(0x8C80),
807     GL_TRANSFORM_FEEDBACK_VARYINGS(0x8C83),
808     GL_TRANSFORM_FEEDBACK_BUFFER_START(0x8C84),
809     GL_TRANSFORM_FEEDBACK_BUFFER_SIZE(0x8C85),
810     GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN(0x8C88),
811     GL_RASTERIZER_DISCARD(0x8C89),
812     GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS(0x8C8A),
813     GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS(0x8C8B),
814     GL_INTERLEAVED_ATTRIBS(0x8C8C),
815     GL_SEPARATE_ATTRIBS(0x8C8D),
816     GL_TRANSFORM_FEEDBACK_BUFFER(0x8C8E),
817     GL_TRANSFORM_FEEDBACK_BUFFER_BINDING(0x8C8F),
818     GL_RGBA32UI(0x8D70),
819     GL_RGB32UI(0x8D71),
820     GL_RGBA16UI(0x8D76),
821     GL_RGB16UI(0x8D77),
822     GL_RGBA8UI(0x8D7C),
823     GL_RGB8UI(0x8D7D),
824     GL_RGBA32I(0x8D82),
825     GL_RGB32I(0x8D83),
826     GL_RGBA16I(0x8D88),
827     GL_RGB16I(0x8D89),
828     GL_RGBA8I(0x8D8E),
829     GL_RGB8I(0x8D8F),
830     GL_RED_INTEGER(0x8D94),
831     GL_RGB_INTEGER(0x8D98),
832     GL_RGBA_INTEGER(0x8D99),
833     GL_SAMPLER_2D_ARRAY(0x8DC1),
834     GL_SAMPLER_2D_ARRAY_SHADOW(0x8DC4),
835     GL_SAMPLER_CUBE_SHADOW(0x8DC5),
836     GL_UNSIGNED_INT_VEC2(0x8DC6),
837     GL_UNSIGNED_INT_VEC3(0x8DC7),
838     GL_UNSIGNED_INT_VEC4(0x8DC8),
839     GL_INT_SAMPLER_2D(0x8DCA),
840     GL_INT_SAMPLER_3D(0x8DCB),
841     GL_INT_SAMPLER_CUBE(0x8DCC),
842     GL_INT_SAMPLER_2D_ARRAY(0x8DCF),
843     GL_UNSIGNED_INT_SAMPLER_2D(0x8DD2),
844     GL_UNSIGNED_INT_SAMPLER_3D(0x8DD3),
845     GL_UNSIGNED_INT_SAMPLER_CUBE(0x8DD4),
846     GL_UNSIGNED_INT_SAMPLER_2D_ARRAY(0x8DD7),
847     GL_BUFFER_ACCESS_FLAGS(0x911F),
848     GL_BUFFER_MAP_LENGTH(0x9120),
849     GL_BUFFER_MAP_OFFSET(0x9121),
850     GL_DEPTH_COMPONENT32F(0x8CAC),
851     GL_DEPTH32F_STENCIL8(0x8CAD),
852     GL_FLOAT_32_UNSIGNED_INT_24_8_REV(0x8DAD),
853     GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING(0x8210),
854     GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE(0x8211),
855     GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE(0x8212),
856     GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE(0x8213),
857     GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE(0x8214),
858     GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE(0x8215),
859     GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE(0x8216),
860     GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE(0x8217),
861     GL_FRAMEBUFFER_DEFAULT(0x8218),
862     GL_FRAMEBUFFER_UNDEFINED(0x8219),
863     GL_DEPTH_STENCIL_ATTACHMENT(0x821A),
864     GL_UNSIGNED_NORMALIZED(0x8C17),
865     GL_READ_FRAMEBUFFER(0x8CA8),
866     GL_DRAW_FRAMEBUFFER(0x8CA9),
867     GL_READ_FRAMEBUFFER_BINDING(0x8CAA),
868     GL_RENDERBUFFER_SAMPLES(0x8CAB),
869     GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER(0x8CD4),
870     GL_MAX_COLOR_ATTACHMENTS(0x8CDF),
871     GL_COLOR_ATTACHMENT1(0x8CE1),
872     GL_COLOR_ATTACHMENT2(0x8CE2),
873     GL_COLOR_ATTACHMENT3(0x8CE3),
874     GL_COLOR_ATTACHMENT4(0x8CE4),
875     GL_COLOR_ATTACHMENT5(0x8CE5),
876     GL_COLOR_ATTACHMENT6(0x8CE6),
877     GL_COLOR_ATTACHMENT7(0x8CE7),
878     GL_COLOR_ATTACHMENT8(0x8CE8),
879     GL_COLOR_ATTACHMENT9(0x8CE9),
880     GL_COLOR_ATTACHMENT10(0x8CEA),
881     GL_COLOR_ATTACHMENT11(0x8CEB),
882     GL_COLOR_ATTACHMENT12(0x8CEC),
883     GL_COLOR_ATTACHMENT13(0x8CED),
884     GL_COLOR_ATTACHMENT14(0x8CEE),
885     GL_COLOR_ATTACHMENT15(0x8CEF),
886     GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE(0x8D56),
887     GL_MAX_SAMPLES(0x8D57),
888     GL_MAP_READ_BIT(0x0001),
889     GL_MAP_WRITE_BIT(0x0002),
890     GL_MAP_INVALIDATE_RANGE_BIT(0x0004),
891     GL_MAP_INVALIDATE_BUFFER_BIT(0x0008),
892     GL_MAP_FLUSH_EXPLICIT_BIT(0x0010),
893     GL_MAP_UNSYNCHRONIZED_BIT(0x0020),
894     GL_RG(0x8227),
895     GL_RG_INTEGER(0x8228),
896     GL_R8(0x8229),
897     GL_RG8(0x822B),
898     GL_R16F(0x822D),
899     GL_R32F(0x822E),
900     GL_RG16F(0x822F),
901     GL_RG32F(0x8230),
902     GL_R8I(0x8231),
903     GL_R8UI(0x8232),
904     GL_R16I(0x8233),
905     GL_R16UI(0x8234),
906     GL_R32I(0x8235),
907     GL_R32UI(0x8236),
908     GL_RG8I(0x8237),
909     GL_RG8UI(0x8238),
910     GL_RG16I(0x8239),
911     GL_RG16UI(0x823A),
912     GL_RG32I(0x823B),
913     GL_RG32UI(0x823C),
914     GL_R8_SNORM(0x8F94),
915     GL_RG8_SNORM(0x8F95),
916     GL_RGB8_SNORM(0x8F96),
917     GL_RGBA8_SNORM(0x8F97),
918     GL_SIGNED_NORMALIZED(0x8F9C),
919     GL_PRIMITIVE_RESTART_FIXED_INDEX(0x8D69),
920     GL_COPY_READ_BUFFER(0x8F36),
921     GL_COPY_WRITE_BUFFER(0x8F37),
922     GL_UNIFORM_BUFFER(0x8A11),
923     GL_UNIFORM_BUFFER_BINDING(0x8A28),
924     GL_UNIFORM_BUFFER_START(0x8A29),
925     GL_UNIFORM_BUFFER_SIZE(0x8A2A),
926     GL_MAX_VERTEX_UNIFORM_BLOCKS(0x8A2B),
927     GL_MAX_FRAGMENT_UNIFORM_BLOCKS(0x8A2D),
928     GL_MAX_COMBINED_UNIFORM_BLOCKS(0x8A2E),
929     GL_MAX_UNIFORM_BUFFER_BINDINGS(0x8A2F),
930     GL_MAX_UNIFORM_BLOCK_SIZE(0x8A30),
931     GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS(0x8A31),
932     GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS(0x8A33),
933     GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT(0x8A34),
934     GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH(0x8A35),
935     GL_ACTIVE_UNIFORM_BLOCKS(0x8A36),
936     GL_UNIFORM_TYPE(0x8A37),
937     GL_UNIFORM_SIZE(0x8A38),
938     GL_UNIFORM_NAME_LENGTH(0x8A39),
939     GL_UNIFORM_BLOCK_INDEX(0x8A3A),
940     GL_UNIFORM_OFFSET(0x8A3B),
941     GL_UNIFORM_ARRAY_STRIDE(0x8A3C),
942     GL_UNIFORM_MATRIX_STRIDE(0x8A3D),
943     GL_UNIFORM_IS_ROW_MAJOR(0x8A3E),
944     GL_UNIFORM_BLOCK_BINDING(0x8A3F),
945     GL_UNIFORM_BLOCK_DATA_SIZE(0x8A40),
946     GL_UNIFORM_BLOCK_NAME_LENGTH(0x8A41),
947     GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS(0x8A42),
948     GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES(0x8A43),
949     GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER(0x8A44),
950     GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER(0x8A46),
951     GL_MAX_VERTEX_OUTPUT_COMPONENTS(0x9122),
952     GL_MAX_FRAGMENT_INPUT_COMPONENTS(0x9125),
953     GL_MAX_SERVER_WAIT_TIMEOUT(0x9111),
954     GL_OBJECT_TYPE(0x9112),
955     GL_SYNC_CONDITION(0x9113),
956     GL_SYNC_STATUS(0x9114),
957     GL_SYNC_FLAGS(0x9115),
958     GL_SYNC_FENCE(0x9116),
959     GL_SYNC_GPU_COMMANDS_COMPLETE(0x9117),
960     GL_UNSIGNALED(0x9118),
961     GL_SIGNALED(0x9119),
962     GL_ALREADY_SIGNALED(0x911A),
963     GL_TIMEOUT_EXPIRED(0x911B),
964     GL_CONDITION_SATISFIED(0x911C),
965     GL_WAIT_FAILED(0x911D),
966     GL_SYNC_FLUSH_COMMANDS_BIT(0x00000001),
967     GL_TIMEOUT_IGNORED(0xFFFFFFFFFFFFFFFFl),
968     GL_VERTEX_ATTRIB_ARRAY_DIVISOR(0x88FE),
969     GL_ANY_SAMPLES_PASSED(0x8C2F),
970     GL_ANY_SAMPLES_PASSED_CONSERVATIVE(0x8D6A),
971     GL_SAMPLER_BINDING(0x8919),
972     GL_RGB10_A2UI(0x906F),
973     GL_TEXTURE_SWIZZLE_R(0x8E42),
974     GL_TEXTURE_SWIZZLE_G(0x8E43),
975     GL_TEXTURE_SWIZZLE_B(0x8E44),
976     GL_TEXTURE_SWIZZLE_A(0x8E45),
977     GL_GREEN(0x1904),
978     GL_BLUE(0x1905),
979     GL_INT_2_10_10_10_REV(0x8D9F),
980     GL_TRANSFORM_FEEDBACK(0x8E22),
981     GL_TRANSFORM_FEEDBACK_PAUSED(0x8E23),
982     GL_TRANSFORM_FEEDBACK_ACTIVE(0x8E24),
983     GL_TRANSFORM_FEEDBACK_BINDING(0x8E25),
984     GL_PROGRAM_BINARY_RETRIEVABLE_HINT(0x8257),
985     GL_COMPRESSED_R11_EAC(0x9270),
986     GL_COMPRESSED_SIGNED_R11_EAC(0x9271),
987     GL_COMPRESSED_RG11_EAC(0x9272),
988     GL_COMPRESSED_SIGNED_RG11_EAC(0x9273),
989     GL_COMPRESSED_RGB8_ETC2(0x9274),
990     GL_COMPRESSED_SRGB8_ETC2(0x9275),
991     GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2(0x9276),
992     GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2(0x9277),
993     GL_COMPRESSED_RGBA8_ETC2_EAC(0x9278),
994     GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC(0x9279),
995     GL_TEXTURE_IMMUTABLE_FORMAT(0x912F),
996     GL_MAX_ELEMENT_INDEX(0x8D6B),
997     GL_NUM_SAMPLE_COUNTS(0x9380),
998     GL_TEXTURE_IMMUTABLE_LEVELS(0x82DF),
999 
1000     GL_ALL_SHADER_BITS_EXT(0xFFFFFFFF),
1001     ;
1002 
1003     public final long value;
GLEnum(final long value)1004     GLEnum(final long value) {
1005         this.value = value;
1006     }
1007 
1008     private static final java.util.HashMap<Long, GLEnum> reverseMap = new java.util.HashMap<Long, GLEnum>();
1009     static {
1010         for (GLEnum e : GLEnum.values())
reverseMap.put(e.value, e)1011         reverseMap.put(e.value, e);
1012     }
1013 
valueOf(final long value)1014     public static GLEnum valueOf(final long value) {
1015         return reverseMap.get(value);
1016     }
1017 }
1018