Home | History | Annotate | Download | only in gltrace
      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_POINTS(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_TEXTURE_MAX_LEVEL_APPLE(0x813D),
    311     GL_GENERATE_MIPMAP(0x8191),
    312     GL_GENERATE_MIPMAP_HINT(0x8192),
    313     GL_DEPTH_COMPONENT16(0x81A5),
    314     GL_DEPTH_COMPONENT24(0x81A6),
    315     GL_DEPTH_COMPONENT32(0x81A7),
    316     GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT(0x8210),
    317     GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT(0x8211),
    318     GL_RG_EXT(0x8227),
    319     GL_R8_EXT(0x8229),
    320     GL_RG8_EXT(0x822B),
    321     GL_R16F_EXT(0x822D),
    322     GL_RG16F_EXT(0x822F),
    323     GL_LOSE_CONTEXT_ON_RESET_EXT(0x8252),
    324     GL_GUILTY_CONTEXT_RESET_EXT(0x8253),
    325     GL_INNOCENT_CONTEXT_RESET_EXT(0x8254),
    326     GL_UNKNOWN_CONTEXT_RESET_EXT(0x8255),
    327     GL_RESET_NOTIFICATION_STRATEGY_EXT(0x8256),
    328     GL_PROGRAM_SEPARABLE_EXT(0x8258),
    329     GL_ACTIVE_PROGRAM_EXT(0x8259),
    330     GL_PROGRAM_PIPELINE_BINDING_EXT(0x825A),
    331     GL_NO_RESET_NOTIFICATION_EXT(0x8261),
    332     GL_UNSIGNED_SHORT_5_6_5(0x8363),
    333     GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT(0x8365),
    334     GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT(0x8366),
    335     GL_UNSIGNED_INT_2_10_10_10_REV_EXT(0x8368),
    336     GL_MIRRORED_REPEAT(0x8370),
    337     GL_COMPRESSED_RGB_S3TC_DXT1_EXT(0x83F0),
    338     GL_COMPRESSED_RGBA_S3TC_DXT1_EXT(0x83F1),
    339     GL_ALIASED_POINT_SIZE_RANGE(0x846D),
    340     GL_ALIASED_LINE_WIDTH_RANGE(0x846E),
    341     GL_TEXTURE0(0x84C0),
    342     GL_TEXTURE1(0x84C1),
    343     GL_TEXTURE2(0x84C2),
    344     GL_TEXTURE3(0x84C3),
    345     GL_TEXTURE4(0x84C4),
    346     GL_TEXTURE5(0x84C5),
    347     GL_TEXTURE6(0x84C6),
    348     GL_TEXTURE7(0x84C7),
    349     GL_TEXTURE8(0x84C8),
    350     GL_TEXTURE9(0x84C9),
    351     GL_TEXTURE10(0x84CA),
    352     GL_TEXTURE11(0x84CB),
    353     GL_TEXTURE12(0x84CC),
    354     GL_TEXTURE13(0x84CD),
    355     GL_TEXTURE14(0x84CE),
    356     GL_TEXTURE15(0x84CF),
    357     GL_TEXTURE16(0x84D0),
    358     GL_TEXTURE17(0x84D1),
    359     GL_TEXTURE18(0x84D2),
    360     GL_TEXTURE19(0x84D3),
    361     GL_TEXTURE20(0x84D4),
    362     GL_TEXTURE21(0x84D5),
    363     GL_TEXTURE22(0x84D6),
    364     GL_TEXTURE23(0x84D7),
    365     GL_TEXTURE24(0x84D8),
    366     GL_TEXTURE25(0x84D9),
    367     GL_TEXTURE26(0x84DA),
    368     GL_TEXTURE27(0x84DB),
    369     GL_TEXTURE28(0x84DC),
    370     GL_TEXTURE29(0x84DD),
    371     GL_TEXTURE30(0x84DE),
    372     GL_TEXTURE31(0x84DF),
    373     GL_ACTIVE_TEXTURE(0x84E0),
    374     GL_CLIENT_ACTIVE_TEXTURE(0x84E1),
    375     GL_MAX_TEXTURE_UNITS(0x84E2),
    376     GL_SUBTRACT(0x84E7),
    377     GL_MAX_RENDERBUFFER_SIZE(0x84E8),
    378     GL_ALL_COMPLETED_NV(0x84F2),
    379     GL_FENCE_STATUS_NV(0x84F3),
    380     GL_FENCE_CONDITION_NV(0x84F4),
    381     GL_DEPTH_STENCIL(0x84F9),
    382     GL_UNSIGNED_INT_24_8(0x84FA),
    383     GL_MAX_TEXTURE_LOD_BIAS_EXT(0x84FD),
    384     GL_TEXTURE_MAX_ANISOTROPY_EXT(0x84FE),
    385     GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT(0x84FF),
    386     GL_TEXTURE_FILTER_CONTROL_EXT(0x8500),
    387     GL_TEXTURE_LOD_BIAS_EXT(0x8501),
    388     GL_INCR_WRAP(0x8507),
    389     GL_DECR_WRAP(0x8508),
    390     GL_NORMAL_MAP(0x8511),
    391     GL_REFLECTION_MAP(0x8512),
    392     GL_TEXTURE_CUBE_MAP(0x8513),
    393     GL_TEXTURE_BINDING_CUBE_MAP(0x8514),
    394     GL_TEXTURE_CUBE_MAP_POSITIVE_X(0x8515),
    395     GL_TEXTURE_CUBE_MAP_NEGATIVE_X(0x8516),
    396     GL_TEXTURE_CUBE_MAP_POSITIVE_Y(0x8517),
    397     GL_TEXTURE_CUBE_MAP_NEGATIVE_Y(0x8518),
    398     GL_TEXTURE_CUBE_MAP_POSITIVE_Z(0x8519),
    399     GL_TEXTURE_CUBE_MAP_NEGATIVE_Z(0x851A),
    400     GL_MAX_CUBE_MAP_TEXTURE_SIZE(0x851C),
    401     GL_COMBINE(0x8570),
    402     GL_COMBINE_RGB(0x8571),
    403     GL_COMBINE_ALPHA(0x8572),
    404     GL_RGB_SCALE(0x8573),
    405     GL_ADD_SIGNED(0x8574),
    406     GL_INTERPOLATE(0x8575),
    407     GL_CONSTANT(0x8576),
    408     GL_PRIMARY_COLOR(0x8577),
    409     GL_PREVIOUS(0x8578),
    410     GL_SRC0_RGB(0x8580),
    411     GL_SRC1_RGB(0x8581),
    412     GL_SRC2_RGB(0x8582),
    413     GL_SRC0_ALPHA(0x8588),
    414     GL_SRC1_ALPHA(0x8589),
    415     GL_SRC2_ALPHA(0x858A),
    416     GL_OPERAND0_RGB(0x8590),
    417     GL_OPERAND1_RGB(0x8591),
    418     GL_OPERAND2_RGB(0x8592),
    419     GL_OPERAND0_ALPHA(0x8598),
    420     GL_OPERAND1_ALPHA(0x8599),
    421     GL_OPERAND2_ALPHA(0x859A),
    422     GL_VERTEX_ARRAY_BINDING(0x85B5),
    423     GL_UNSIGNED_SHORT_8_8_APPLE(0x85BA),
    424     GL_UNSIGNED_SHORT_8_8_REV_APPLE(0x85BB),
    425     GL_VERTEX_ATTRIB_ARRAY_ENABLED(0x8622),
    426     GL_VERTEX_ATTRIB_ARRAY_SIZE(0x8623),
    427     GL_VERTEX_ATTRIB_ARRAY_STRIDE(0x8624),
    428     GL_VERTEX_ATTRIB_ARRAY_TYPE(0x8625),
    429     GL_CURRENT_VERTEX_ATTRIB(0x8626),
    430     GL_VERTEX_ATTRIB_ARRAY_POINTER(0x8645),
    431     GL_NUM_COMPRESSED_TEXTURE_FORMATS(0x86A2),
    432     GL_COMPRESSED_TEXTURE_FORMATS(0x86A3),
    433     GL_MAX_VERTEX_UNITS(0x86A4),
    434     GL_WEIGHT_ARRAY_TYPE(0x86A9),
    435     GL_WEIGHT_ARRAY_STRIDE(0x86AA),
    436     GL_WEIGHT_ARRAY_SIZE(0x86AB),
    437     GL_WEIGHT_ARRAY_POINTER(0x86AC),
    438     GL_WEIGHT_ARRAY(0x86AD),
    439     GL_DOT3_RGB(0x86AE),
    440     GL_DOT3_RGBA(0x86AF),
    441     GL_Z400_BINARY_AMD(0x8740),
    442     GL_PROGRAM_BINARY_LENGTH(0x8741),
    443     GL_BUFFER_SIZE(0x8764),
    444     GL_BUFFER_USAGE(0x8765),
    445     GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD(0x87EE),
    446     GL_3DC_X_AMD(0x87F9),
    447     GL_3DC_XY_AMD(0x87FA),
    448     GL_NUM_PROGRAM_BINARY_FORMATS(0x87FE),
    449     GL_PROGRAM_BINARY_FORMATS(0x87FF),
    450     GL_STENCIL_BACK_FUNC(0x8800),
    451     GL_STENCIL_BACK_FAIL(0x8801),
    452     GL_STENCIL_BACK_PASS_DEPTH_FAIL(0x8802),
    453     GL_STENCIL_BACK_PASS_DEPTH_PASS(0x8803),
    454     GL_RGBA32F_EXT(0x8814),
    455     GL_RGB32F_EXT(0x8815),
    456     GL_ALPHA32F_EXT(0x8816),
    457     GL_LUMINANCE32F_EXT(0x8818),
    458     GL_LUMINANCE_ALPHA32F_EXT(0x8819),
    459     GL_RGBA16F_EXT(0x881A),
    460     GL_RGB16F_EXT(0x881B),
    461     GL_ALPHA16F_EXT(0x881C),
    462     GL_LUMINANCE16F_EXT(0x881E),
    463     GL_LUMINANCE_ALPHA16F_EXT(0x881F),
    464     GL_WRITEONLY_RENDERING_QCOM(0x8823),
    465     GL_MAX_DRAW_BUFFERS_NV(0x8824),
    466     GL_DRAW_BUFFER0_NV(0x8825),
    467     GL_DRAW_BUFFER1_NV(0x8826),
    468     GL_DRAW_BUFFER2_NV(0x8827),
    469     GL_DRAW_BUFFER3_NV(0x8828),
    470     GL_DRAW_BUFFER4_NV(0x8829),
    471     GL_DRAW_BUFFER5_NV(0x882A),
    472     GL_DRAW_BUFFER6_NV(0x882B),
    473     GL_DRAW_BUFFER7_NV(0x882C),
    474     GL_DRAW_BUFFER8_NV(0x882D),
    475     GL_DRAW_BUFFER9_NV(0x882E),
    476     GL_DRAW_BUFFER10_NV(0x882F),
    477     GL_DRAW_BUFFER11_NV(0x8830),
    478     GL_DRAW_BUFFER12_NV(0x8831),
    479     GL_DRAW_BUFFER13_NV(0x8832),
    480     GL_DRAW_BUFFER14_NV(0x8833),
    481     GL_DRAW_BUFFER15_NV(0x8834),
    482     GL_BLEND_EQUATION_ALPHA(0x883D),
    483     GL_MATRIX_PALETTE(0x8840),
    484     GL_MAX_PALETTE_MATRICES(0x8842),
    485     GL_CURRENT_PALETTE_MATRIX(0x8843),
    486     GL_MATRIX_INDEX_ARRAY(0x8844),
    487     GL_MATRIX_INDEX_ARRAY_SIZE(0x8846),
    488     GL_MATRIX_INDEX_ARRAY_TYPE(0x8847),
    489     GL_MATRIX_INDEX_ARRAY_STRIDE(0x8848),
    490     GL_MATRIX_INDEX_ARRAY_POINTER(0x8849),
    491     GL_TEXTURE_COMPARE_MODE_EXT(0x884C),
    492     GL_TEXTURE_COMPARE_FUNC_EXT(0x884D),
    493     GL_COMPARE_REF_TO_TEXTURE_EXT(0x884E),
    494     GL_CURRENT_QUERY_EXT(0x8865),
    495     GL_QUERY_RESULT_EXT(0x8866),
    496     GL_QUERY_RESULT_AVAILABLE_EXT(0x8867),
    497     GL_POINT_SPRITE(0x8861),
    498     GL_COORD_REPLACE(0x8862),
    499     GL_MAX_VERTEX_ATTRIBS(0x8869),
    500     GL_VERTEX_ATTRIB_ARRAY_NORMALIZED(0x886A),
    501     GL_MAX_TEXTURE_IMAGE_UNITS(0x8872),
    502     GL_ARRAY_BUFFER(0x8892),
    503     GL_ELEMENT_ARRAY_BUFFER(0x8893),
    504     GL_ARRAY_BUFFER_BINDING(0x8894),
    505     GL_ELEMENT_ARRAY_BUFFER_BINDING(0x8895),
    506     GL_VERTEX_ARRAY_BUFFER_BINDING(0x8896),
    507     GL_NORMAL_ARRAY_BUFFER_BINDING(0x8897),
    508     GL_COLOR_ARRAY_BUFFER_BINDING(0x8898),
    509     GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING(0x889A),
    510     GL_WEIGHT_ARRAY_BUFFER_BINDING(0x889E),
    511     GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING(0x889F),
    512     GL_WRITE_ONLY(0x88B9),
    513     GL_BUFFER_ACCESS(0x88BB),
    514     GL_BUFFER_MAPPED(0x88BC),
    515     GL_BUFFER_MAP_POINTER(0x88BD),
    516     GL_STREAM_DRAW(0x88E0),
    517     GL_STATIC_DRAW(0x88E4),
    518     GL_DYNAMIC_DRAW(0x88E8),
    519     GL_DEPTH24_STENCIL8(0x88F0),
    520     GL_POINT_SIZE_ARRAY_TYPE(0x898A),
    521     GL_POINT_SIZE_ARRAY_STRIDE(0x898B),
    522     GL_POINT_SIZE_ARRAY_POINTER(0x898C),
    523     GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS(0x898D),
    524     GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS(0x898E),
    525     GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS(0x898F),
    526     GL_RGB_422_APPLE(0x8A1F),
    527     GL_PROGRAM_PIPELINE_OBJECT_EXT(0x8A4F),
    528     GL_FRAGMENT_SHADER(0x8B30),
    529     GL_VERTEX_SHADER(0x8B31),
    530     GL_PROGRAM_OBJECT_EXT(0x8B40),
    531     GL_SHADER_OBJECT_EXT(0x8B48),
    532     GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS(0x8B4C),
    533     GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS(0x8B4D),
    534     GL_SHADER_TYPE(0x8B4F),
    535     GL_FLOAT_VEC2(0x8B50),
    536     GL_FLOAT_VEC3(0x8B51),
    537     GL_FLOAT_VEC4(0x8B52),
    538     GL_INT_VEC2(0x8B53),
    539     GL_INT_VEC3(0x8B54),
    540     GL_INT_VEC4(0x8B55),
    541     GL_BOOL(0x8B56),
    542     GL_BOOL_VEC2(0x8B57),
    543     GL_BOOL_VEC3(0x8B58),
    544     GL_BOOL_VEC4(0x8B59),
    545     GL_FLOAT_MAT2(0x8B5A),
    546     GL_FLOAT_MAT3(0x8B5B),
    547     GL_FLOAT_MAT4(0x8B5C),
    548     GL_SAMPLER_2D(0x8B5E),
    549     GL_SAMPLER_3D(0x8B5F),
    550     GL_SAMPLER_CUBE(0x8B60),
    551     GL_SAMPLER_2D_SHADOW_EXT(0x8B62),
    552     GL_DELETE_STATUS(0x8B80),
    553     GL_COMPILE_STATUS(0x8B81),
    554     GL_LINK_STATUS(0x8B82),
    555     GL_VALIDATE_STATUS(0x8B83),
    556     GL_INFO_LOG_LENGTH(0x8B84),
    557     GL_ATTACHED_SHADERS(0x8B85),
    558     GL_ACTIVE_UNIFORMS(0x8B86),
    559     GL_ACTIVE_UNIFORM_MAX_LENGTH(0x8B87),
    560     GL_SHADER_SOURCE_LENGTH(0x8B88),
    561     GL_ACTIVE_ATTRIBUTES(0x8B89),
    562     GL_ACTIVE_ATTRIBUTE_MAX_LENGTH(0x8B8A),
    563     GL_FRAGMENT_SHADER_DERIVATIVE_HINT(0x8B8B),
    564     GL_SHADING_LANGUAGE_VERSION(0x8B8C),
    565     GL_CURRENT_PROGRAM(0x8B8D),
    566     GL_PALETTE4_RGB8(0x8B90),
    567     GL_PALETTE4_RGBA8(0x8B91),
    568     GL_PALETTE4_R5_G6_B5(0x8B92),
    569     GL_PALETTE4_RGBA4(0x8B93),
    570     GL_PALETTE4_RGB5_A1(0x8B94),
    571     GL_PALETTE8_RGB8(0x8B95),
    572     GL_PALETTE8_RGBA8(0x8B96),
    573     GL_PALETTE8_R5_G6_B5(0x8B97),
    574     GL_PALETTE8_RGBA4(0x8B98),
    575     GL_PALETTE8_RGB5_A1(0x8B99),
    576     GL_IMPLEMENTATION_COLOR_READ_TYPE(0x8B9A),
    577     GL_IMPLEMENTATION_COLOR_READ_FORMAT(0x8B9B),
    578     GL_POINT_SIZE_ARRAY(0x8B9C),
    579     GL_TEXTURE_CROP_RECT(0x8B9D),
    580     GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING(0x8B9E),
    581     GL_POINT_SIZE_ARRAY_BUFFER_BINDING(0x8B9F),
    582     GL_COUNTER_TYPE_AMD(0x8BC0),
    583     GL_COUNTER_RANGE_AMD(0x8BC1),
    584     GL_UNSIGNED_INT64_AMD(0x8BC2),
    585     GL_PERCENTAGE_AMD(0x8BC3),
    586     GL_PERFMON_RESULT_AVAILABLE_AMD(0x8BC4),
    587     GL_PERFMON_RESULT_SIZE_AMD(0x8BC5),
    588     GL_PERFMON_RESULT_AMD(0x8BC6),
    589     GL_TEXTURE_WIDTH_QCOM(0x8BD2),
    590     GL_TEXTURE_HEIGHT_QCOM(0x8BD3),
    591     GL_TEXTURE_DEPTH_QCOM(0x8BD4),
    592     GL_TEXTURE_INTERNAL_FORMAT_QCOM(0x8BD5),
    593     GL_TEXTURE_FORMAT_QCOM(0x8BD6),
    594     GL_TEXTURE_TYPE_QCOM(0x8BD7),
    595     GL_TEXTURE_IMAGE_VALID_QCOM(0x8BD8),
    596     GL_TEXTURE_NUM_LEVELS_QCOM(0x8BD9),
    597     GL_TEXTURE_TARGET_QCOM(0x8BDA),
    598     GL_TEXTURE_OBJECT_VALID_QCOM(0x8BDB),
    599     GL_STATE_RESTORE(0x8BDC),
    600     GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG(0x8C00),
    601     GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG(0x8C01),
    602     GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG(0x8C02),
    603     GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG(0x8C03),
    604     GL_MODULATE_COLOR_IMG(0x8C04),
    605     GL_RECIP_ADD_SIGNED_ALPHA_IMG(0x8C05),
    606     GL_TEXTURE_ALPHA_MODULATE_IMG(0x8C06),
    607     GL_FACTOR_ALPHA_MODULATE_IMG(0x8C07),
    608     GL_FRAGMENT_ALPHA_MODULATE_IMG(0x8C08),
    609     GL_ADD_BLEND_IMG(0x8C09),
    610     GL_SGX_BINARY_IMG(0x8C0A),
    611     GL_UNSIGNED_NORMALIZED_EXT(0x8C17),
    612     GL_ANY_SAMPLES_PASSED_EXT(0x8C2F),
    613     GL_SRGB_EXT(0x8C40),
    614     GL_SRGB_ALPHA_EXT(0x8C42),
    615     GL_SRGB8_ALPHA8_EXT(0x8C43),
    616     GL_ATC_RGB_AMD(0x8C92),
    617     GL_ATC_RGBA_EXPLICIT_ALPHA_AMD(0x8C93),
    618     GL_STENCIL_BACK_REF(0x8CA3),
    619     GL_STENCIL_BACK_VALUE_MASK(0x8CA4),
    620     GL_STENCIL_BACK_WRITEMASK(0x8CA5),
    621     GL_FRAMEBUFFER_BINDING(0x8CA6),
    622     GL_RENDERBUFFER_BINDING(0x8CA7),
    623     GL_READ_FRAMEBUFFER_APPLE(0x8CA8),
    624     GL_DRAW_FRAMEBUFFER_APPLE(0x8CA9),
    625     GL_READ_FRAMEBUFFER_BINDING_APPLE(0x8CAA),
    626     GL_RENDERBUFFER_SAMPLES_APPLE(0x8CAB),
    627     GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE(0x8CD0),
    628     GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME(0x8CD1),
    629     GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL(0x8CD2),
    630     GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE(0x8CD3),
    631     GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET(0x8CD4),
    632     GL_FRAMEBUFFER_COMPLETE(0x8CD5),
    633     GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT(0x8CD6),
    634     GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT(0x8CD7),
    635     GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS(0x8CD9),
    636     GL_FRAMEBUFFER_INCOMPLETE_FORMATS(0x8CDA),
    637     GL_FRAMEBUFFER_UNSUPPORTED(0x8CDD),
    638     GL_MAX_COLOR_ATTACHMENTS_NV(0x8CDF),
    639     GL_COLOR_ATTACHMENT0(0x8CE0),
    640     GL_COLOR_ATTACHMENT1_NV(0x8CE1),
    641     GL_COLOR_ATTACHMENT2_NV(0x8CE2),
    642     GL_COLOR_ATTACHMENT3_NV(0x8CE3),
    643     GL_COLOR_ATTACHMENT4_NV(0x8CE4),
    644     GL_COLOR_ATTACHMENT5_NV(0x8CE5),
    645     GL_COLOR_ATTACHMENT6_NV(0x8CE6),
    646     GL_COLOR_ATTACHMENT7_NV(0x8CE7),
    647     GL_COLOR_ATTACHMENT8_NV(0x8CE8),
    648     GL_COLOR_ATTACHMENT9_NV(0x8CE9),
    649     GL_COLOR_ATTACHMENT10_NV(0x8CEA),
    650     GL_COLOR_ATTACHMENT11_NV(0x8CEB),
    651     GL_COLOR_ATTACHMENT12_NV(0x8CEC),
    652     GL_COLOR_ATTACHMENT13_NV(0x8CED),
    653     GL_COLOR_ATTACHMENT14_NV(0x8CEE),
    654     GL_COLOR_ATTACHMENT15_NV(0x8CEF),
    655     GL_DEPTH_ATTACHMENT(0x8D00),
    656     GL_STENCIL_ATTACHMENT(0x8D20),
    657     GL_FRAMEBUFFER(0x8D40),
    658     GL_RENDERBUFFER(0x8D41),
    659     GL_RENDERBUFFER_WIDTH(0x8D42),
    660     GL_RENDERBUFFER_HEIGHT(0x8D43),
    661     GL_RENDERBUFFER_INTERNAL_FORMAT(0x8D44),
    662     GL_STENCIL_INDEX1(0x8D46),
    663     GL_STENCIL_INDEX4(0x8D47),
    664     GL_STENCIL_INDEX8(0x8D48),
    665     GL_RENDERBUFFER_RED_SIZE(0x8D50),
    666     GL_RENDERBUFFER_GREEN_SIZE(0x8D51),
    667     GL_RENDERBUFFER_BLUE_SIZE(0x8D52),
    668     GL_RENDERBUFFER_ALPHA_SIZE(0x8D53),
    669     GL_RENDERBUFFER_DEPTH_SIZE(0x8D54),
    670     GL_RENDERBUFFER_STENCIL_SIZE(0x8D55),
    671     GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE(0x8D56),
    672     GL_MAX_SAMPLES_APPLE(0x8D57),
    673     GL_TEXTURE_GEN_STR(0x8D60),
    674     GL_HALF_FLOAT(0x8D61),
    675     GL_RGB565(0x8D62),
    676     GL_ETC1_RGB8(0x8D64),
    677     GL_TEXTURE_EXTERNAL(0x8D65),
    678     GL_SAMPLER_EXTERNAL(0x8D66),
    679     GL_TEXTURE_BINDING_EXTERNAL(0x8D67),
    680     GL_REQUIRED_TEXTURE_IMAGE_UNITS(0x8D68),
    681     GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT(0x8D6A),
    682     GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT(0x8D6C),
    683     GL_LOW_FLOAT(0x8DF0),
    684     GL_MEDIUM_FLOAT(0x8DF1),
    685     GL_HIGH_FLOAT(0x8DF2),
    686     GL_LOW_INT(0x8DF3),
    687     GL_MEDIUM_INT(0x8DF4),
    688     GL_HIGH_INT(0x8DF5),
    689     GL_UNSIGNED_INT_10_10_10_2(0x8DF6),
    690     GL_INT_10_10_10_2(0x8DF7),
    691     GL_SHADER_BINARY_FORMATS(0x8DF8),
    692     GL_NUM_SHADER_BINARY_FORMATS(0x8DF9),
    693     GL_SHADER_COMPILER(0x8DFA),
    694     GL_MAX_VERTEX_UNIFORM_VECTORS(0x8DFB),
    695     GL_MAX_VARYING_VECTORS(0x8DFC),
    696     GL_MAX_FRAGMENT_UNIFORM_VECTORS(0x8DFD),
    697     GL_DEPTH_COMPONENT16_NONLINEAR_NV(0x8E2C),
    698     GL_COVERAGE_COMPONENT_NV(0x8ED0),
    699     GL_COVERAGE_COMPONENT4_NV(0x8ED1),
    700     GL_COVERAGE_ATTACHMENT_NV(0x8ED2),
    701     GL_COVERAGE_BUFFERS_NV(0x8ED3),
    702     GL_COVERAGE_SAMPLES_NV(0x8ED4),
    703     GL_COVERAGE_ALL_FRAGMENTS_NV(0x8ED5),
    704     GL_COVERAGE_EDGE_FRAGMENTS_NV(0x8ED6),
    705     GL_COVERAGE_AUTOMATIC_NV(0x8ED7),
    706     GL_MALI_SHADER_BINARY_ARM(0x8F60),
    707     GL_PERFMON_GLOBAL_MODE_QCOM(0x8FA0),
    708     GL_SHADER_BINARY_VIV(0x8FC4),
    709     GL_CONTEXT_ROBUST_ACCESS_EXT(0x90F3),
    710     GL_TEXTURE_IMMUTABLE_FORMAT_EXT(0x912F),
    711     GL_SGX_PROGRAM_BINARY_IMG(0x9130),
    712     GL_RENDERBUFFER_SAMPLES_EXT(0x9133),
    713     GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT(0x9134),
    714     GL_MAX_SAMPLES_EXT(0x9135),
    715     GL_TEXTURE_SAMPLES_IMG(0x9136),
    716     GL_BUFFER_OBJECT_EXT(0x9151),
    717     GL_QUERY_OBJECT_EXT(0x9153),
    718     GL_VERTEX_ARRAY_OBJECT_EXT(0x9154),
    719     GL_SHADER_BINARY_DMP(0x9250),
    720     GL_BGRA8_EXT(0x93A1),
    721     GL_ALL_SHADER_BITS_EXT(0xFFFFFFFF),
    722     ;
    723 
    724     public final int value;
    725     GLEnum(final int value) {
    726         this.value = value;
    727     }
    728 
    729     private static final java.util.HashMap<Integer, GLEnum> reverseMap = new java.util.HashMap<Integer, GLEnum>();
    730     static {
    731         for (GLEnum e : GLEnum.values())
    732         reverseMap.put(e.value, e);
    733     }
    734 
    735     public static GLEnum valueOf(final int value) {
    736         return reverseMap.get(value);
    737     }
    738 }
    739