Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] View of /src/opengl/ext-consts.sml
ViewVC logotype

View of /src/opengl/ext-consts.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 197 - (download) (annotate)
Sat Jun 14 20:22:46 2008 UTC (11 years, 5 months ago) by jhr
File size: 119660 byte(s)
  Split out extension constants into their own module.
(* ext-consts.sml
 *
 * COPYRIGHT (c) 2008 John Reppy (http://cs.uchicago.edu/~jhr)
 * All rights reserved.
 *
 * These are the OpenGL constants taken from the glext.h header file.
 *)

structure EXTConsts =
  struct

    type glenum = GLTypes.glenum

  (* GL_ARB_multitexture *)
    val GL_TEXTURE0_ARB : glenum =                   0wx84C0
    val GL_TEXTURE1_ARB : glenum =                   0wx84C1
    val GL_TEXTURE2_ARB : glenum =                   0wx84C2
    val GL_TEXTURE3_ARB : glenum =                   0wx84C3
    val GL_TEXTURE4_ARB : glenum =                   0wx84C4
    val GL_TEXTURE5_ARB : glenum =                   0wx84C5
    val GL_TEXTURE6_ARB : glenum =                   0wx84C6
    val GL_TEXTURE7_ARB : glenum =                   0wx84C7
    val GL_TEXTURE8_ARB : glenum =                   0wx84C8
    val GL_TEXTURE9_ARB : glenum =                   0wx84C9
    val GL_TEXTURE10_ARB : glenum =                  0wx84CA
    val GL_TEXTURE11_ARB : glenum =                  0wx84CB
    val GL_TEXTURE12_ARB : glenum =                  0wx84CC
    val GL_TEXTURE13_ARB : glenum =                  0wx84CD
    val GL_TEXTURE14_ARB : glenum =                  0wx84CE
    val GL_TEXTURE15_ARB : glenum =                  0wx84CF
    val GL_TEXTURE16_ARB : glenum =                  0wx84D0
    val GL_TEXTURE17_ARB : glenum =                  0wx84D1
    val GL_TEXTURE18_ARB : glenum =                  0wx84D2
    val GL_TEXTURE19_ARB : glenum =                  0wx84D3
    val GL_TEXTURE20_ARB : glenum =                  0wx84D4
    val GL_TEXTURE21_ARB : glenum =                  0wx84D5
    val GL_TEXTURE22_ARB : glenum =                  0wx84D6
    val GL_TEXTURE23_ARB : glenum =                  0wx84D7
    val GL_TEXTURE24_ARB : glenum =                  0wx84D8
    val GL_TEXTURE25_ARB : glenum =                  0wx84D9
    val GL_TEXTURE26_ARB : glenum =                  0wx84DA
    val GL_TEXTURE27_ARB : glenum =                  0wx84DB
    val GL_TEXTURE28_ARB : glenum =                  0wx84DC
    val GL_TEXTURE29_ARB : glenum =                  0wx84DD
    val GL_TEXTURE30_ARB : glenum =                  0wx84DE
    val GL_TEXTURE31_ARB : glenum =                  0wx84DF
    val GL_ACTIVE_TEXTURE_ARB : glenum =             0wx84E0
    val GL_CLIENT_ACTIVE_TEXTURE_ARB : glenum =      0wx84E1
    val GL_MAX_TEXTURE_UNITS_ARB : glenum =          0wx84E2

  (* GL_ARB_transpose_matrix *)
    val GL_TRANSPOSE_MODELVIEW_MATRIX_ARB : glenum = 0wx84E3
    val GL_TRANSPOSE_PROJECTION_MATRIX_ARB : glenum = 0wx84E4
    val GL_TRANSPOSE_TEXTURE_MATRIX_ARB : glenum =   0wx84E5
    val GL_TRANSPOSE_COLOR_MATRIX_ARB : glenum =     0wx84E6

  (* GL_ARB_multisample *)
    val GL_MULTISAMPLE_ARB : glenum =                0wx809D
    val GL_SAMPLE_ALPHA_TO_COVERAGE_ARB : glenum =   0wx809E
    val GL_SAMPLE_ALPHA_TO_ONE_ARB : glenum =        0wx809F
    val GL_SAMPLE_COVERAGE_ARB : glenum =            0wx80A0
    val GL_SAMPLE_BUFFERS_ARB : glenum =             0wx80A8
    val GL_SAMPLES_ARB : glenum =                    0wx80A9
    val GL_SAMPLE_COVERAGE_VALUE_ARB : glenum =      0wx80AA
    val GL_SAMPLE_COVERAGE_INVERT_ARB : glenum =     0wx80AB
    val GL_MULTISAMPLE_BIT_ARB : glenum =            0wx20000000

  (* GL_ARB_texture_cube_map *)
    val GL_NORMAL_MAP_ARB : glenum =                 0wx8511
    val GL_REFLECTION_MAP_ARB : glenum =             0wx8512
    val GL_TEXTURE_CUBE_MAP_ARB : glenum =           0wx8513
    val GL_TEXTURE_BINDING_CUBE_MAP_ARB : glenum =   0wx8514
    val GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB : glenum = 0wx8515
    val GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB : glenum = 0wx8516
    val GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB : glenum = 0wx8517
    val GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB : glenum = 0wx8518
    val GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB : glenum = 0wx8519
    val GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB : glenum = 0wx851A
    val GL_PROXY_TEXTURE_CUBE_MAP_ARB : glenum =     0wx851B
    val GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB : glenum =  0wx851C

  (* GL_ARB_texture_compression *)
    val GL_COMPRESSED_ALPHA_ARB : glenum =           0wx84E9
    val GL_COMPRESSED_LUMINANCE_ARB : glenum =       0wx84EA
    val GL_COMPRESSED_LUMINANCE_ALPHA_ARB : glenum = 0wx84EB
    val GL_COMPRESSED_INTENSITY_ARB : glenum =       0wx84EC
    val GL_COMPRESSED_RGB_ARB : glenum =             0wx84ED
    val GL_COMPRESSED_RGBA_ARB : glenum =            0wx84EE
    val GL_TEXTURE_COMPRESSION_HINT_ARB : glenum =   0wx84EF
    val GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB : glenum = 0wx86A0
    val GL_TEXTURE_COMPRESSED_ARB : glenum =         0wx86A1
    val GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB : glenum = 0wx86A2
    val GL_COMPRESSED_TEXTURE_FORMATS_ARB : glenum = 0wx86A3

  (* GL_ARB_vertex_blend *)
    val GL_MAX_VERTEX_UNITS_ARB : glenum =           0wx86A4
    val GL_ACTIVE_VERTEX_UNITS_ARB : glenum =        0wx86A5
    val GL_WEIGHT_SUM_UNITY_ARB : glenum =           0wx86A6
    val GL_VERTEX_BLEND_ARB : glenum =               0wx86A7
    val GL_CURRENT_WEIGHT_ARB : glenum =             0wx86A8
    val GL_WEIGHT_ARRAY_TYPE_ARB : glenum =          0wx86A9
    val GL_WEIGHT_ARRAY_STRIDE_ARB : glenum =        0wx86AA
    val GL_WEIGHT_ARRAY_SIZE_ARB : glenum =          0wx86AB
    val GL_WEIGHT_ARRAY_POINTER_ARB : glenum =       0wx86AC
    val GL_WEIGHT_ARRAY_ARB : glenum =               0wx86AD
    val GL_MODELVIEW0_ARB : glenum =                 0wx1700
    val GL_MODELVIEW1_ARB : glenum =                 0wx850A
    val GL_MODELVIEW2_ARB : glenum =                 0wx8722
    val GL_MODELVIEW3_ARB : glenum =                 0wx8723
    val GL_MODELVIEW4_ARB : glenum =                 0wx8724
    val GL_MODELVIEW5_ARB : glenum =                 0wx8725
    val GL_MODELVIEW6_ARB : glenum =                 0wx8726
    val GL_MODELVIEW7_ARB : glenum =                 0wx8727
    val GL_MODELVIEW8_ARB : glenum =                 0wx8728
    val GL_MODELVIEW9_ARB : glenum =                 0wx8729
    val GL_MODELVIEW10_ARB : glenum =                0wx872A
    val GL_MODELVIEW11_ARB : glenum =                0wx872B
    val GL_MODELVIEW12_ARB : glenum =                0wx872C
    val GL_MODELVIEW13_ARB : glenum =                0wx872D
    val GL_MODELVIEW14_ARB : glenum =                0wx872E
    val GL_MODELVIEW15_ARB : glenum =                0wx872F
    val GL_MODELVIEW16_ARB : glenum =                0wx8730
    val GL_MODELVIEW17_ARB : glenum =                0wx8731
    val GL_MODELVIEW18_ARB : glenum =                0wx8732
    val GL_MODELVIEW19_ARB : glenum =                0wx8733
    val GL_MODELVIEW20_ARB : glenum =                0wx8734
    val GL_MODELVIEW21_ARB : glenum =                0wx8735
    val GL_MODELVIEW22_ARB : glenum =                0wx8736
    val GL_MODELVIEW23_ARB : glenum =                0wx8737
    val GL_MODELVIEW24_ARB : glenum =                0wx8738
    val GL_MODELVIEW25_ARB : glenum =                0wx8739
    val GL_MODELVIEW26_ARB : glenum =                0wx873A
    val GL_MODELVIEW27_ARB : glenum =                0wx873B
    val GL_MODELVIEW28_ARB : glenum =                0wx873C
    val GL_MODELVIEW29_ARB : glenum =                0wx873D
    val GL_MODELVIEW30_ARB : glenum =                0wx873E
    val GL_MODELVIEW31_ARB : glenum =                0wx873F

  (* GL_ARB_occlusion_query *)
    val GL_SAMPLES_PASSED_ARB : glenum =             0wx8914
    val GL_QUERY_COUNTER_BITS_ARB : glenum =         0wx8864
    val GL_CURRENT_QUERY_ARB : glenum =              0wx8865
    val GL_QUERY_RESULT_ARB : glenum =               0wx8866
    val GL_QUERY_RESULT_AVAILABLE_ARB : glenum =     0wx8867

  (* GL_ARB_texture_border_clamp *)
    val GL_CLAMP_TO_BORDER_ARB : glenum =           0wx812D

  (* GL_ARB_depth_texture *)
    val GL_DEPTH_COMPONENT16_ARB : glenum =          0wx81A5
    val GL_DEPTH_COMPONENT24_ARB : glenum =          0wx81A6
    val GL_DEPTH_COMPONENT32_ARB : glenum =          0wx81A7
    val GL_TEXTURE_DEPTH_SIZE_ARB : glenum =         0wx884A
    val GL_DEPTH_TEXTURE_MODE_ARB : glenum =         0wx884B

  (* GL_ARB_shading_language_100 *)
    val GL_SHADING_LANGUAGE_VERSION_ARB : glenum =	0wx8B8C

  (* GL_ARB_shadow *)
    val GL_TEXTURE_COMPARE_MODE_ARB : glenum =	0wx884C
    val GL_TEXTURE_COMPARE_FUNC_ARB : glenum =	0wx884D
    val GL_COMPARE_R_TO_TEXTURE_ARB : glenum =	0wx884E

  (* GL_ARB_shadow_ambient *)
    val GL_TEXTURE_COMPARE_FAIL_VALUE_ARB : glenum = 0wx80BF

  (* GL_ARB_texture_env_combine *)
    val GL_COMBINE_ARB : glenum =                    0wx8570
    val GL_COMBINE_RGB_ARB : glenum =                0wx8571
    val GL_COMBINE_ALPHA_ARB : glenum =              0wx8572
    val GL_RGB_SCALE_ARB : glenum =                  0wx8573
    val GL_ADD_SIGNED_ARB : glenum =                 0wx8574
    val GL_INTERPOLATE_ARB : glenum =                0wx8575
    val GL_CONSTANT_ARB : glenum =                   0wx8576
    val GL_PRIMARY_COLOR_ARB : glenum =              0wx8577
    val GL_PREVIOUS_ARB : glenum =                   0wx8578
    val GL_SUBTRACT_ARB : glenum =                   0wx84E7
    val GL_SOURCE0_RGB_ARB : glenum =                0wx8580
    val GL_SOURCE1_RGB_ARB : glenum =                0wx8581
    val GL_SOURCE2_RGB_ARB : glenum =                0wx8582
    val GL_SOURCE3_RGB_ARB : glenum =                0wx8583
    val GL_SOURCE4_RGB_ARB : glenum =                0wx8584
    val GL_SOURCE5_RGB_ARB : glenum =                0wx8585
    val GL_SOURCE6_RGB_ARB : glenum =                0wx8586
    val GL_SOURCE7_RGB_ARB : glenum =                0wx8587
    val GL_SOURCE0_ALPHA_ARB : glenum =              0wx8588
    val GL_SOURCE1_ALPHA_ARB : glenum =              0wx8589
    val GL_SOURCE2_ALPHA_ARB : glenum =              0wx858A
    val GL_SOURCE3_ALPHA_ARB : glenum =              0wx858B
    val GL_SOURCE4_ALPHA_ARB : glenum =              0wx858C
    val GL_SOURCE5_ALPHA_ARB : glenum =              0wx858D
    val GL_SOURCE6_ALPHA_ARB : glenum =              0wx858E
    val GL_SOURCE7_ALPHA_ARB : glenum =              0wx858F
    val GL_OPERAND0_RGB_ARB : glenum =               0wx8590
    val GL_OPERAND1_RGB_ARB : glenum =               0wx8591
    val GL_OPERAND2_RGB_ARB : glenum =               0wx8592
    val GL_OPERAND3_RGB_ARB : glenum =               0wx8593
    val GL_OPERAND4_RGB_ARB : glenum =               0wx8594
    val GL_OPERAND5_RGB_ARB : glenum =               0wx8595
    val GL_OPERAND6_RGB_ARB : glenum =               0wx8596
    val GL_OPERAND7_RGB_ARB : glenum =               0wx8597
    val GL_OPERAND0_ALPHA_ARB : glenum =             0wx8598
    val GL_OPERAND1_ALPHA_ARB : glenum =             0wx8599
    val GL_OPERAND2_ALPHA_ARB : glenum =             0wx859A
    val GL_OPERAND3_ALPHA_ARB : glenum =             0wx859B
    val GL_OPERAND4_ALPHA_ARB : glenum =             0wx859C
    val GL_OPERAND5_ALPHA_ARB : glenum =             0wx859D
    val GL_OPERAND6_ALPHA_ARB : glenum =             0wx859E
    val GL_OPERAND7_ALPHA_ARB : glenum =             0wx859F

  (* GL_ARB_texture_mirrored_repeat *)
    val GL_MIRRORED_REPEAT_ARB : glenum =            0wx8370

  (* GL_ARB_texture_env_dot3 *)
    val GL_DOT3_RGB_ARB : glenum =                   0wx86AE
    val GL_DOT3_RGBA_ARB : glenum =                  0wx86AF

  (* GL_ARB_point_parameters *)
    val GL_POINT_SIZE_MIN_ARB : glenum =                            0wx8126
    val GL_POINT_SIZE_MAX_ARB : glenum =                            0wx8127
    val GL_POINT_FADE_THRESHOLD_SIZE_ARB : glenum =                 0wx8128
    val GL_POINT_DISTANCE_ATTENUATION_ARB : glenum =                0wx8129

  (* GL_ARB_fragment_program *)
    val GL_FRAGMENT_PROGRAM_ARB : glenum =                         0wx8804
    val GL_PROGRAM_ALU_INSTRUCTIONS_ARB : glenum =                 0wx8805
    val GL_PROGRAM_TEX_INSTRUCTIONS_ARB : glenum =                 0wx8806
    val GL_PROGRAM_TEX_INDIRECTIONS_ARB : glenum =                 0wx8807
    val GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB : glenum =          0wx8808
    val GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB : glenum =          0wx8809
    val GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB : glenum =          0wx880A
    val GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB : glenum =             0wx880B
    val GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB : glenum =             0wx880C
    val GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB : glenum =             0wx880D
    val GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB : glenum =      0wx880E
    val GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB : glenum =      0wx880F
    val GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB : glenum =      0wx8810
    val GL_MAX_TEXTURE_COORDS_ARB : glenum =                       0wx8871
    val GL_MAX_TEXTURE_IMAGE_UNITS_ARB : glenum =                  0wx8872

  (* GL_ARB_vertex_program *)
    val GL_VERTEX_PROGRAM_ARB : glenum =                            0wx8620
    val GL_VERTEX_PROGRAM_POINT_SIZE_ARB : glenum =                 0wx8642
    val GL_VERTEX_PROGRAM_TWO_SIDE_ARB : glenum =                   0wx8643
    val GL_PROGRAM_FORMAT_ASCII_ARB : glenum =                      0wx8875
    val GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB : glenum =               0wx8622
    val GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB : glenum =                  0wx8623
    val GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB : glenum =                0wx8624
    val GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB : glenum =                  0wx8625
    val GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB : glenum =            0wx886A
    val GL_CURRENT_VERTEX_ATTRIB_ARB : glenum =                     0wx8626
    val GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB : glenum =               0wx8645
    val GL_PROGRAM_LENGTH_ARB : glenum =                            0wx8627
    val GL_PROGRAM_FORMAT_ARB : glenum =                            0wx8876
    val GL_PROGRAM_NAME_ARB : glenum =                              0wx8677
    val GL_PROGRAM_BINDING_ARB : glenum =                           0wx8677
    val GL_PROGRAM_INSTRUCTIONS_ARB : glenum =                      0wx88A0
    val GL_MAX_PROGRAM_INSTRUCTIONS_ARB : glenum =                  0wx88A1
    val GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB : glenum =               0wx88A2
    val GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB : glenum =           0wx88A3
    val GL_PROGRAM_TEMPORARIES_ARB : glenum =                       0wx88A4
    val GL_MAX_PROGRAM_TEMPORARIES_ARB : glenum =                   0wx88A5
    val GL_PROGRAM_NATIVE_TEMPORARIES_ARB : glenum =                0wx88A6
    val GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB : glenum =            0wx88A7
    val GL_PROGRAM_PARAMETERS_ARB : glenum =                        0wx88A8
    val GL_MAX_PROGRAM_PARAMETERS_ARB : glenum =                    0wx88A9
    val GL_PROGRAM_NATIVE_PARAMETERS_ARB : glenum =                 0wx88AA
    val GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB : glenum =             0wx88AB
    val GL_PROGRAM_ATTRIBS_ARB : glenum =                           0wx88AC
    val GL_MAX_PROGRAM_ATTRIBS_ARB : glenum =                       0wx88AD
    val GL_PROGRAM_NATIVE_ATTRIBS_ARB : glenum =                    0wx88AE
    val GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB : glenum =                0wx88AF
    val GL_PROGRAM_ADDRESS_REGISTERS_ARB : glenum =                 0wx88B0
    val GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB : glenum =             0wx88B1
    val GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB : glenum =          0wx88B2
    val GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB : glenum =      0wx88B3
    val GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB : glenum =              0wx88B4
    val GL_MAX_PROGRAM_ENV_PARAMETERS_ARB : glenum =                0wx88B5
    val GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB : glenum =               0wx88B6
    val GL_PROGRAM_STRING_ARB : glenum =                            0wx8628
    val GL_PROGRAM_ERROR_POSITION_ARB : glenum =                    0wx864B
    val GL_CURRENT_MATRIX_ARB : glenum =                            0wx8641
    val GL_TRANSPOSE_CURRENT_MATRIX_ARB : glenum =                  0wx88B7
    val GL_CURRENT_MATRIX_STACK_DEPTH_ARB : glenum =                0wx8640
    val GL_MAX_VERTEX_ATTRIBS_ARB : glenum =                        0wx8869
    val GL_MAX_PROGRAM_MATRICES_ARB : glenum =                      0wx862F
    val GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB : glenum =            0wx862E
    val GL_PROGRAM_ERROR_STRING_ARB : glenum =                      0wx8874

    val GL_MATRIX0_ARB : glenum =                                   0wx88C0
    val GL_MATRIX1_ARB : glenum =                                   0wx88C1
    val GL_MATRIX2_ARB : glenum =                                   0wx88C2
    val GL_MATRIX3_ARB : glenum =                                   0wx88C3
    val GL_MATRIX4_ARB : glenum =                                   0wx88C4
    val GL_MATRIX5_ARB : glenum =                                   0wx88C5
    val GL_MATRIX6_ARB : glenum =                                   0wx88C6
    val GL_MATRIX7_ARB : glenum =                                   0wx88C7
    val GL_MATRIX8_ARB : glenum =                                   0wx88C8
    val GL_MATRIX9_ARB : glenum =                                   0wx88C9
    val GL_MATRIX10_ARB : glenum =                                  0wx88CA
    val GL_MATRIX11_ARB : glenum =                                  0wx88CB
    val GL_MATRIX12_ARB : glenum =                                  0wx88CC
    val GL_MATRIX13_ARB : glenum =                                  0wx88CD
    val GL_MATRIX14_ARB : glenum =                                  0wx88CE
    val GL_MATRIX15_ARB : glenum =                                  0wx88CF
    val GL_MATRIX16_ARB : glenum =                                  0wx88D0
    val GL_MATRIX17_ARB : glenum =                                  0wx88D1
    val GL_MATRIX18_ARB : glenum =                                  0wx88D2
    val GL_MATRIX19_ARB : glenum =                                  0wx88D3
    val GL_MATRIX20_ARB : glenum =                                  0wx88D4
    val GL_MATRIX21_ARB : glenum =                                  0wx88D5
    val GL_MATRIX22_ARB : glenum =                                  0wx88D6
    val GL_MATRIX23_ARB : glenum =                                  0wx88D7
    val GL_MATRIX24_ARB : glenum =                                  0wx88D8
    val GL_MATRIX25_ARB : glenum =                                  0wx88D9
    val GL_MATRIX26_ARB : glenum =                                  0wx88DA
    val GL_MATRIX27_ARB : glenum =                                  0wx88DB
    val GL_MATRIX28_ARB : glenum =                                  0wx88DC
    val GL_MATRIX29_ARB : glenum =                                  0wx88DD
    val GL_MATRIX30_ARB : glenum =                                  0wx88DE
    val GL_MATRIX31_ARB : glenum =                                  0wx88DF

    val GL_COLOR_SUM_ARB : glenum =                                 0wx8458

  (* GL_ARB_shader_objects *)
    val GL_PROGRAM_OBJECT_ARB : glenum =                              0wx8B40
    val GL_OBJECT_TYPE_ARB : glenum =                                 0wx8B4E
    val GL_OBJECT_SUBTYPE_ARB : glenum =                              0wx8B4F
    val GL_OBJECT_DELETE_STATUS_ARB : glenum =                        0wx8B80
    val GL_OBJECT_COMPILE_STATUS_ARB : glenum =                       0wx8B81
    val GL_OBJECT_LINK_STATUS_ARB : glenum =                          0wx8B82
    val GL_OBJECT_VALIDATE_STATUS_ARB : glenum =                      0wx8B83
    val GL_OBJECT_INFO_LOG_LENGTH_ARB : glenum =                      0wx8B84
    val GL_OBJECT_ATTACHED_OBJECTS_ARB : glenum =                     0wx8B85
    val GL_OBJECT_ACTIVE_UNIFORMS_ARB : glenum =                      0wx8B86
    val GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB : glenum =            0wx8B87
    val GL_OBJECT_SHADER_SOURCE_LENGTH_ARB : glenum =                 0wx8B88
    val GL_SHADER_OBJECT_ARB : glenum =                               0wx8B48
    val GL_FLOAT_VEC2_ARB : glenum =                                  0wx8B50
    val GL_FLOAT_VEC3_ARB : glenum =                                  0wx8B51
    val GL_FLOAT_VEC4_ARB : glenum =                                  0wx8B52
    val GL_INT_VEC2_ARB : glenum =                                    0wx8B53
    val GL_INT_VEC3_ARB : glenum =                                    0wx8B54
    val GL_INT_VEC4_ARB : glenum =                                    0wx8B55
    val GL_BOOL_ARB : glenum =                                        0wx8B56
    val GL_BOOL_VEC2_ARB : glenum =                                   0wx8B57
    val GL_BOOL_VEC3_ARB : glenum =                                   0wx8B58
    val GL_BOOL_VEC4_ARB : glenum =                                   0wx8B59
    val GL_FLOAT_MAT2_ARB : glenum =                                  0wx8B5A
    val GL_FLOAT_MAT3_ARB : glenum =                                  0wx8B5B
    val GL_FLOAT_MAT4_ARB : glenum =                                  0wx8B5C
    val GL_SAMPLER_1D_ARB : glenum =                                  0wx8B5D
    val GL_SAMPLER_2D_ARB : glenum =                                  0wx8B5E
    val GL_SAMPLER_3D_ARB : glenum =                                  0wx8B5F
    val GL_SAMPLER_CUBE_ARB : glenum =                                0wx8B60
    val GL_SAMPLER_1D_SHADOW_ARB : glenum =                           0wx8B61
    val GL_SAMPLER_2D_SHADOW_ARB : glenum =                           0wx8B62
    val GL_SAMPLER_2D_RECT_ARB : glenum =                             0wx8B63
    val GL_SAMPLER_2D_RECT_SHADOW_ARB : glenum =                      0wx8B64

  (* GL_ARB_vertex_shader || GL_NV_vertex_program3 *)
    val GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB : glenum =              0wx8B4C

  (* GL_ARB_vertex_shader *)
    val GL_VERTEX_SHADER_ARB : glenum =                               0wx8B31
    val GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB : glenum =               0wx8B4A
    val GL_MAX_TEXTURE_COORDS_ARB : glenum =                          0wx8871
    val GL_MAX_TEXTURE_IMAGE_UNITS_ARB : glenum =                     0wx8872
    val GL_MAX_VARYING_FLOATS_ARB : glenum =                          0wx8B4B
    val GL_MAX_VERTEX_ATTRIBS_ARB : glenum =                          0wx8869
    val GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB : glenum =            0wx8B4D
    val GL_VERTEX_PROGRAM_POINT_SIZE_ARB : glenum =                   0wx8642
    val GL_VERTEX_PROGRAM_TWO_SIDE_ARB : glenum =                     0wx8643
    val GL_OBJECT_ACTIVE_ATTRIBUTES_ARB : glenum =                    0wx8B89
    val GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB : glenum =          0wx8B8A
    val GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB : glenum =                 0wx8622
    val GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB : glenum =                    0wx8623
    val GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB : glenum =                  0wx8624
    val GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB : glenum =                    0wx8625
    val GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB : glenum =              0wx886A
    val GL_CURRENT_VERTEX_ATTRIB_ARB : glenum =                       0wx8626
    val GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB : glenum =                 0wx8645

  (* GL_ARB_fragment_shader *)
    val GL_FRAGMENT_SHADER_ARB : glenum =                             0wx8B30
    val GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB : glenum =             0wx8B49
    val GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB : glenum =             0wx8B8B
    val GL_MAX_TEXTURE_COORDS_ARB : glenum =                          0wx8871
    val GL_MAX_TEXTURE_IMAGE_UNITS_ARB : glenum =                     0wx8872

  (* GL_ARB_vertex_buffer_object *)
    val GL_ARRAY_BUFFER_ARB : glenum =                                0wx8892
    val GL_ELEMENT_ARRAY_BUFFER_ARB : glenum =                        0wx8893
    val GL_ARRAY_BUFFER_BINDING_ARB : glenum =                        0wx8894
    val GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB : glenum =                0wx8895
    val GL_VERTEX_ARRAY_BUFFER_BINDING_ARB : glenum =                 0wx8896
    val GL_NORMAL_ARRAY_BUFFER_BINDING_ARB : glenum =                 0wx8897
    val GL_COLOR_ARRAY_BUFFER_BINDING_ARB : glenum =                  0wx8898
    val GL_INDEX_ARRAY_BUFFER_BINDING_ARB : glenum =                  0wx8899
    val GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB : glenum =          0wx889A
    val GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB : glenum =              0wx889B
    val GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB : glenum =        0wx889C
    val GL_FOG_COORD_ARRAY_BUFFER_BINDING_ARB : glenum =              0wx889D
    val GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB : glenum =                 0wx889E
    val GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB : glenum =          0wx889F
    val GL_STREAM_DRAW_ARB : glenum =                                 0wx88E0
    val GL_STREAM_READ_ARB : glenum =                                 0wx88E1
    val GL_STREAM_COPY_ARB : glenum =                                 0wx88E2
    val GL_STATIC_DRAW_ARB : glenum =                                 0wx88E4
    val GL_STATIC_READ_ARB : glenum =                                 0wx88E5
    val GL_STATIC_COPY_ARB : glenum =                                 0wx88E6
    val GL_DYNAMIC_DRAW_ARB : glenum =                                0wx88E8
    val GL_DYNAMIC_READ_ARB : glenum =                                0wx88E9
    val GL_DYNAMIC_COPY_ARB : glenum =                                0wx88EA
    val GL_READ_ONLY_ARB : glenum =                                   0wx88B8
    val GL_WRITE_ONLY_ARB : glenum =                                  0wx88B9
    val GL_READ_WRITE_ARB : glenum =                                  0wx88BA
    val GL_BUFFER_SIZE_ARB : glenum =                                 0wx8764
    val GL_BUFFER_USAGE_ARB : glenum =                                0wx8765
    val GL_BUFFER_ACCESS_ARB : glenum =                               0wx88BB
    val GL_BUFFER_MAPPED_ARB : glenum =                               0wx88BC
    val GL_BUFFER_MAP_POINTER_ARB : glenum =                          0wx88BD
  (* Obsolete *)
    val GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB : glenum =         0wx889D

  (* GL_ARB_point_sprite *)
    val GL_POINT_SPRITE_ARB : glenum =                                0wx8861
    val GL_COORD_REPLACE_ARB : glenum =                               0wx8862

  (* GL_ARB_texture_rectangle *)
    val GL_TEXTURE_RECTANGLE_ARB : glenum =          0wx84F5
    val GL_TEXTURE_BINDING_RECTANGLE_ARB : glenum =  0wx84F6
    val GL_PROXY_TEXTURE_RECTANGLE_ARB : glenum =    0wx84F7
    val GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB : glenum = 0wx84F8

  (* GL_ARB_draw_buffers *)
    val GL_MAX_DRAW_BUFFERS_ARB : glenum =           0wx8824
    val GL_DRAW_BUFFER0_ARB : glenum =               0wx8825
    val GL_DRAW_BUFFER1_ARB : glenum =               0wx8826
    val GL_DRAW_BUFFER2_ARB : glenum =               0wx8827
    val GL_DRAW_BUFFER3_ARB : glenum =               0wx8828
    val GL_DRAW_BUFFER4_ARB : glenum =               0wx8829
    val GL_DRAW_BUFFER5_ARB : glenum =               0wx882A
    val GL_DRAW_BUFFER6_ARB : glenum =               0wx882B
    val GL_DRAW_BUFFER7_ARB : glenum =               0wx882C
    val GL_DRAW_BUFFER8_ARB : glenum =               0wx882D
    val GL_DRAW_BUFFER9_ARB : glenum =               0wx882E
    val GL_DRAW_BUFFER10_ARB : glenum =              0wx882F
    val GL_DRAW_BUFFER11_ARB : glenum =              0wx8830
    val GL_DRAW_BUFFER12_ARB : glenum =              0wx8831
    val GL_DRAW_BUFFER13_ARB : glenum =              0wx8832
    val GL_DRAW_BUFFER14_ARB : glenum =              0wx8833
    val GL_DRAW_BUFFER15_ARB : glenum =              0wx8834

  (* GL_ARB_pixel_buffer_object *)
    val GL_PIXEL_PACK_BUFFER_ARB : glenum =                        0wx88EB
    val GL_PIXEL_UNPACK_BUFFER_ARB : glenum =                      0wx88EC
    val GL_PIXEL_PACK_BUFFER_BINDING_ARB : glenum =                0wx88ED
    val GL_PIXEL_UNPACK_BUFFER_BINDING_ARB : glenum =              0wx88EF

  (* GL_ARB_texture_float *)
    val GL_TEXTURE_RED_TYPE_ARB : glenum =             0wx8C10
    val GL_TEXTURE_GREEN_TYPE_ARB : glenum =           0wx8C11
    val GL_TEXTURE_BLUE_TYPE_ARB : glenum =            0wx8C12
    val GL_TEXTURE_ALPHA_TYPE_ARB : glenum =           0wx8C13
    val GL_TEXTURE_LUMINANCE_TYPE_ARB : glenum =       0wx8C14
    val GL_TEXTURE_INTENSITY_TYPE_ARB : glenum =       0wx8C15
    val GL_TEXTURE_DEPTH_TYPE_ARB : glenum =           0wx8C16
    val GL_UNSIGNED_NORMALIZED_ARB : glenum =          0wx8C17
    val GL_RGBA32F_ARB : glenum =                      0wx8814
    val GL_RGB32F_ARB : glenum =                       0wx8815
    val GL_ALPHA32F_ARB : glenum =                     0wx8816
    val GL_INTENSITY32F_ARB : glenum =                 0wx8817
    val GL_LUMINANCE32F_ARB : glenum =                 0wx8818
    val GL_LUMINANCE_ALPHA32F_ARB : glenum =           0wx8819
    val GL_RGBA16F_ARB : glenum =                      0wx881A
    val GL_RGB16F_ARB : glenum =                       0wx881B
    val GL_ALPHA16F_ARB : glenum =                     0wx881C
    val GL_INTENSITY16F_ARB : glenum =                 0wx881D
    val GL_LUMINANCE16F_ARB : glenum =                 0wx881E
    val GL_LUMINANCE_ALPHA16F_ARB : glenum =           0wx881F


  (* GL_EXT_abgr *)
    val GL_ABGR_EXT : glenum =                       0wx8000

  (* GL_EXT_blend_color *)
    val GL_CONSTANT_COLOR_EXT : glenum =             0wx8001
    val GL_ONE_MINUS_CONSTANT_COLOR_EXT : glenum =   0wx8002
    val GL_CONSTANT_ALPHA_EXT : glenum =             0wx8003
    val GL_ONE_MINUS_CONSTANT_ALPHA_EXT : glenum =   0wx8004
    val GL_BLEND_COLOR_EXT : glenum =                0wx8005

  (* GL_EXT_polygon_offset *)
    val GL_POLYGON_OFFSET_EXT : glenum =             0wx8037
    val GL_POLYGON_OFFSET_FACTOR_EXT : glenum =      0wx8038
    val GL_POLYGON_OFFSET_BIAS_EXT : glenum =        0wx8039

  (* GL_EXT_texture *)
    val GL_ALPHA4_EXT : glenum =                     0wx803B
    val GL_ALPHA8_EXT : glenum =                     0wx803C
    val GL_ALPHA12_EXT : glenum =                    0wx803D
    val GL_ALPHA16_EXT : glenum =                    0wx803E
    val GL_LUMINANCE4_EXT : glenum =                 0wx803F
    val GL_LUMINANCE8_EXT : glenum =                 0wx8040
    val GL_LUMINANCE12_EXT : glenum =                0wx8041
    val GL_LUMINANCE16_EXT : glenum =                0wx8042
    val GL_LUMINANCE4_ALPHA4_EXT : glenum =          0wx8043
    val GL_LUMINANCE6_ALPHA2_EXT : glenum =          0wx8044
    val GL_LUMINANCE8_ALPHA8_EXT : glenum =          0wx8045
    val GL_LUMINANCE12_ALPHA4_EXT : glenum =         0wx8046
    val GL_LUMINANCE12_ALPHA12_EXT : glenum =        0wx8047
    val GL_LUMINANCE16_ALPHA16_EXT : glenum =        0wx8048
    val GL_INTENSITY_EXT : glenum =                  0wx8049
    val GL_INTENSITY4_EXT : glenum =                 0wx804A
    val GL_INTENSITY8_EXT : glenum =                 0wx804B
    val GL_INTENSITY12_EXT : glenum =                0wx804C
    val GL_INTENSITY16_EXT : glenum =                0wx804D
    val GL_RGB2_EXT : glenum =                       0wx804E
    val GL_RGB4_EXT : glenum =                       0wx804F
    val GL_RGB5_EXT : glenum =                       0wx8050
    val GL_RGB8_EXT : glenum =                       0wx8051
    val GL_RGB10_EXT : glenum =                      0wx8052
    val GL_RGB12_EXT : glenum =                      0wx8053
    val GL_RGB16_EXT : glenum =                      0wx8054
    val GL_RGBA2_EXT : glenum =                      0wx8055
    val GL_RGBA4_EXT : glenum =                      0wx8056
    val GL_RGB5_A1_EXT : glenum =                    0wx8057
    val GL_RGBA8_EXT : glenum =                      0wx8058
    val GL_RGB10_A2_EXT : glenum =                   0wx8059
    val GL_RGBA12_EXT : glenum =                     0wx805A
    val GL_RGBA16_EXT : glenum =                     0wx805B
    val GL_TEXTURE_RED_SIZE_EXT : glenum =           0wx805C
    val GL_TEXTURE_GREEN_SIZE_EXT : glenum =         0wx805D
    val GL_TEXTURE_BLUE_SIZE_EXT : glenum =          0wx805E
    val GL_TEXTURE_ALPHA_SIZE_EXT : glenum =         0wx805F
    val GL_TEXTURE_LUMINANCE_SIZE_EXT : glenum =     0wx8060
    val GL_TEXTURE_INTENSITY_SIZE_EXT : glenum =     0wx8061
    val GL_REPLACE_EXT : glenum =                    0wx8062
    val GL_PROXY_TEXTURE_1D_EXT : glenum =           0wx8063
    val GL_PROXY_TEXTURE_2D_EXT : glenum =           0wx8064
    val GL_TEXTURE_TOO_LARGE_EXT : glenum =          0wx8065

  (* GL_EXT_texture3D *)
    val GL_PACK_SKIP_IMAGES_EXT : glenum =           0wx806B
    val GL_PACK_IMAGE_HEIGHT_EXT : glenum =          0wx806C
    val GL_UNPACK_SKIP_IMAGES_EXT : glenum =         0wx806D
    val GL_UNPACK_IMAGE_HEIGHT_EXT : glenum =        0wx806E
    val GL_TEXTURE_3D_EXT : glenum =                 0wx806F
    val GL_PROXY_TEXTURE_3D_EXT : glenum =           0wx8070
    val GL_TEXTURE_DEPTH_EXT : glenum =              0wx8071
    val GL_TEXTURE_WRAP_R_EXT : glenum =             0wx8072
    val GL_MAX_3D_TEXTURE_SIZE_EXT : glenum =        0wx8073

  (* GL_EXT_histogram *)
    val GL_HISTOGRAM_EXT : glenum =                  0wx8024
    val GL_PROXY_HISTOGRAM_EXT : glenum =            0wx8025
    val GL_HISTOGRAM_WIDTH_EXT : glenum =            0wx8026
    val GL_HISTOGRAM_FORMAT_EXT : glenum =           0wx8027
    val GL_HISTOGRAM_RED_SIZE_EXT : glenum =         0wx8028
    val GL_HISTOGRAM_GREEN_SIZE_EXT : glenum =       0wx8029
    val GL_HISTOGRAM_BLUE_SIZE_EXT : glenum =        0wx802A
    val GL_HISTOGRAM_ALPHA_SIZE_EXT : glenum =       0wx802B
    val GL_HISTOGRAM_LUMINANCE_SIZE_EXT : glenum =   0wx802C
    val GL_HISTOGRAM_SINK_EXT : glenum =             0wx802D
    val GL_MINMAX_EXT : glenum =                     0wx802E
    val GL_MINMAX_FORMAT_EXT : glenum =              0wx802F
    val GL_MINMAX_SINK_EXT : glenum =                0wx8030
    val GL_TABLE_TOO_LARGE_EXT : glenum =            0wx8031

  (* GL_EXT_convolution *)
    val GL_CONVOLUTION_1D_EXT : glenum =             0wx8010
    val GL_CONVOLUTION_2D_EXT : glenum =             0wx8011
    val GL_SEPARABLE_2D_EXT : glenum =               0wx8012
    val GL_CONVOLUTION_BORDER_MODE_EXT : glenum =    0wx8013
    val GL_CONVOLUTION_FILTER_SCALE_EXT : glenum =   0wx8014
    val GL_CONVOLUTION_FILTER_BIAS_EXT : glenum =    0wx8015
    val GL_REDUCE_EXT : glenum =                     0wx8016
    val GL_CONVOLUTION_FORMAT_EXT : glenum =         0wx8017
    val GL_CONVOLUTION_WIDTH_EXT : glenum =          0wx8018
    val GL_CONVOLUTION_HEIGHT_EXT : glenum =         0wx8019
    val GL_MAX_CONVOLUTION_WIDTH_EXT : glenum =      0wx801A
    val GL_MAX_CONVOLUTION_HEIGHT_EXT : glenum =     0wx801B
    val GL_POST_CONVOLUTION_RED_SCALE_EXT : glenum = 0wx801C
    val GL_POST_CONVOLUTION_GREEN_SCALE_EXT : glenum = 0wx801D
    val GL_POST_CONVOLUTION_BLUE_SCALE_EXT : glenum = 0wx801E
    val GL_POST_CONVOLUTION_ALPHA_SCALE_EXT : glenum = 0wx801F
    val GL_POST_CONVOLUTION_RED_BIAS_EXT : glenum =  0wx8020
    val GL_POST_CONVOLUTION_GREEN_BIAS_EXT : glenum = 0wx8021
    val GL_POST_CONVOLUTION_BLUE_BIAS_EXT : glenum = 0wx8022
    val GL_POST_CONVOLUTION_ALPHA_BIAS_EXT : glenum = 0wx8023

  (* GL_EXT_cmyka *)
    val GL_CMYK_EXT : glenum =                       0wx800C
    val GL_CMYKA_EXT : glenum =                      0wx800D
    val GL_PACK_CMYK_HINT_EXT : glenum =             0wx800E
    val GL_UNPACK_CMYK_HINT_EXT : glenum =           0wx800F

  (* GL_EXT_texture_object *)
    val GL_TEXTURE_PRIORITY_EXT : glenum =           0wx8066
    val GL_TEXTURE_RESIDENT_EXT : glenum =           0wx8067
    val GL_TEXTURE_1D_BINDING_EXT : glenum =         0wx8068
    val GL_TEXTURE_2D_BINDING_EXT : glenum =         0wx8069
    val GL_TEXTURE_3D_BINDING_EXT : glenum =         0wx806A

  (* GL_EXT_packed_pixels *)
    val GL_UNSIGNED_BYTE_3_3_2_EXT : glenum =        0wx8032
    val GL_UNSIGNED_SHORT_4_4_4_4_EXT : glenum =     0wx8033
    val GL_UNSIGNED_SHORT_5_5_5_1_EXT : glenum =     0wx8034
    val GL_UNSIGNED_INT_8_8_8_8_EXT : glenum =       0wx8035
    val GL_UNSIGNED_INT_10_10_10_2_EXT : glenum =    0wx8036

  (* GL_EXT_rescale_normal *)
    val GL_RESCALE_NORMAL_EXT : glenum =             0wx803A

  (* GL_EXT_vertex_array *)
    val GL_VERTEX_ARRAY_EXT : glenum =               0wx8074
    val GL_NORMAL_ARRAY_EXT : glenum =               0wx8075
    val GL_COLOR_ARRAY_EXT : glenum =                0wx8076
    val GL_INDEX_ARRAY_EXT : glenum =                0wx8077
    val GL_TEXTURE_COORD_ARRAY_EXT : glenum =        0wx8078
    val GL_EDGE_FLAG_ARRAY_EXT : glenum =            0wx8079
    val GL_VERTEX_ARRAY_SIZE_EXT : glenum =          0wx807A
    val GL_VERTEX_ARRAY_TYPE_EXT : glenum =          0wx807B
    val GL_VERTEX_ARRAY_STRIDE_EXT : glenum =        0wx807C
    val GL_VERTEX_ARRAY_COUNT_EXT : glenum =         0wx807D
    val GL_NORMAL_ARRAY_TYPE_EXT : glenum =          0wx807E
    val GL_NORMAL_ARRAY_STRIDE_EXT : glenum =        0wx807F
    val GL_NORMAL_ARRAY_COUNT_EXT : glenum =         0wx8080
    val GL_COLOR_ARRAY_SIZE_EXT : glenum =           0wx8081
    val GL_COLOR_ARRAY_TYPE_EXT : glenum =           0wx8082
    val GL_COLOR_ARRAY_STRIDE_EXT : glenum =         0wx8083
    val GL_COLOR_ARRAY_COUNT_EXT : glenum =          0wx8084
    val GL_INDEX_ARRAY_TYPE_EXT : glenum =           0wx8085
    val GL_INDEX_ARRAY_STRIDE_EXT : glenum =         0wx8086
    val GL_INDEX_ARRAY_COUNT_EXT : glenum =          0wx8087
    val GL_TEXTURE_COORD_ARRAY_SIZE_EXT : glenum =   0wx8088
    val GL_TEXTURE_COORD_ARRAY_TYPE_EXT : glenum =   0wx8089
    val GL_TEXTURE_COORD_ARRAY_STRIDE_EXT : glenum = 0wx808A
    val GL_TEXTURE_COORD_ARRAY_COUNT_EXT : glenum =  0wx808B
    val GL_EDGE_FLAG_ARRAY_STRIDE_EXT : glenum =     0wx808C
    val GL_EDGE_FLAG_ARRAY_COUNT_EXT : glenum =      0wx808D
    val GL_VERTEX_ARRAY_POINTER_EXT : glenum =       0wx808E
    val GL_NORMAL_ARRAY_POINTER_EXT : glenum =       0wx808F
    val GL_COLOR_ARRAY_POINTER_EXT : glenum =        0wx8090
    val GL_INDEX_ARRAY_POINTER_EXT : glenum =        0wx8091
    val GL_TEXTURE_COORD_ARRAY_POINTER_EXT : glenum = 0wx8092
    val GL_EDGE_FLAG_ARRAY_POINTER_EXT : glenum =    0wx8093

  (* GL_EXT_blend_minmax *)
    val GL_FUNC_ADD_EXT : glenum =                   0wx8006
    val GL_MIN_EXT : glenum =                        0wx8007
    val GL_MAX_EXT : glenum =                        0wx8008
    val GL_BLEND_EQUATION_EXT : glenum =             0wx8009

  (* GL_EXT_blend_subtract *)
    val GL_FUNC_SUBTRACT_EXT : glenum =              0wx800A
    val GL_FUNC_REVERSE_SUBTRACT_EXT : glenum =      0wx800B

  (* GL_EXT_paletted_texture *)
    val GL_COLOR_INDEX1_EXT : glenum =               0wx80E2
    val GL_COLOR_INDEX2_EXT : glenum =               0wx80E3
    val GL_COLOR_INDEX4_EXT : glenum =               0wx80E4
    val GL_COLOR_INDEX8_EXT : glenum =               0wx80E5
    val GL_COLOR_INDEX12_EXT : glenum =              0wx80E6
    val GL_COLOR_INDEX16_EXT : glenum =              0wx80E7
    val GL_TEXTURE_INDEX_SIZE_EXT : glenum =         0wx80ED

  (* GL_EXT_clip_volume_hint *)
    val GL_CLIP_VOLUME_CLIPPING_HINT_EXT : glenum =  0wx80F0

  (* GL_EXT_index_material *)
    val GL_INDEX_MATERIAL_EXT : glenum =             0wx81B8
    val GL_INDEX_MATERIAL_PARAMETER_EXT : glenum =   0wx81B9
    val GL_INDEX_MATERIAL_FACE_EXT : glenum =        0wx81BA

  (* GL_EXT_index_func *)
    val GL_INDEX_TEST_EXT : glenum =                 0wx81B5
    val GL_INDEX_TEST_FUNC_EXT : glenum =            0wx81B6
    val GL_INDEX_TEST_REF_EXT : glenum =             0wx81B7

  (* GL_EXT_index_array_formats *)
    val GL_IUI_V2F_EXT : glenum =                    0wx81AD
    val GL_IUI_V3F_EXT : glenum =                    0wx81AE
    val GL_IUI_N3F_V2F_EXT : glenum =                0wx81AF
    val GL_IUI_N3F_V3F_EXT : glenum =                0wx81B0
    val GL_T2F_IUI_V2F_EXT : glenum =                0wx81B1
    val GL_T2F_IUI_V3F_EXT : glenum =                0wx81B2
    val GL_T2F_IUI_N3F_V2F_EXT : glenum =            0wx81B3
    val GL_T2F_IUI_N3F_V3F_EXT : glenum =            0wx81B4

  (* GL_EXT_compiled_vertex_array *)
    val GL_ARRAY_ELEMENT_LOCK_FIRST_EXT : glenum =   0wx81A8
    val GL_ARRAY_ELEMENT_LOCK_COUNT_EXT : glenum =   0wx81A9

  (* GL_EXT_cull_vertex *)
    val GL_CULL_VERTEX_EXT : glenum =                0wx81AA
    val GL_CULL_VERTEX_EYE_POSITION_EXT : glenum =   0wx81AB
    val GL_CULL_VERTEX_OBJECT_POSITION_EXT : glenum = 0wx81AC

  (* GL_EXT_draw_range_elements *)
    val GL_MAX_ELEMENTS_VERTICES_EXT : glenum =      0wx80E8
    val GL_MAX_ELEMENTS_INDICES_EXT : glenum =       0wx80E9

  (* GL_EXT_light_texture *)
    val GL_FRAGMENT_MATERIAL_EXT : glenum =          0wx8349
    val GL_FRAGMENT_NORMAL_EXT : glenum =            0wx834A
    val GL_FRAGMENT_COLOR_EXT : glenum =             0wx834C
    val GL_ATTENUATION_EXT : glenum =                0wx834D
    val GL_SHADOW_ATTENUATION_EXT : glenum =         0wx834E
    val GL_TEXTURE_APPLICATION_MODE_EXT : glenum =   0wx834F
    val GL_TEXTURE_LIGHT_EXT : glenum =              0wx8350
    val GL_TEXTURE_MATERIAL_FACE_EXT : glenum =      0wx8351
    val GL_TEXTURE_MATERIAL_PARAMETER_EXT : glenum = 0wx8352
  (* reuse GL_FRAGMENT_DEPTH_EXT *)

  (* GL_EXT_bgra *)
    val GL_BGR_EXT : glenum =                        0wx80E0
    val GL_BGRA_EXT : glenum =                       0wx80E1

  (* GL_EXT_pixel_transform *)
    val GL_PIXEL_TRANSFORM_2D_EXT : glenum =         0wx8330
    val GL_PIXEL_MAG_FILTER_EXT : glenum =           0wx8331
    val GL_PIXEL_MIN_FILTER_EXT : glenum =           0wx8332
    val GL_PIXEL_CUBIC_WEIGHT_EXT : glenum =         0wx8333
    val GL_CUBIC_EXT : glenum =                      0wx8334
    val GL_AVERAGE_EXT : glenum =                    0wx8335
    val GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT : glenum = 0wx8336
    val GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT : glenum = 0wx8337
    val GL_PIXEL_TRANSFORM_2D_MATRIX_EXT : glenum =  0wx8338

  (* GL_EXT_shared_texture_palette *)
    val GL_SHARED_TEXTURE_PALETTE_EXT : glenum =     0wx81FB

  (* GL_EXT_separate_specular_color *)
    val GL_LIGHT_MODEL_COLOR_CONTROL_EXT : glenum =  0wx81F8
    val GL_SINGLE_COLOR_EXT : glenum =               0wx81F9
    val GL_SEPARATE_SPECULAR_COLOR_EXT : glenum =    0wx81FA

  (* GL_EXT_secondary_color *)
    val GL_COLOR_SUM_EXT : glenum =                  0wx8458
    val GL_CURRENT_SECONDARY_COLOR_EXT : glenum =    0wx8459
    val GL_SECONDARY_COLOR_ARRAY_SIZE_EXT : glenum = 0wx845A
    val GL_SECONDARY_COLOR_ARRAY_TYPE_EXT : glenum = 0wx845B
    val GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT : glenum = 0wx845C
    val GL_SECONDARY_COLOR_ARRAY_POINTER_EXT : glenum = 0wx845D
    val GL_SECONDARY_COLOR_ARRAY_EXT : glenum =      0wx845E

  (* GL_EXT_texture_perturb_normal *)
    val GL_PERTURB_EXT : glenum =                    0wx85AE
    val GL_TEXTURE_NORMAL_EXT : glenum =             0wx85AF

  (* GL_EXT_fog_coord *)
    val GL_FOG_COORDINATE_SOURCE_EXT : glenum =      0wx8450
    val GL_FOG_COORDINATE_EXT : glenum =             0wx8451
    val GL_FRAGMENT_DEPTH_EXT : glenum =             0wx8452
    val GL_CURRENT_FOG_COORDINATE_EXT : glenum =     0wx8453
    val GL_FOG_COORDINATE_ARRAY_TYPE_EXT : glenum =  0wx8454
    val GL_FOG_COORDINATE_ARRAY_STRIDE_EXT : glenum = 0wx8455
    val GL_FOG_COORDINATE_ARRAY_POINTER_EXT : glenum = 0wx8456
    val GL_FOG_COORDINATE_ARRAY_EXT : glenum =       0wx8457

  (* GL_EXT_coordinate_frame *)
    val GL_TANGENT_ARRAY_EXT : glenum =              0wx8439
    val GL_BINORMAL_ARRAY_EXT : glenum =             0wx843A
    val GL_CURRENT_TANGENT_EXT : glenum =            0wx843B
    val GL_CURRENT_BINORMAL_EXT : glenum =           0wx843C
    val GL_TANGENT_ARRAY_TYPE_EXT : glenum =         0wx843E
    val GL_TANGENT_ARRAY_STRIDE_EXT : glenum =       0wx843F
    val GL_BINORMAL_ARRAY_TYPE_EXT : glenum =        0wx8440
    val GL_BINORMAL_ARRAY_STRIDE_EXT : glenum =      0wx8441
    val GL_TANGENT_ARRAY_POINTER_EXT : glenum =      0wx8442
    val GL_BINORMAL_ARRAY_POINTER_EXT : glenum =     0wx8443
    val GL_MAP1_TANGENT_EXT : glenum =               0wx8444
    val GL_MAP2_TANGENT_EXT : glenum =               0wx8445
    val GL_MAP1_BINORMAL_EXT : glenum =              0wx8446
    val GL_MAP2_BINORMAL_EXT : glenum =              0wx8447

  (* GL_EXT_texture_env_combine *)
    val GL_COMBINE_EXT : glenum =                    0wx8570
    val GL_COMBINE_RGB_EXT : glenum =                0wx8571
    val GL_COMBINE_ALPHA_EXT : glenum =              0wx8572
    val GL_RGB_SCALE_EXT : glenum =                  0wx8573
    val GL_ADD_SIGNED_EXT : glenum =                 0wx8574
    val GL_INTERPOLATE_EXT : glenum =                0wx8575
    val GL_CONSTANT_EXT : glenum =                   0wx8576
    val GL_PRIMARY_COLOR_EXT : glenum =              0wx8577
    val GL_PREVIOUS_EXT : glenum =                   0wx8578
    val GL_SOURCE0_RGB_EXT : glenum =                0wx8580
    val GL_SOURCE1_RGB_EXT : glenum =                0wx8581
    val GL_SOURCE2_RGB_EXT : glenum =                0wx8582
    val GL_SOURCE3_RGB_EXT : glenum =                0wx8583
    val GL_SOURCE4_RGB_EXT : glenum =                0wx8584
    val GL_SOURCE5_RGB_EXT : glenum =                0wx8585
    val GL_SOURCE6_RGB_EXT : glenum =                0wx8586
    val GL_SOURCE7_RGB_EXT : glenum =                0wx8587
    val GL_SOURCE0_ALPHA_EXT : glenum =              0wx8588
    val GL_SOURCE1_ALPHA_EXT : glenum =              0wx8589
    val GL_SOURCE2_ALPHA_EXT : glenum =              0wx858A
    val GL_SOURCE3_ALPHA_EXT : glenum =              0wx858B
    val GL_SOURCE4_ALPHA_EXT : glenum =              0wx858C
    val GL_SOURCE5_ALPHA_EXT : glenum =              0wx858D
    val GL_SOURCE6_ALPHA_EXT : glenum =              0wx858E
    val GL_SOURCE7_ALPHA_EXT : glenum =              0wx858F
    val GL_OPERAND0_RGB_EXT : glenum =               0wx8590
    val GL_OPERAND1_RGB_EXT : glenum =               0wx8591
    val GL_OPERAND2_RGB_EXT : glenum =               0wx8592
    val GL_OPERAND3_RGB_EXT : glenum =               0wx8593
    val GL_OPERAND4_RGB_EXT : glenum =               0wx8594
    val GL_OPERAND5_RGB_EXT : glenum =               0wx8595
    val GL_OPERAND6_RGB_EXT : glenum =               0wx8596
    val GL_OPERAND7_RGB_EXT : glenum =               0wx8597
    val GL_OPERAND0_ALPHA_EXT : glenum =             0wx8598
    val GL_OPERAND1_ALPHA_EXT : glenum =             0wx8599
    val GL_OPERAND2_ALPHA_EXT : glenum =             0wx859A
    val GL_OPERAND3_ALPHA_EXT : glenum =             0wx859B
    val GL_OPERAND4_ALPHA_EXT : glenum =             0wx859C
    val GL_OPERAND5_ALPHA_EXT : glenum =             0wx859D
    val GL_OPERAND6_ALPHA_EXT : glenum =             0wx859E
    val GL_OPERAND7_ALPHA_EXT : glenum =             0wx859F

  (* GL_EXT_blend_func_separate *)
    val GL_BLEND_DST_RGB_EXT : glenum =              0wx80C8
    val GL_BLEND_SRC_RGB_EXT : glenum =              0wx80C9
    val GL_BLEND_DST_ALPHA_EXT : glenum =            0wx80CA
    val GL_BLEND_SRC_ALPHA_EXT : glenum =            0wx80CB

  (* GL_EXT_stencil_wrap *)
    val GL_INCR_WRAP_EXT : glenum =                  0wx8507
    val GL_DECR_WRAP_EXT : glenum =                  0wx8508

  (* GL_EXT_422_pixels *)
    val GL_422_EXT : glenum =                        0wx80CC
    val GL_422_REV_EXT : glenum =                    0wx80CD
    val GL_422_AVERAGE_EXT : glenum =                0wx80CE
    val GL_422_REV_AVERAGE_EXT : glenum =            0wx80CF

  (* GL_EXT_texture_cube_map *)
    val GL_NORMAL_MAP_EXT : glenum =                 0wx8511
    val GL_REFLECTION_MAP_EXT : glenum =             0wx8512
    val GL_TEXTURE_CUBE_MAP_EXT : glenum =           0wx8513
    val GL_TEXTURE_BINDING_CUBE_MAP_EXT : glenum =   0wx8514
    val GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT : glenum = 0wx8515
    val GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT : glenum = 0wx8516
    val GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT : glenum = 0wx8517
    val GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT : glenum = 0wx8518
    val GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT : glenum = 0wx8519
    val GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT : glenum = 0wx851A
    val GL_PROXY_TEXTURE_CUBE_MAP_EXT : glenum =     0wx851B
    val GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT : glenum =  0wx851C

  (* GL_EXT_texture_lod_bias *)
    val GL_MAX_TEXTURE_LOD_BIAS_EXT : glenum =		0wx84FD
    val GL_TEXTURE_FILTER_CONTROL_EXT : glenum =	0wx8500
    val GL_TEXTURE_LOD_BIAS_EXT : glenum =		0wx8501

  (* GL_EXT_texture_filter_anisotropic *)
    val GL_TEXTURE_MAX_ANISOTROPY_EXT : glenum =	0wx84FE
    val GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT : glenum =	0wx84FF

  (* GL_EXT_vertex_weighting *)
    val GL_MODELVIEW0_STACK_DEPTH_EXT =			GLConsts.GL_MODELVIEW_STACK_DEPTH
    val GL_MODELVIEW1_STACK_DEPTH_EXT : glenum =	0wx8502
    val GL_MODELVIEW0_MATRIX_EXT =			GLConsts.GL_MODELVIEW_MATRIX
    val GL_MODELVIEW_MATRIX1_EXT : glenum =		0wx8506
    val GL_VERTEX_WEIGHTING_EXT : glenum =		0wx8509
    val GL_MODELVIEW0_EXT =				GLConsts.GL_MODELVIEW
    val GL_MODELVIEW1_EXT : glenum =			0wx850A
    val GL_CURRENT_VERTEX_WEIGHT_EXT : glenum =		0wx850B
    val GL_VERTEX_WEIGHT_ARRAY_EXT : glenum =		0wx850C
    val GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT : glenum =	0wx850D
    val GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT : glenum =	0wx850E
    val GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT : glenum =	0wx850F
    val GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT : glenum =	0wx8510

  (* GL_EXT_texture_compression_s3tc *)
    val GL_COMPRESSED_RGB_S3TC_DXT1_EXT : glenum =	0wx83F0
    val GL_COMPRESSED_RGBA_S3TC_DXT1_EXT : glenum =	0wx83F1
    val GL_COMPRESSED_RGBA_S3TC_DXT3_EXT : glenum =	0wx83F2
    val GL_COMPRESSED_RGBA_S3TC_DXT5_EXT : glenum =	0wx83F3

  (* GL_EXT_texture_rectangle *)
    val GL_TEXTURE_RECTANGLE_EXT : glenum =          0wx84F5
    val GL_TEXTURE_BINDING_RECTANGLE_EXT : glenum =  0wx84F6
    val GL_PROXY_TEXTURE_RECTANGLE_EXT : glenum =    0wx84F7
    val GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT : glenum = 0wx84F8

  (* GL_EXT_vertex_shader *)
    val GL_VERTEX_SHADER_EXT : glenum =              0wx8780
    val GL_VARIANT_VALUE_EXT : glenum =              0wx87E4
    val GL_VARIANT_DATATYPE_EXT : glenum =           0wx87E5
    val GL_VARIANT_ARRAY_STRIDE_EXT : glenum =       0wx87E6
    val GL_VARIANT_ARRAY_TYPE_EXT : glenum =         0wx87E7
    val GL_VARIANT_ARRAY_EXT : glenum =              0wx87E8
    val GL_VARIANT_ARRAY_POINTER_EXT : glenum =      0wx87E9
    val GL_INVARIANT_VALUE_EXT : glenum =            0wx87EA
    val GL_INVARIANT_DATATYPE_EXT : glenum =         0wx87EB
    val GL_LOCAL_CONSTANT_VALUE_EXT : glenum =       0wx87EC
    val GL_LOCAL_CONSTANT_DATATYPE_EXT : glenum =    0wx87Ed
    val GL_OP_INDEX_EXT : glenum =                   0wx8782
    val GL_OP_NEGATE_EXT : glenum =                  0wx8783
    val GL_OP_DOT3_EXT : glenum =                    0wx8784
    val GL_OP_DOT4_EXT : glenum =                    0wx8785
    val GL_OP_MUL_EXT : glenum =                     0wx8786
    val GL_OP_ADD_EXT : glenum =                     0wx8787
    val GL_OP_MADD_EXT : glenum =                    0wx8788
    val GL_OP_FRAC_EXT : glenum =                    0wx8789
    val GL_OP_MAX_EXT : glenum =                     0wx878A
    val GL_OP_MIN_EXT : glenum =                     0wx878B
    val GL_OP_SET_GE_EXT : glenum =                  0wx878C
    val GL_OP_SET_LT_EXT : glenum =                  0wx878D
    val GL_OP_CLAMP_EXT : glenum =                   0wx878E
    val GL_OP_FLOOR_EXT : glenum =                   0wx878F
    val GL_OP_ROUND_EXT : glenum =                   0wx8790
    val GL_OP_EXP_BASE_2_EXT : glenum =              0wx8791
    val GL_OP_LOG_BASE_2_EXT : glenum =              0wx8792
    val GL_OP_POWER_EXT : glenum =                   0wx8793
    val GL_OP_RECIP_EXT : glenum =                   0wx8794
    val GL_OP_RECIP_SQRT_EXT : glenum =              0wx8795
    val GL_OP_SUB_EXT : glenum =                     0wx8796
    val GL_OP_CROSS_PRODUCT_EXT : glenum =           0wx8797
    val GL_OP_MULTIPLY_MATRIX_EXT : glenum =         0wx8798
    val GL_OP_MOV_EXT : glenum =                     0wx8799
    val GL_OUTPUT_VERTEX_EXT : glenum =              0wx879A
    val GL_OUTPUT_COLOR0_EXT : glenum =              0wx879B
    val GL_OUTPUT_COLOR1_EXT : glenum =              0wx879C
    val GL_OUTPUT_TEXTURE_COORD0_EXT : glenum =      0wx879D
    val GL_OUTPUT_TEXTURE_COORD1_EXT : glenum =      0wx879E
    val GL_OUTPUT_TEXTURE_COORD2_EXT : glenum =      0wx879F
    val GL_OUTPUT_TEXTURE_COORD3_EXT : glenum =      0wx87A0
    val GL_OUTPUT_TEXTURE_COORD4_EXT : glenum =      0wx87A1
    val GL_OUTPUT_TEXTURE_COORD5_EXT : glenum =      0wx87A2
    val GL_OUTPUT_TEXTURE_COORD6_EXT : glenum =      0wx87A3
    val GL_OUTPUT_TEXTURE_COORD7_EXT : glenum =      0wx87A4
    val GL_OUTPUT_TEXTURE_COORD8_EXT : glenum =      0wx87A5
    val GL_OUTPUT_TEXTURE_COORD9_EXT : glenum =      0wx87A6
    val GL_OUTPUT_TEXTURE_COORD10_EXT : glenum =     0wx87A7
    val GL_OUTPUT_TEXTURE_COORD11_EXT : glenum =     0wx87A8
    val GL_OUTPUT_TEXTURE_COORD12_EXT : glenum =     0wx87A9
    val GL_OUTPUT_TEXTURE_COORD13_EXT : glenum =     0wx87AA
    val GL_OUTPUT_TEXTURE_COORD14_EXT : glenum =     0wx87AB
    val GL_OUTPUT_TEXTURE_COORD15_EXT : glenum =     0wx87AC
    val GL_OUTPUT_TEXTURE_COORD16_EXT : glenum =     0wx87AD
    val GL_OUTPUT_TEXTURE_COORD17_EXT : glenum =     0wx87AE
    val GL_OUTPUT_TEXTURE_COORD18_EXT : glenum =     0wx87AF
    val GL_OUTPUT_TEXTURE_COORD19_EXT : glenum =     0wx87B0
    val GL_OUTPUT_TEXTURE_COORD20_EXT : glenum =     0wx87B1
    val GL_OUTPUT_TEXTURE_COORD21_EXT : glenum =     0wx87B2
    val GL_OUTPUT_TEXTURE_COORD22_EXT : glenum =     0wx87B3
    val GL_OUTPUT_TEXTURE_COORD23_EXT : glenum =     0wx87B4
    val GL_OUTPUT_TEXTURE_COORD24_EXT : glenum =     0wx87B5
    val GL_OUTPUT_TEXTURE_COORD25_EXT : glenum =     0wx87B6
    val GL_OUTPUT_TEXTURE_COORD26_EXT : glenum =     0wx87B7
    val GL_OUTPUT_TEXTURE_COORD27_EXT : glenum =     0wx87B8
    val GL_OUTPUT_TEXTURE_COORD28_EXT : glenum =     0wx87B9
    val GL_OUTPUT_TEXTURE_COORD29_EXT : glenum =     0wx87BA
    val GL_OUTPUT_TEXTURE_COORD30_EXT : glenum =     0wx87BB
    val GL_OUTPUT_TEXTURE_COORD31_EXT : glenum =     0wx87BC
    val GL_OUTPUT_FOG_EXT : glenum =                 0wx87BD
    val GL_SCALAR_EXT : glenum =                     0wx87BE
    val GL_VECTOR_EXT : glenum =                     0wx87BF
    val GL_MATRIX_EXT : glenum =                     0wx87C0
    val GL_VARIANT_EXT : glenum =                    0wx87C1
    val GL_INVARIANT_EXT : glenum =                  0wx87C2
    val GL_LOCAL_CONSTANT_EXT : glenum =             0wx87C3
    val GL_LOCAL_EXT : glenum =                      0wx87C4
    val GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT : glenum =              0wx87C5
    val GL_MAX_VERTEX_SHADER_VARIANTS_EXT : glenum =                  0wx87C6
    val GL_MAX_VERTEX_SHADER_INVARIANTS_EXT : glenum =                0wx87C7
    val GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT : glenum =           0wx87C8
    val GL_MAX_VERTEX_SHADER_LOCALS_EXT : glenum =                    0wx87C9
    val GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT : glenum =    0wx87CA
    val GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT : glenum =        0wx87CB
    val GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT : glenum = 0wx87CC
    val GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT : glenum =      0wx87CD
    val GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT : glenum =          0wx87CE
    val GL_VERTEX_SHADER_INSTRUCTIONS_EXT : glenum =                  0wx87CF
    val GL_VERTEX_SHADER_VARIANTS_EXT : glenum =                      0wx87D0
    val GL_VERTEX_SHADER_INVARIANTS_EXT : glenum =                    0wx87D1
    val GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT : glenum =               0wx87D2
    val GL_VERTEX_SHADER_LOCALS_EXT : glenum =                        0wx87D3
    val GL_VERTEX_SHADER_BINDING_EXT : glenum =                       0wx8781
    val GL_VERTEX_SHADER_OPTIMIZED_EXT : glenum =                     0wx87D4
    val GL_X_EXT : glenum =                          0wx87D5
    val GL_Y_EXT : glenum =                          0wx87D6
    val GL_Z_EXT : glenum =                          0wx87D7
    val GL_W_EXT : glenum =                          0wx87D8
    val GL_NEGATIVE_X_EXT : glenum =                 0wx87D9
    val GL_NEGATIVE_Y_EXT : glenum =                 0wx87DA
    val GL_NEGATIVE_Z_EXT : glenum =                 0wx87DB
    val GL_NEGATIVE_W_EXT : glenum =                 0wx87DC
    val GL_NEGATIVE_ONE_EXT : glenum =               0wx87DF
    val GL_NORMALIZED_RANGE_EXT : glenum =           0wx87E0
    val GL_FULL_RANGE_EXT : glenum =                 0wx87E1
    val GL_CURRENT_VERTEX_EXT : glenum =             0wx87E2
    val GL_MVP_MATRIX_EXT : glenum =                 0wx87E3

  (* GL_EXT_fragment_shader *)
    val GL_FRAGMENT_SHADER_EXT : glenum =            0wx8920
    val GL_REG_0_EXT : glenum =                      0wx8921
    val GL_REG_1_EXT : glenum =                      0wx8922
    val GL_REG_2_EXT : glenum =                      0wx8923
    val GL_REG_3_EXT : glenum =                      0wx8924
    val GL_REG_4_EXT : glenum =                      0wx8925
    val GL_REG_5_EXT : glenum =                      0wx8926
    val GL_REG_6_EXT : glenum =                      0wx8927
    val GL_REG_7_EXT : glenum =                      0wx8928
    val GL_REG_8_EXT : glenum =                      0wx8929
    val GL_REG_9_EXT : glenum =                      0wx892A
    val GL_REG_10_EXT : glenum =                     0wx892B
    val GL_REG_11_EXT : glenum =                     0wx892C
    val GL_REG_12_EXT : glenum =                     0wx892D
    val GL_REG_13_EXT : glenum =                     0wx892E
    val GL_REG_14_EXT : glenum =                     0wx892F
    val GL_REG_15_EXT : glenum =                     0wx8930
    val GL_REG_16_EXT : glenum =                     0wx8931
    val GL_REG_17_EXT : glenum =                     0wx8932
    val GL_REG_18_EXT : glenum =                     0wx8933
    val GL_REG_19_EXT : glenum =                     0wx8934
    val GL_REG_20_EXT : glenum =                     0wx8935
    val GL_REG_21_EXT : glenum =                     0wx8936
    val GL_REG_22_EXT : glenum =                     0wx8937
    val GL_REG_23_EXT : glenum =                     0wx8938
    val GL_REG_24_EXT : glenum =                     0wx8939
    val GL_REG_25_EXT : glenum =                     0wx893A
    val GL_REG_26_EXT : glenum =                     0wx893B
    val GL_REG_27_EXT : glenum =                     0wx893C
    val GL_REG_28_EXT : glenum =                     0wx893D
    val GL_REG_29_EXT : glenum =                     0wx893E
    val GL_REG_30_EXT : glenum =                     0wx893F
    val GL_REG_31_EXT : glenum =                     0wx8940
    val GL_CON_0_EXT : glenum =                      0wx8941
    val GL_CON_1_EXT : glenum =                      0wx8942
    val GL_CON_2_EXT : glenum =                      0wx8943
    val GL_CON_3_EXT : glenum =                      0wx8944
    val GL_CON_4_EXT : glenum =                      0wx8945
    val GL_CON_5_EXT : glenum =                      0wx8946
    val GL_CON_6_EXT : glenum =                      0wx8947
    val GL_CON_7_EXT : glenum =                      0wx8948
    val GL_CON_8_EXT : glenum =                      0wx8949
    val GL_CON_9_EXT : glenum =                      0wx894A
    val GL_CON_10_EXT : glenum =                     0wx894B
    val GL_CON_11_EXT : glenum =                     0wx894C
    val GL_CON_12_EXT : glenum =                     0wx894D
    val GL_CON_13_EXT : glenum =                     0wx894E
    val GL_CON_14_EXT : glenum =                     0wx894F
    val GL_CON_15_EXT : glenum =                     0wx8950
    val GL_CON_16_EXT : glenum =                     0wx8951
    val GL_CON_17_EXT : glenum =                     0wx8952
    val GL_CON_18_EXT : glenum =                     0wx8953
    val GL_CON_19_EXT : glenum =                     0wx8954
    val GL_CON_20_EXT : glenum =                     0wx8955
    val GL_CON_21_EXT : glenum =                     0wx8956
    val GL_CON_22_EXT : glenum =                     0wx8957
    val GL_CON_23_EXT : glenum =                     0wx8958
    val GL_CON_24_EXT : glenum =                     0wx8959
    val GL_CON_25_EXT : glenum =                     0wx895A
    val GL_CON_26_EXT : glenum =                     0wx895B
    val GL_CON_27_EXT : glenum =                     0wx895C
    val GL_CON_28_EXT : glenum =                     0wx895D
    val GL_CON_29_EXT : glenum =                     0wx895E
    val GL_CON_30_EXT : glenum =                     0wx895F
    val GL_CON_31_EXT : glenum =                     0wx8960
    val GL_MOV_EXT : glenum =                        0wx8961
    val GL_ADD_EXT : glenum =                        0wx8963
    val GL_MUL_EXT : glenum =                        0wx8964
    val GL_SUB_EXT : glenum =                        0wx8965
    val GL_DOT3_EXT : glenum =                       0wx8966
    val GL_DOT4_EXT : glenum =                       0wx8967
    val GL_MAD_EXT : glenum =                        0wx8968
    val GL_LERP_EXT : glenum =                       0wx8969
    val GL_CND_EXT : glenum =                        0wx896A
    val GL_CND0_EXT : glenum =                       0wx896B
    val GL_DOT2_ADD_EXT : glenum =                   0wx896C
    val GL_SECONDARY_INTERPOLATOR_EXT : glenum =     0wx896D
    val GL_NUM_FRAGMENT_REGISTERS_EXT : glenum =     0wx896E
    val GL_NUM_FRAGMENT_CONSTANTS_EXT : glenum =     0wx896F
    val GL_NUM_PASSES_EXT : glenum =                 0wx8970
    val GL_NUM_INSTRUCTIONS_PER_PASS_EXT : glenum =  0wx8971
    val GL_NUM_INSTRUCTIONS_TOTAL_EXT : glenum =     0wx8972
    val GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_EXT : glenum = 0wx8973
    val GL_NUM_LOOPBACK_COMPONENTS_EXT : glenum =    0wx8974
    val GL_COLOR_ALPHA_PAIRING_EXT : glenum =        0wx8975
    val GL_SWIZZLE_STR_EXT : glenum =                0wx8976
    val GL_SWIZZLE_STQ_EXT : glenum =                0wx8977
    val GL_SWIZZLE_STR_DR_EXT : glenum =             0wx8978
    val GL_SWIZZLE_STQ_DQ_EXT : glenum =             0wx8979
    val GL_SWIZZLE_STRQ_EXT : glenum =               0wx897A
    val GL_SWIZZLE_STRQ_DQ_EXT : glenum =            0wx897B
    val GL_RED_BIT_EXT : glenum =                    0wx00000001
    val GL_GREEN_BIT_EXT : glenum =                  0wx00000002
    val GL_BLUE_BIT_EXT : glenum =                   0wx00000004
    val GL_2X_BIT_EXT : glenum =                     0wx00000001
    val GL_4X_BIT_EXT : glenum =                     0wx00000002
    val GL_8X_BIT_EXT : glenum =                     0wx00000004
    val GL_HALF_BIT_EXT : glenum =                   0wx00000008
    val GL_QUARTER_BIT_EXT : glenum =                0wx00000010
    val GL_EIGHTH_BIT_EXT : glenum =                 0wx00000020
    val GL_SATURATE_BIT_EXT : glenum =               0wx00000040
    val GL_COMP_BIT_EXT : glenum =                   0wx00000002
    val GL_NEGATE_BIT_EXT : glenum =                 0wx00000004
    val GL_BIAS_BIT_EXT : glenum =                   0wx00000008

  (* GL_EXT_multisample *)
    val GL_MULTISAMPLE_EXT : glenum =                0wx809D
    val GL_SAMPLE_ALPHA_TO_MASK_EXT : glenum =       0wx809E
    val GL_SAMPLE_ALPHA_TO_ONE_EXT : glenum =        0wx809F
    val GL_SAMPLE_MASK_EXT : glenum =                0wx80A0
    val GL_1PASS_EXT : glenum =                      0wx80A1
    val GL_2PASS_0_EXT : glenum =                    0wx80A2
    val GL_2PASS_1_EXT : glenum =                    0wx80A3
    val GL_4PASS_0_EXT : glenum =                    0wx80A4
    val GL_4PASS_1_EXT : glenum =                    0wx80A5
    val GL_4PASS_2_EXT : glenum =                    0wx80A6
    val GL_4PASS_3_EXT : glenum =                    0wx80A7
    val GL_SAMPLE_BUFFERS_EXT : glenum =             0wx80A8
    val GL_SAMPLES_EXT : glenum =                    0wx80A9
    val GL_SAMPLE_MASK_VALUE_EXT : glenum =          0wx80AA
    val GL_SAMPLE_MASK_INVERT_EXT : glenum =         0wx80AB
    val GL_SAMPLE_PATTERN_EXT : glenum =             0wx80AC

  (* GL_EXT_stencil_two_side *)
    val GL_STENCIL_TEST_TWO_SIDE_EXT : glenum =      0wx8910
    val GL_ACTIVE_STENCIL_FACE_EXT : glenum =        0wx8911

  (* GL_EXT_depth_bounds_test *)
    val GL_DEPTH_BOUNDS_TEST_EXT : glenum =          0wx8890
    val GL_DEPTH_BOUNDS_EXT : glenum =               0wx8891

  (* GL_EXT_blend_equation_separate *)
    val GL_BLEND_EQUATION_RGB_EXT : glenum =         0wx8009
    val GL_BLEND_EQUATION_ALPHA_EXT : glenum =       0wx883D

  (* GL_EXT_texture_mirror_clamp *)
    val GL_MIRROR_CLAMP_EXT : glenum =               0wx8742
    val GL_MIRROR_CLAMP_TO_EDGE_EXT : glenum =       0wx8743
    val GL_MIRROR_CLAMP_TO_BORDER_EXT : glenum =     0wx8912

  (* GL_EXT_framebuffer_object *)
    val GL_FRAMEBUFFER_EXT : glenum =                 0wx8D40
    val GL_RENDERBUFFER_EXT : glenum =                0wx8D41
    val GL_STENCIL_INDEX1_EXT : glenum =              0wx8D46
    val GL_STENCIL_INDEX4_EXT : glenum =              0wx8D47
    val GL_STENCIL_INDEX8_EXT : glenum =              0wx8D48
    val GL_STENCIL_INDEX16_EXT : glenum =             0wx8D49
    val GL_RENDERBUFFER_WIDTH_EXT : glenum =           0wx8D42
    val GL_RENDERBUFFER_HEIGHT_EXT : glenum =          0wx8D43
    val GL_RENDERBUFFER_INTERNAL_FORMAT_EXT : glenum = 0wx8D44
    val GL_RENDERBUFFER_RED_SIZE_EXT : glenum =        0wx8D50
    val GL_RENDERBUFFER_GREEN_SIZE_EXT : glenum =      0wx8D51
    val GL_RENDERBUFFER_BLUE_SIZE_EXT : glenum =       0wx8D52
    val GL_RENDERBUFFER_ALPHA_SIZE_EXT : glenum =      0wx8D53
    val GL_RENDERBUFFER_DEPTH_SIZE_EXT : glenum =      0wx8D54
    val GL_RENDERBUFFER_STENCIL_SIZE_EXT : glenum =    0wx8D55
    val GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT : glenum =           0wx8CD0
    val GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT : glenum =           0wx8CD1
    val GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT : glenum =         0wx8CD2
    val GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT : glenum = 0wx8CD3
    val GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT : glenum =    0wx8CD4
    val GL_COLOR_ATTACHMENT0_EXT : glenum =           0wx8CE0
    val GL_COLOR_ATTACHMENT1_EXT : glenum =           0wx8CE1
    val GL_COLOR_ATTACHMENT2_EXT : glenum =           0wx8CE2
    val GL_COLOR_ATTACHMENT3_EXT : glenum =           0wx8CE3
    val GL_COLOR_ATTACHMENT4_EXT : glenum =           0wx8CE4
    val GL_COLOR_ATTACHMENT5_EXT : glenum =           0wx8CE5
    val GL_COLOR_ATTACHMENT6_EXT : glenum =           0wx8CE6
    val GL_COLOR_ATTACHMENT7_EXT : glenum =           0wx8CE7
    val GL_COLOR_ATTACHMENT8_EXT : glenum =           0wx8CE8
    val GL_COLOR_ATTACHMENT9_EXT : glenum =           0wx8CE9
    val GL_COLOR_ATTACHMENT10_EXT : glenum =          0wx8CEA
    val GL_COLOR_ATTACHMENT11_EXT : glenum =          0wx8CEB
    val GL_COLOR_ATTACHMENT12_EXT : glenum =          0wx8CEC
    val GL_COLOR_ATTACHMENT13_EXT : glenum =          0wx8CED
    val GL_COLOR_ATTACHMENT14_EXT : glenum =          0wx8CEE
    val GL_COLOR_ATTACHMENT15_EXT : glenum =          0wx8CEF
    val GL_DEPTH_ATTACHMENT_EXT : glenum =            0wx8D00
    val GL_STENCIL_ATTACHMENT_EXT : glenum =          0wx8D20
    val GL_FRAMEBUFFER_COMPLETE_EXT : glenum =                        0wx8CD5
    val GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT : glenum =           0wx8CD6
    val GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT : glenum =   0wx8CD7
    val GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT : glenum =           0wx8CD9
    val GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT : glenum =              0wx8CDA
    val GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT : glenum =          0wx8CDB
    val GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT : glenum =          0wx8CDC
    val GL_FRAMEBUFFER_UNSUPPORTED_EXT : glenum =                     0wx8CDD
    val GL_FRAMEBUFFER_BINDING_EXT : glenum =         0wx8CA6
    val GL_RENDERBUFFER_BINDING_EXT : glenum =        0wx8CA7
    val GL_MAX_COLOR_ATTACHMENTS_EXT : glenum =       0wx8CDF
    val GL_MAX_RENDERBUFFER_SIZE_EXT : glenum =       0wx84E8
    val GL_INVALID_FRAMEBUFFER_OPERATION_EXT : glenum = 0wx0506

  (* GL_EXT_packed_depth_stencil *)
    val GL_DEPTH_STENCIL_EXT : glenum =					0wx84F9
    val GL_UNSIGNED_INT_24_8_EXT : glenum =				0wx84FA
    val GL_DEPTH24_STENCIL8_EXT : glenum =					0wx88F0
    val GL_TEXTURE_STENCIL_SIZE_EXT : glenum =				0wx88F1

  (* GL_APPLE_vertex_array_range *)
    val GL_VERTEX_ARRAY_RANGE_APPLE : glenum =             0wx851D
    val GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE : glenum =      0wx851E
    val GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE : glenum = 0wx8520
    val GL_VERTEX_ARRAY_RANGE_POINTER_APPLE : glenum =     0wx8521
    val GL_VERTEX_ARRAY_STORAGE_HINT_APPLE : glenum =      0wx851F
    val GL_STORAGE_CLIENT_APPLE : glenum =                 0wx85B4
    val GL_STORAGE_PRIVATE_APPLE : glenum =                0wx85BD
    val GL_STORAGE_CACHED_APPLE : glenum =                 0wx85BE
    val GL_STORAGE_SHARED_APPLE : glenum =                 0wx85BF

  (* GL_APPLE_vertex_array_object *)
    val GL_VERTEX_ARRAY_BINDING_APPLE : glenum =      0wx85B5

  (* GL_APPLE_element_array *)
    val GL_ELEMENT_ARRAY_APPLE : glenum =             0wx8A0C
    val GL_ELEMENT_ARRAY_TYPE_APPLE : glenum =        0wx8A0D
    val GL_ELEMENT_ARRAY_POINTER_APPLE : glenum =     0wx8A0E
    val GL_ELEMENT_BUFFER_BINDING_APPLE : glenum =    0wx8A11

  (* GL_APPLE_fence *)
    val GL_DRAW_PIXELS_APPLE : glenum =              0wx8A0A
    val GL_FENCE_APPLE : glenum =             	      0wx8A0B
    val GL_BUFFER_OBJECT_APPLE : glenum =            0wx85B3

  (* GL_APPLE_specular_vector *)
    val GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE : glenum = 0wx85B0

  (* GL_APPLE_transform_hint *)
    val GL_TRANSFORM_HINT_APPLE : glenum =           0wx85B1

  (* GL_APPLE_client_storage *)
    val GL_UNPACK_CLIENT_STORAGE_APPLE : glenum =    0wx85B2

  (* GL_APPLE_ycbcr_422 *)
    val GL_YCBCR_422_APPLE : glenum =                 0wx85B9
    val GL_UNSIGNED_SHORT_8_8_APPLE : glenum =        0wx85BA
    val GL_UNSIGNED_SHORT_8_8_REV_APPLE : glenum =    0wx85BB

  (* GL_APPLE_texture_range *)
    val GL_TEXTURE_RANGE_LENGTH_APPLE : glenum =      0wx85B7
    val GL_TEXTURE_RANGE_POINTER_APPLE : glenum =     0wx85B8
    val GL_TEXTURE_STORAGE_HINT_APPLE : glenum =      0wx85BC
    val GL_TEXTURE_MINIMIZE_STORAGE_APPLE : glenum =  0wx85B6
    val GL_STORAGE_PRIVATE_APPLE : glenum =           0wx85BD
    val GL_STORAGE_CACHED_APPLE : glenum =            0wx85BE
    val GL_STORAGE_SHARED_APPLE : glenum =            0wx85BF

  (* GL_APPLE_float_pixels *)
    val GL_HALF_APPLE : glenum =                      0wx140B
    val GL_COLOR_FLOAT_APPLE : glenum =               0wx8A0F
    val GL_RGBA_FLOAT32_APPLE : glenum =              0wx8814
    val GL_RGB_FLOAT32_APPLE : glenum =               0wx8815
    val GL_ALPHA_FLOAT32_APPLE : glenum =             0wx8816
    val GL_INTENSITY_FLOAT32_APPLE : glenum =         0wx8817
    val GL_LUMINANCE_FLOAT32_APPLE : glenum =         0wx8818
    val GL_LUMINANCE_ALPHA_FLOAT32_APPLE : glenum =   0wx8819
    val GL_RGBA_FLOAT16_APPLE : glenum =              0wx881A
    val GL_RGB_FLOAT16_APPLE : glenum =               0wx881B
    val GL_ALPHA_FLOAT16_APPLE : glenum =             0wx881C
    val GL_INTENSITY_FLOAT16_APPLE : glenum =         0wx881D
    val GL_LUMINANCE_FLOAT16_APPLE : glenum =         0wx881E
    val GL_LUMINANCE_ALPHA_FLOAT16_APPLE : glenum =   0wx881F

  (* GL_APPLE_pixel_buffer *)
    val GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE : glenum = 0wx8A10

  (* GL_APPLE_vertex_program_evaluators *)
    val GL_VERTEX_ATTRIB_MAP1_APPLE : glenum =                      0wx8A00
    val GL_VERTEX_ATTRIB_MAP2_APPLE : glenum =                      0wx8A01
    val GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE : glenum =                 0wx8A02
    val GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE : glenum =                0wx8A03
    val GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE : glenum =                0wx8A04
    val GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE : glenum =               0wx8A05
    val GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE : glenum =                 0wx8A06
    val GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE : glenum =                0wx8A07
    val GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE : glenum =                0wx8A08
    val GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE : glenum =               0wx8A09

  (* GL_APPLE_flush_buffer_range *)
    val GL_BUFFER_SERIALIZED_MODIFY_APPLE : glenum = 0wx8A12
    val GL_BUFFER_FLUSHING_UNMAP_APPLE : glenum =    0wx8A13


  (* GL_ATI_blend_weighted_minmax *)
    val GL_MIN_WEIGHTED_ATI : glenum =               0wx877D
    val GL_MAX_WEIGHTED_ATI : glenum =               0wx877E

  (* GL_ATI_texture_env_combine3 *)
    val GL_MODULATE_ADD_ATI : glenum =               0wx8744
    val GL_MODULATE_SIGNED_ADD_ATI : glenum =        0wx8745
    val GL_MODULATE_SUBTRACT_ATI : glenum =          0wx8746

  (* GL_ATI_separate_stencil *)
    val GL_STENCIL_BACK_FUNC_ATI : glenum =            0wx8800
    val GL_STENCIL_BACK_FAIL_ATI : glenum =            0wx8801
    val GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI : glenum = 0wx8802
    val GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI : glenum = 0wx8803

  (* GL_ATI_array_rev_comps_in_4_bytes *)
    val GL_ARRAY_REV_COMPS_IN_4_BYTES_ATI : glenum = 0wx897C

  (* GL_ATI_texture_mirror_once *)
    val GL_MIRROR_CLAMP_ATI : glenum =                             0wx8742
    val GL_MIRROR_CLAMP_TO_EDGE_ATI : glenum =                     0wx8743

  (* GL_ATI_pn_triangles *)
    val GL_PN_TRIANGLES_ATI : glenum =                             0wx6090
    val GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI : glenum =       0wx6091
    val GL_PN_TRIANGLES_POINT_MODE_ATI : glenum =                  0wx6092
    val GL_PN_TRIANGLES_NORMAL_MODE_ATI : glenum =                 0wx6093
    val GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI : glenum =           0wx6094
    val GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI : glenum =           0wx6095
    val GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI : glenum =            0wx6096
    val GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI : glenum =          0wx6097
    val GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI : glenum =       0wx6098

  (* GL_ATI_text_fragment_shader *)
    val GL_TEXT_FRAGMENT_SHADER_ATI : glenum =                     0wx8200

  (* GL_ATI_blend_equation_separate *)
    val GL_ALPHA_BLEND_EQUATION_ATI : glenum =                     0wx883D

  (* GL_ATI_point_cull_mode *)
    val GL_POINT_CULL_MODE_ATI : glenum =                           0wx60B3
    val GL_POINT_CULL_CENTER_ATI : glenum =                         0wx60B4
    val GL_POINT_CULL_CLIP_ATI : glenum =                           0wx60B5

  (* GL_ATIX_pn_triangles *)
    val GL_PN_TRIANGLES_ATIX : glenum =                            0wx6090
    val GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATIX : glenum =      0wx6091
    val GL_PN_TRIANGLES_POINT_MODE_ATIX : glenum =                 0wx6092
    val GL_PN_TRIANGLES_NORMAL_MODE_ATIX : glenum =                0wx6093
    val GL_PN_TRIANGLES_TESSELATION_LEVEL_ATIX : glenum =          0wx6094
    val GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATIX : glenum =          0wx6095
    val GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATIX : glenum =           0wx6096
    val GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATIX : glenum =         0wx6097
    val GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATIX : glenum =      0wx6098

  (* GL_ATI_texture_compression_3dc *)
    val GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI : glenum =           0wx8837

  (* GL_ATI_texture_float *)
    val GL_RGBA_FLOAT32_ATI : glenum =                             0wx8814
    val GL_RGB_FLOAT32_ATI : glenum =                              0wx8815
    val GL_ALPHA_FLOAT32_ATI : glenum =                            0wx8816
    val GL_INTENSITY_FLOAT32_ATI : glenum =                        0wx8817
    val GL_LUMINANCE_FLOAT32_ATI : glenum =                        0wx8818
    val GL_LUMINANCE_ALPHA_FLOAT32_ATI : glenum =                  0wx8819
    val GL_RGBA_FLOAT16_ATI : glenum =                             0wx881A
    val GL_RGB_FLOAT16_ATI : glenum =                              0wx881B
    val GL_ALPHA_FLOAT16_ATI : glenum =                            0wx881C
    val GL_INTENSITY_FLOAT16_ATI : glenum =                        0wx881D
    val GL_LUMINANCE_FLOAT16_ATI : glenum =                        0wx881E
    val GL_LUMINANCE_ALPHA_FLOAT16_ATI : glenum =                  0wx881F


  (* GL_HP_image_transform *)
    val GL_IMAGE_SCALE_X_HP : glenum =               0wx8155
    val GL_IMAGE_SCALE_Y_HP : glenum =               0wx8156
    val GL_IMAGE_TRANSLATE_X_HP : glenum =           0wx8157
    val GL_IMAGE_TRANSLATE_Y_HP : glenum =           0wx8158
    val GL_IMAGE_ROTATE_ANGLE_HP : glenum =          0wx8159
    val GL_IMAGE_ROTATE_ORIGIN_X_HP : glenum =       0wx815A
    val GL_IMAGE_ROTATE_ORIGIN_Y_HP : glenum =       0wx815B
    val GL_IMAGE_MAG_FILTER_HP : glenum =            0wx815C
    val GL_IMAGE_MIN_FILTER_HP : glenum =            0wx815D
    val GL_IMAGE_CUBIC_WEIGHT_HP : glenum =          0wx815E
    val GL_CUBIC_HP : glenum =                       0wx815F
    val GL_AVERAGE_HP : glenum =                     0wx8160
    val GL_IMAGE_TRANSFORM_2D_HP : glenum =          0wx8161
    val GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP : glenum = 0wx8162
    val GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP : glenum = 0wx8163

  (* GL_HP_convolution_border_modes *)
    val GL_IGNORE_BORDER_HP : glenum =               0wx8150
    val GL_CONSTANT_BORDER_HP : glenum =             0wx8151
    val GL_REPLICATE_BORDER_HP : glenum =            0wx8153
    val GL_CONVOLUTION_BORDER_COLOR_HP : glenum =    0wx8154

  (* GL_HP_texture_lighting *)
    val GL_TEXTURE_LIGHTING_MODE_HP : glenum =       0wx8167
    val GL_TEXTURE_POST_SPECULAR_HP : glenum =       0wx8168
    val GL_TEXTURE_PRE_SPECULAR_HP : glenum =        0wx8169

  (* GL_HP_occlusion_test *)
    val GL_OCCLUSION_TEST_HP : glenum =              0wx8165
    val GL_OCCLUSION_TEST_RESULT_HP : glenum =       0wx8166


  (* GL_IBM_rasterpos_clip *)
    val GL_RASTER_POSITION_UNCLIPPED_IBM : glenum =  0wx19262

  (* GL_IBM_cull_vertex *)
    val GL_CULL_VERTEX_IBM : glenum =                0w103050

  (* GL_IBM_vertex_array_lists *)
    val GL_VERTEX_ARRAY_LIST_IBM : glenum =          0w103070
    val GL_NORMAL_ARRAY_LIST_IBM : glenum =          0w103071
    val GL_COLOR_ARRAY_LIST_IBM : glenum =           0w103072
    val GL_INDEX_ARRAY_LIST_IBM : glenum =           0w103073
    val GL_TEXTURE_COORD_ARRAY_LIST_IBM : glenum =   0w103074
    val GL_EDGE_FLAG_ARRAY_LIST_IBM : glenum =       0w103075
    val GL_FOG_COORDINATE_ARRAY_LIST_IBM : glenum =  0w103076
    val GL_SECONDARY_COLOR_ARRAY_LIST_IBM : glenum = 0w103077
    val GL_VERTEX_ARRAY_LIST_STRIDE_IBM : glenum =   0w103080
    val GL_NORMAL_ARRAY_LIST_STRIDE_IBM : glenum =   0w103081
    val GL_COLOR_ARRAY_LIST_STRIDE_IBM : glenum =    0w103082
    val GL_INDEX_ARRAY_LIST_STRIDE_IBM : glenum =    0w103083
    val GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM : glenum = 0w103084
    val GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM : glenum = 0w103085
    val GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM : glenum = 0w103086
    val GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM : glenum = 0w103087


  (* GL_INGR_color_clamp *)
    val GL_RED_MIN_CLAMP_INGR : glenum =             0wx8560
    val GL_GREEN_MIN_CLAMP_INGR : glenum =           0wx8561
    val GL_BLUE_MIN_CLAMP_INGR : glenum =            0wx8562
    val GL_ALPHA_MIN_CLAMP_INGR : glenum =           0wx8563
    val GL_RED_MAX_CLAMP_INGR : glenum =             0wx8564
    val GL_GREEN_MAX_CLAMP_INGR : glenum =           0wx8565
    val GL_BLUE_MAX_CLAMP_INGR : glenum =            0wx8566
    val GL_ALPHA_MAX_CLAMP_INGR : glenum =           0wx8567

  (* GL_INGR_interlace_read *)
    val GL_INTERLACE_READ_INGR : glenum =            0wx8568


  (* GL_INTEL_parallel_arrays *)
    val GL_PARALLEL_ARRAYS_INTEL : glenum =          0wx83F4
    val GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL : glenum = 0wx83F5
    val GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL : glenum = 0wx83F6
    val GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL : glenum = 0wx83F7
    val GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL : glenum = 0wx83F8


  (* GL_NV_texgen_reflection *)
    val GL_NORMAL_MAP_NV : glenum =                  0wx8511
    val GL_REFLECTION_MAP_NV : glenum =              0wx8512

  (* GL_NV_light_max_exponent *)
    val GL_MAX_SHININESS_NV : glenum =               0wx8504
    val GL_MAX_SPOT_EXPONENT_NV : glenum =           0wx8505

  (* GL_NV_vertex_array_range *)
    val GL_VERTEX_ARRAY_RANGE_NV : glenum =          0wx851D
    val GL_VERTEX_ARRAY_RANGE_LENGTH_NV : glenum =   0wx851E
    val GL_VERTEX_ARRAY_RANGE_VALID_NV : glenum =    0wx851F
    val GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV : glenum = 0wx8520
    val GL_VERTEX_ARRAY_RANGE_POINTER_NV : glenum =  0wx8521

  (* GL_NV_vertex_array_range2 *)
    val GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV : glenum = 0wx8533

  (* GL_NV_register_combiners *)
    val GL_REGISTER_COMBINERS_NV : glenum =          0wx8522
    val GL_VARIABLE_A_NV : glenum =                  0wx8523
    val GL_VARIABLE_B_NV : glenum =                  0wx8524
    val GL_VARIABLE_C_NV : glenum =                  0wx8525
    val GL_VARIABLE_D_NV : glenum =                  0wx8526
    val GL_VARIABLE_E_NV : glenum =                  0wx8527
    val GL_VARIABLE_F_NV : glenum =                  0wx8528
    val GL_VARIABLE_G_NV : glenum =                  0wx8529
    val GL_CONSTANT_COLOR0_NV : glenum =             0wx852A
    val GL_CONSTANT_COLOR1_NV : glenum =             0wx852B
    val GL_PRIMARY_COLOR_NV : glenum =               0wx852C
    val GL_SECONDARY_COLOR_NV : glenum =             0wx852D
    val GL_SPARE0_NV : glenum =                      0wx852E
    val GL_SPARE1_NV : glenum =                      0wx852F
    val GL_DISCARD_NV : glenum =                     0wx8530
    val GL_E_TIMES_F_NV : glenum =                   0wx8531
    val GL_SPARE0_PLUS_SECONDARY_COLOR_NV : glenum = 0wx8532
    val GL_UNSIGNED_IDENTITY_NV : glenum =           0wx8536
    val GL_UNSIGNED_INVERT_NV : glenum =             0wx8537
    val GL_EXPAND_NORMAL_NV : glenum =               0wx8538
    val GL_EXPAND_NEGATE_NV : glenum =               0wx8539
    val GL_HALF_BIAS_NORMAL_NV : glenum =            0wx853A
    val GL_HALF_BIAS_NEGATE_NV : glenum =            0wx853B
    val GL_SIGNED_IDENTITY_NV : glenum =             0wx853C
    val GL_SIGNED_NEGATE_NV : glenum =               0wx853D
    val GL_SCALE_BY_TWO_NV : glenum =                0wx853E
    val GL_SCALE_BY_FOUR_NV : glenum =               0wx853F
    val GL_SCALE_BY_ONE_HALF_NV : glenum =           0wx8540
    val GL_BIAS_BY_NEGATIVE_ONE_HALF_NV : glenum =   0wx8541
    val GL_COMBINER_INPUT_NV : glenum =              0wx8542
    val GL_COMBINER_MAPPING_NV : glenum =            0wx8543
    val GL_COMBINER_COMPONENT_USAGE_NV : glenum =    0wx8544
    val GL_COMBINER_AB_DOT_PRODUCT_NV : glenum =     0wx8545
    val GL_COMBINER_CD_DOT_PRODUCT_NV : glenum =     0wx8546
    val GL_COMBINER_MUX_SUM_NV : glenum =            0wx8547
    val GL_COMBINER_SCALE_NV : glenum =              0wx8548
    val GL_COMBINER_BIAS_NV : glenum =               0wx8549
    val GL_COMBINER_AB_OUTPUT_NV : glenum =          0wx854A
    val GL_COMBINER_CD_OUTPUT_NV : glenum =          0wx854B
    val GL_COMBINER_SUM_OUTPUT_NV : glenum =         0wx854C
    val GL_MAX_GENERAL_COMBINERS_NV : glenum =       0wx854D
    val GL_NUM_GENERAL_COMBINERS_NV : glenum =       0wx854E
    val GL_COLOR_SUM_CLAMP_NV : glenum =             0wx854F
    val GL_COMBINER0_NV : glenum =                   0wx8550
    val GL_COMBINER1_NV : glenum =                   0wx8551
    val GL_COMBINER2_NV : glenum =                   0wx8552
    val GL_COMBINER3_NV : glenum =                   0wx8553
    val GL_COMBINER4_NV : glenum =                   0wx8554
    val GL_COMBINER5_NV : glenum =                   0wx8555
    val GL_COMBINER6_NV : glenum =                   0wx8556
    val GL_COMBINER7_NV : glenum =                   0wx8557
  (* reuse GL_TEXTURE0_ARB *)
  (* reuse GL_TEXTURE1_ARB *)
  (* reuse GL_ZERO *)
  (* reuse GL_NONE *)
  (* reuse GL_FOG *)

  (* GL_NV_register_combiners2 *)
    val GL_PER_STAGE_CONSTANTS_NV : glenum =         0wx8535

  (* GL_NV_fog_distance *)
    val GL_FOG_DISTANCE_MODE_NV : glenum =           0wx855A
    val GL_EYE_RADIAL_NV : glenum =                  0wx855B
    val GL_EYE_PLANE_ABSOLUTE_NV : glenum =          0wx855C
  (* reuse GL_EYE_PLANE *)

  (* GL_NV_texgen_emboss *)
    val GL_EMBOSS_LIGHT_NV : glenum =                0wx855D
    val GL_EMBOSS_CONSTANT_NV : glenum =             0wx855E
    val GL_EMBOSS_MAP_NV : glenum =                  0wx855F

  (* GL_NV_vertex_program *)
    val GL_VERTEX_PROGRAM_NV : glenum =              0wx8620
    val GL_VERTEX_STATE_PROGRAM_NV : glenum =        0wx8621
    val GL_ATTRIB_ARRAY_SIZE_NV : glenum =           0wx8623
    val GL_ATTRIB_ARRAY_STRIDE_NV : glenum =         0wx8624
    val GL_ATTRIB_ARRAY_TYPE_NV : glenum =           0wx8625
    val GL_CURRENT_ATTRIB_NV : glenum =              0wx8626
    val GL_PROGRAM_LENGTH_NV : glenum =              0wx8627
    val GL_PROGRAM_STRING_NV : glenum =              0wx8628
    val GL_MODELVIEW_PROJECTION_NV : glenum =        0wx8629
    val GL_IDENTITY_NV : glenum =                    0wx862A
    val GL_INVERSE_NV : glenum =                     0wx862B
    val GL_TRANSPOSE_NV : glenum =                   0wx862C
    val GL_INVERSE_TRANSPOSE_NV : glenum =           0wx862D
    val GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV : glenum = 0wx862E
    val GL_MAX_TRACK_MATRICES_NV : glenum =          0wx862F
    val GL_MATRIX0_NV : glenum =                     0wx8630
    val GL_MATRIX1_NV : glenum =                     0wx8631
    val GL_MATRIX2_NV : glenum =                     0wx8632
    val GL_MATRIX3_NV : glenum =                     0wx8633
    val GL_MATRIX4_NV : glenum =                     0wx8634
    val GL_MATRIX5_NV : glenum =                     0wx8635
    val GL_MATRIX6_NV : glenum =                     0wx8636
    val GL_MATRIX7_NV : glenum =                     0wx8637
    val GL_CURRENT_MATRIX_STACK_DEPTH_NV : glenum =  0wx8640
    val GL_CURRENT_MATRIX_NV : glenum =              0wx8641
    val GL_VERTEX_PROGRAM_POINT_SIZE_NV : glenum =   0wx8642
    val GL_VERTEX_PROGRAM_TWO_SIDE_NV : glenum =     0wx8643
    val GL_PROGRAM_PARAMETER_NV : glenum =           0wx8644
    val GL_ATTRIB_ARRAY_POINTER_NV : glenum =        0wx8645
    val GL_PROGRAM_TARGET_NV : glenum =              0wx8646
    val GL_PROGRAM_RESIDENT_NV : glenum =            0wx8647
    val GL_TRACK_MATRIX_NV : glenum =                0wx8648
    val GL_TRACK_MATRIX_TRANSFORM_NV : glenum =      0wx8649
    val GL_VERTEX_PROGRAM_BINDING_NV : glenum =      0wx864A
    val GL_PROGRAM_ERROR_POSITION_NV : glenum =      0wx864B
    val GL_VERTEX_ATTRIB_ARRAY0_NV : glenum =        0wx8650
    val GL_VERTEX_ATTRIB_ARRAY1_NV : glenum =        0wx8651
    val GL_VERTEX_ATTRIB_ARRAY2_NV : glenum =        0wx8652
    val GL_VERTEX_ATTRIB_ARRAY3_NV : glenum =        0wx8653
    val GL_VERTEX_ATTRIB_ARRAY4_NV : glenum =        0wx8654
    val GL_VERTEX_ATTRIB_ARRAY5_NV : glenum =        0wx8655
    val GL_VERTEX_ATTRIB_ARRAY6_NV : glenum =        0wx8656
    val GL_VERTEX_ATTRIB_ARRAY7_NV : glenum =        0wx8657
    val GL_VERTEX_ATTRIB_ARRAY8_NV : glenum =        0wx8658
    val GL_VERTEX_ATTRIB_ARRAY9_NV : glenum =        0wx8659
    val GL_VERTEX_ATTRIB_ARRAY10_NV : glenum =       0wx865A
    val GL_VERTEX_ATTRIB_ARRAY11_NV : glenum =       0wx865B
    val GL_VERTEX_ATTRIB_ARRAY12_NV : glenum =       0wx865C
    val GL_VERTEX_ATTRIB_ARRAY13_NV : glenum =       0wx865D
    val GL_VERTEX_ATTRIB_ARRAY14_NV : glenum =       0wx865E
    val GL_VERTEX_ATTRIB_ARRAY15_NV : glenum =       0wx865F
    val GL_MAP1_VERTEX_ATTRIB0_4_NV : glenum =       0wx8660
    val GL_MAP1_VERTEX_ATTRIB1_4_NV : glenum =       0wx8661
    val GL_MAP1_VERTEX_ATTRIB2_4_NV : glenum =       0wx8662
    val GL_MAP1_VERTEX_ATTRIB3_4_NV : glenum =       0wx8663
    val GL_MAP1_VERTEX_ATTRIB4_4_NV : glenum =       0wx8664
    val GL_MAP1_VERTEX_ATTRIB5_4_NV : glenum =       0wx8665
    val GL_MAP1_VERTEX_ATTRIB6_4_NV : glenum =       0wx8666
    val GL_MAP1_VERTEX_ATTRIB7_4_NV : glenum =       0wx8667
    val GL_MAP1_VERTEX_ATTRIB8_4_NV : glenum =       0wx8668
    val GL_MAP1_VERTEX_ATTRIB9_4_NV : glenum =       0wx8669
    val GL_MAP1_VERTEX_ATTRIB10_4_NV : glenum =      0wx866A
    val GL_MAP1_VERTEX_ATTRIB11_4_NV : glenum =      0wx866B
    val GL_MAP1_VERTEX_ATTRIB12_4_NV : glenum =      0wx866C
    val GL_MAP1_VERTEX_ATTRIB13_4_NV : glenum =      0wx866D
    val GL_MAP1_VERTEX_ATTRIB14_4_NV : glenum =      0wx866E
    val GL_MAP1_VERTEX_ATTRIB15_4_NV : glenum =      0wx866F
    val GL_MAP2_VERTEX_ATTRIB0_4_NV : glenum =       0wx8670
    val GL_MAP2_VERTEX_ATTRIB1_4_NV : glenum =       0wx8671
    val GL_MAP2_VERTEX_ATTRIB2_4_NV : glenum =       0wx8672
    val GL_MAP2_VERTEX_ATTRIB3_4_NV : glenum =       0wx8673
    val GL_MAP2_VERTEX_ATTRIB4_4_NV : glenum =       0wx8674
    val GL_MAP2_VERTEX_ATTRIB5_4_NV : glenum =       0wx8675
    val GL_MAP2_VERTEX_ATTRIB6_4_NV : glenum =       0wx8676
    val GL_MAP2_VERTEX_ATTRIB7_4_NV : glenum =       0wx8677
    val GL_MAP2_VERTEX_ATTRIB8_4_NV : glenum =       0wx8678
    val GL_MAP2_VERTEX_ATTRIB9_4_NV : glenum =       0wx8679
    val GL_MAP2_VERTEX_ATTRIB10_4_NV : glenum =      0wx867A
    val GL_MAP2_VERTEX_ATTRIB11_4_NV : glenum =      0wx867B
    val GL_MAP2_VERTEX_ATTRIB12_4_NV : glenum =      0wx867C
    val GL_MAP2_VERTEX_ATTRIB13_4_NV : glenum =      0wx867D
    val GL_MAP2_VERTEX_ATTRIB14_4_NV : glenum =      0wx867E
    val GL_MAP2_VERTEX_ATTRIB15_4_NV : glenum =      0wx867F

  (* GL_NV_texture_shader *)
    val GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV : glenum =	0wx86D9
    val GL_UNSIGNED_INT_S8_S8_8_8_NV : glenum =			0wx86DA
    val GL_UNSIGNED_INT_8_8_S8_S8_REV_NV : glenum =		0wx86DB
    val GL_DSDT_MAG_INTENSITY_NV : glenum =			0wx86DC
    val GL_TEXTURE_SHADER_NV : glenum =				0wx86DE
    val GL_SHADER_OPERATION_NV : glenum =			0wx86DF

    val GL_CULL_MODES_NV : glenum =                                 0wx86E0
    val GL_OFFSET_TEXTURE_MATRIX_NV : glenum =                      0wx86E1
    val GL_OFFSET_TEXTURE_SCALE_NV : glenum =                       0wx86E2
    val GL_OFFSET_TEXTURE_BIAS_NV : glenum =                        0wx86E3
    val GL_OFFSET_TEXTURE_2D_MATRIX_NV = GL_OFFSET_TEXTURE_MATRIX_NV
    val GL_OFFSET_TEXTURE_2D_SCALE_NV = GL_OFFSET_TEXTURE_SCALE_NV
    val GL_OFFSET_TEXTURE_2D_BIAS_NV = GL_OFFSET_TEXTURE_BIAS_NV
    val GL_PREVIOUS_TEXTURE_INPUT_NV : glenum =                     0wx86E4
    val GL_CONST_EYE_NV : glenum =                                  0wx86E5
    val GL_SHADER_CONSISTENT_NV : glenum =                          0wx86DD
    val GL_PASS_THROUGH_NV : glenum =                               0wx86E6
    val GL_CULL_FRAGMENT_NV : glenum =                              0wx86E7
    val GL_OFFSET_TEXTURE_2D_NV : glenum =                          0wx86E8
    val GL_OFFSET_TEXTURE_RECTANGLE_NV : glenum =                   0wx864C
    val GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV : glenum =             0wx864D
    val GL_DEPENDENT_AR_TEXTURE_2D_NV : glenum =                    0wx86E9
    val GL_DEPENDENT_GB_TEXTURE_2D_NV : glenum =                    0wx86EA
    val GL_DOT_PRODUCT_NV : glenum =                                0wx86EC
    val GL_DOT_PRODUCT_DEPTH_REPLACE_NV : glenum =                  0wx86ED
    val GL_DOT_PRODUCT_TEXTURE_2D_NV : glenum =                     0wx86EE
    val GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV : glenum =              0wx864E
    val GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV : glenum =               0wx86F0
    val GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV : glenum =               0wx86F1
    val GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV : glenum =               0wx86F2
    val GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV : glenum =     0wx86F3
    val GL_HILO_NV : glenum =                                       0wx86F4
    val GL_DSDT_NV : glenum =                                       0wx86F5
    val GL_DSDT_MAG_NV : glenum =                                   0wx86F6
    val GL_DSDT_MAG_VIB_NV : glenum =                               0wx86F7
    val GL_HILO16_NV : glenum =                                     0wx86F8
    val GL_SIGNED_HILO_NV : glenum =                                0wx86F9
    val GL_SIGNED_HILO16_NV : glenum =                              0wx86FA
    val GL_SIGNED_RGBA_NV : glenum =                                0wx86FB
    val GL_SIGNED_RGBA8_NV : glenum =                               0wx86FC
    val GL_SIGNED_RGB_NV : glenum =                                 0wx86FE
    val GL_SIGNED_RGB8_NV : glenum =                                0wx86FF
    val GL_SIGNED_LUMINANCE_NV : glenum =                           0wx8701
    val GL_SIGNED_LUMINANCE8_NV : glenum =                          0wx8702
    val GL_SIGNED_LUMINANCE_ALPHA_NV : glenum =                     0wx8703
    val GL_SIGNED_LUMINANCE8_ALPHA8_NV : glenum =                   0wx8704
    val GL_SIGNED_ALPHA_NV : glenum =                               0wx8705
    val GL_SIGNED_ALPHA8_NV : glenum =                              0wx8706
    val GL_SIGNED_INTENSITY_NV : glenum =                           0wx8707
    val GL_SIGNED_INTENSITY8_NV : glenum =                          0wx8708
    val GL_DSDT8_NV : glenum =                                      0wx8709
    val GL_DSDT8_MAG8_NV : glenum =                                 0wx870A
    val GL_DSDT8_MAG8_INTENSITY8_NV : glenum =                      0wx870B
    val GL_SIGNED_RGB_UNSIGNED_ALPHA_NV : glenum =                  0wx870C
    val GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV : glenum =                0wx870D
    val GL_HI_SCALE_NV : glenum =                                   0wx870E
    val GL_LO_SCALE_NV : glenum =                                   0wx870F
    val GL_DS_SCALE_NV : glenum =                                   0wx8710
    val GL_DT_SCALE_NV : glenum =                                   0wx8711
    val GL_MAGNITUDE_SCALE_NV : glenum =                            0wx8712
    val GL_VIBRANCE_SCALE_NV : glenum =                             0wx8713
    val GL_HI_BIAS_NV : glenum =                                    0wx8714
    val GL_LO_BIAS_NV : glenum =                                    0wx8715
    val GL_DS_BIAS_NV : glenum =                                    0wx8716
    val GL_DT_BIAS_NV : glenum =                                    0wx8717
    val GL_MAGNITUDE_BIAS_NV : glenum =                             0wx8718
    val GL_VIBRANCE_BIAS_NV : glenum =                              0wx8719
    val GL_TEXTURE_BORDER_VALUES_NV : glenum =                      0wx871A
    val GL_TEXTURE_HI_SIZE_NV : glenum =                            0wx871B
    val GL_TEXTURE_LO_SIZE_NV : glenum =                            0wx871C
    val GL_TEXTURE_DS_SIZE_NV : glenum =                            0wx871D
    val GL_TEXTURE_DT_SIZE_NV : glenum =                            0wx871E
    val GL_TEXTURE_MAG_SIZE_NV : glenum =                           0wx871F

  (* GL_NV_texture_shader2 *)
    val GL_DOT_PRODUCT_TEXTURE_3D_NV : glenum =                     0wx86EF

  (* GL_NV_texture_shader3 *)
    val GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV : glenum =               0wx8850
    val GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV : glenum =         0wx8851
    val GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV : glenum =        0wx8852
    val GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV : glenum =  0wx8853
    val GL_OFFSET_HILO_TEXTURE_2D_NV : glenum =                     0wx8854
    val GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV : glenum =              0wx8855
    val GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV : glenum =          0wx8856
    val GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV : glenum =   0wx8857
    val GL_DEPENDENT_HILO_TEXTURE_2D_NV : glenum =                  0wx8858
    val GL_DEPENDENT_RGB_TEXTURE_3D_NV : glenum =                   0wx8859
    val GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV : glenum =             0wx885A
    val GL_DOT_PRODUCT_PASS_THROUGH_NV : glenum =                   0wx885B
    val GL_DOT_PRODUCT_TEXTURE_1D_NV : glenum =                     0wx885C
    val GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV : glenum =           0wx885D
    val GL_HILO8_NV : glenum =                                      0wx885E
    val GL_SIGNED_HILO8_NV : glenum =                               0wx885F
    val GL_FORCE_BLUE_TO_ONE_NV : glenum =                          0wx8860

  (* GL_NV_point_sprite *)
    val GL_POINT_SPRITE_NV : glenum =                               0wx8861
    val GL_COORD_REPLACE_NV : glenum =                              0wx8862
    val GL_POINT_SPRITE_R_MODE_NV : glenum =                        0wx8863

  (* GL_NV_depth_clamp *)
    val GL_DEPTH_CLAMP_NV : glenum =                                0wx864F

  (* GL_NV_multisample_filter_hint *)
    val GL_MULTISAMPLE_FILTER_HINT_NV : glenum =                    0wx8534

  (* GL_NV_light_max_exponent *)
    val GL_MAX_SHININESS_NV : glenum =					0wx8504
    val GL_MAX_SPOT_EXPONENT_NV : glenum =				0wx8505

  (* GL_NV_fragment_program2 || GL_NV_vertex_program2_option *)
    val GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV : glenum =              0wx88F4
    val GL_MAX_PROGRAM_CALL_DEPTH_NV : glenum =                     0wx88F5

  (* GL_NV_fragment_program2 *)
    val GL_MAX_PROGRAM_IF_DEPTH_NV : glenum =                       0wx88F6
    val GL_MAX_PROGRAM_LOOP_DEPTH_NV : glenum =                     0wx88F7
    val GL_MAX_PROGRAM_LOOP_COUNT_NV : glenum =                     0wx88F8

  (* GL_PGI_vertex_hints *)
    val GL_VERTEX_DATA_HINT_PGI : glenum =           0wx1A22A
    val GL_VERTEX_CONSISTENT_HINT_PGI : glenum =     0wx1A22B
    val GL_MATERIAL_SIDE_HINT_PGI : glenum =         0wx1A22C
    val GL_MAX_VERTEX_HINT_PGI : glenum =            0wx1A22D
    val GL_COLOR3_BIT_PGI : glenum =                 0wx00010000
    val GL_COLOR4_BIT_PGI : glenum =                 0wx00020000
    val GL_EDGEFLAG_BIT_PGI : glenum =               0wx00040000
    val GL_INDEX_BIT_PGI : glenum =                  0wx00080000
    val GL_MAT_AMBIENT_BIT_PGI : glenum =            0wx00100000
    val GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI : glenum = 0wx00200000
    val GL_MAT_DIFFUSE_BIT_PGI : glenum =            0wx00400000
    val GL_MAT_EMISSION_BIT_PGI : glenum =           0wx00800000
    val GL_MAT_COLOR_INDEXES_BIT_PGI : glenum =      0wx01000000
    val GL_MAT_SHININESS_BIT_PGI : glenum =          0wx02000000
    val GL_MAT_SPECULAR_BIT_PGI : glenum =           0wx04000000
    val GL_NORMAL_BIT_PGI : glenum =                 0wx08000000
    val GL_TEXCOORD1_BIT_PGI : glenum =              0wx10000000
    val GL_TEXCOORD2_BIT_PGI : glenum =              0wx20000000
    val GL_TEXCOORD3_BIT_PGI : glenum =              0wx40000000
    val GL_TEXCOORD4_BIT_PGI : glenum =              0wx80000000
    val GL_VERTEX23_BIT_PGI : glenum =               0wx00000004
    val GL_VERTEX4_BIT_PGI : glenum =                0wx00000008

  (* GL_PGI_misc_hints *)
    val GL_PREFER_DOUBLEBUFFER_HINT_PGI : glenum =   0wx1A1F8
    val GL_CONSERVE_MEMORY_HINT_PGI : glenum =       0wx1A1FD
    val GL_RECLAIM_MEMORY_HINT_PGI : glenum =        0wx1A1FE
    val GL_NATIVE_GRAPHICS_HANDLE_PGI : glenum =     0wx1A202
    val GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI : glenum = 0wx1A203
    val GL_NATIVE_GRAPHICS_END_HINT_PGI : glenum =   0wx1A204
    val GL_ALWAYS_FAST_HINT_PGI : glenum =           0wx1A20C
    val GL_ALWAYS_SOFT_HINT_PGI : glenum =           0wx1A20D
    val GL_ALLOW_DRAW_OBJ_HINT_PGI : glenum =        0wx1A20E
    val GL_ALLOW_DRAW_WIN_HINT_PGI : glenum =        0wx1A20F
    val GL_ALLOW_DRAW_FRG_HINT_PGI : glenum =        0wx1A210
    val GL_ALLOW_DRAW_MEM_HINT_PGI : glenum =        0wx1A211
    val GL_STRICT_DEPTHFUNC_HINT_PGI : glenum =      0wx1A216
    val GL_STRICT_LIGHTING_HINT_PGI : glenum =       0wx1A217
    val GL_STRICT_SCISSOR_HINT_PGI : glenum =        0wx1A218
    val GL_FULL_STIPPLE_HINT_PGI : glenum =          0wx1A219
    val GL_CLIP_NEAR_HINT_PGI : glenum =             0wx1A220
    val GL_CLIP_FAR_HINT_PGI : glenum =              0wx1A221
    val GL_WIDE_LINE_HINT_PGI : glenum =             0wx1A222
    val GL_BACK_NORMALS_HINT_PGI : glenum =          0wx1A223


  (* GL_REND_screen_coordinates *)
    val GL_SCREEN_COORDINATES_REND : glenum =        0wx8490
    val GL_INVERTED_SCREEN_W_REND : glenum =         0wx8491


  (* GL_SGI_color_matrix *)
    val GL_COLOR_MATRIX_SGI : glenum =               0wx80B1
    val GL_COLOR_MATRIX_STACK_DEPTH_SGI : glenum =   0wx80B2
    val GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI : glenum = 0wx80B3
    val GL_POST_COLOR_MATRIX_RED_SCALE_SGI : glenum = 0wx80B4
    val GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI : glenum = 0wx80B5
    val GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI : glenum = 0wx80B6
    val GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI : glenum = 0wx80B7
    val GL_POST_COLOR_MATRIX_RED_BIAS_SGI : glenum = 0wx80B8
    val GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI : glenum = 0wx80B9
    val GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI : glenum = 0wx80BA
    val GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI : glenum = 0wx80BB

  (* GL_SGI_color_table *)
    val GL_COLOR_TABLE_SGI : glenum =                0wx80D0
    val GL_POST_CONVOLUTION_COLOR_TABLE_SGI : glenum = 0wx80D1
    val GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI : glenum = 0wx80D2
    val GL_PROXY_COLOR_TABLE_SGI : glenum =          0wx80D3
    val GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI : glenum = 0wx80D4
    val GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI : glenum = 0wx80D5
    val GL_COLOR_TABLE_SCALE_SGI : glenum =          0wx80D6
    val GL_COLOR_TABLE_BIAS_SGI : glenum =           0wx80D7
    val GL_COLOR_TABLE_FORMAT_SGI : glenum =         0wx80D8
    val GL_COLOR_TABLE_WIDTH_SGI : glenum =          0wx80D9
    val GL_COLOR_TABLE_RED_SIZE_SGI : glenum =       0wx80DA
    val GL_COLOR_TABLE_GREEN_SIZE_SGI : glenum =     0wx80DB
    val GL_COLOR_TABLE_BLUE_SIZE_SGI : glenum =      0wx80DC
    val GL_COLOR_TABLE_ALPHA_SIZE_SGI : glenum =     0wx80DD
    val GL_COLOR_TABLE_LUMINANCE_SIZE_SGI : glenum = 0wx80DE
    val GL_COLOR_TABLE_INTENSITY_SIZE_SGI : glenum = 0wx80DF

  (* GL_SGI_texture_color_table *)
    val GL_TEXTURE_COLOR_TABLE_SGI : glenum =        0wx80BC
    val GL_PROXY_TEXTURE_COLOR_TABLE_SGI : glenum =  0wx80BD

  (* GL_SGI_depth_pass_instrument *)
    val GL_DEPTH_PASS_INSTRUMENT_SGIX : glenum =     0wx8310
    val GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX : glenum = 0wx8311
    val GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX : glenum = 0wx8312

  (* GL_SGIS_texture_filter4 *)
    val GL_FILTER4_SGIS : glenum =                   0wx8146
    val GL_TEXTURE_FILTER4_SIZE_SGIS : glenum =      0wx8147

  (* GL_SGIS_pixel_texture *)
    val GL_PIXEL_TEXTURE_SGIS : glenum =             0wx8353
    val GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS : glenum = 0wx8354
    val GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS : glenum = 0wx8355
    val GL_PIXEL_GROUP_COLOR_SGIS : glenum =         0wx8356

  (* GL_SGIS_texture4D *)
    val GL_PACK_SKIP_VOLUMES_SGIS : glenum =         0wx8130
    val GL_PACK_IMAGE_DEPTH_SGIS : glenum =          0wx8131
    val GL_UNPACK_SKIP_VOLUMES_SGIS : glenum =       0wx8132
    val GL_UNPACK_IMAGE_DEPTH_SGIS : glenum =        0wx8133
    val GL_TEXTURE_4D_SGIS : glenum =                0wx8134
    val GL_PROXY_TEXTURE_4D_SGIS : glenum =          0wx8135
    val GL_TEXTURE_4DSIZE_SGIS : glenum =            0wx8136
    val GL_TEXTURE_WRAP_Q_SGIS : glenum =            0wx8137
    val GL_MAX_4D_TEXTURE_SIZE_SGIS : glenum =       0wx8138
    val GL_TEXTURE_4D_BINDING_SGIS : glenum =        0wx814F

  (* GL_SGIS_detail_texture *)
    val GL_DETAIL_TEXTURE_2D_SGIS : glenum =         0wx8095
    val GL_DETAIL_TEXTURE_2D_BINDING_SGIS : glenum = 0wx8096
    val GL_LINEAR_DETAIL_SGIS : glenum =             0wx8097
    val GL_LINEAR_DETAIL_ALPHA_SGIS : glenum =       0wx8098
    val GL_LINEAR_DETAIL_COLOR_SGIS : glenum =       0wx8099
    val GL_DETAIL_TEXTURE_LEVEL_SGIS : glenum =      0wx809A
    val GL_DETAIL_TEXTURE_MODE_SGIS : glenum =       0wx809B
    val GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS : glenum = 0wx809C

  (* GL_SGIS_sharpen_texture *)
    val GL_LINEAR_SHARPEN_SGIS : glenum =            0wx80AD
    val GL_LINEAR_SHARPEN_ALPHA_SGIS : glenum =      0wx80AE
    val GL_LINEAR_SHARPEN_COLOR_SGIS : glenum =      0wx80AF
    val GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS : glenum = 0wx80B0

  (* GL_SGIS_texture_lod *)
    val GL_TEXTURE_MIN_LOD_SGIS : glenum =           0wx813A
    val GL_TEXTURE_MAX_LOD_SGIS : glenum =           0wx813B
    val GL_TEXTURE_BASE_LEVEL_SGIS : glenum =        0wx813C
    val GL_TEXTURE_MAX_LEVEL_SGIS : glenum =         0wx813D

  (* GL_SGIS_multisample *)
    val GL_MULTISAMPLE_SGIS : glenum =               0wx809D
    val GL_SAMPLE_ALPHA_TO_MASK_SGIS : glenum =      0wx809E
    val GL_SAMPLE_ALPHA_TO_ONE_SGIS : glenum =       0wx809F
    val GL_SAMPLE_MASK_SGIS : glenum =               0wx80A0
    val GL_1PASS_SGIS : glenum =                     0wx80A1
    val GL_2PASS_0_SGIS : glenum =                   0wx80A2
    val GL_2PASS_1_SGIS : glenum =                   0wx80A3
    val GL_4PASS_0_SGIS : glenum =                   0wx80A4
    val GL_4PASS_1_SGIS : glenum =                   0wx80A5
    val GL_4PASS_2_SGIS : glenum =                   0wx80A6
    val GL_4PASS_3_SGIS : glenum =                   0wx80A7
    val GL_SAMPLE_BUFFERS_SGIS : glenum =            0wx80A8
    val GL_SAMPLES_SGIS : glenum =                   0wx80A9
    val GL_SAMPLE_MASK_VALUE_SGIS : glenum =         0wx80AA
    val GL_SAMPLE_MASK_INVERT_SGIS : glenum =        0wx80AB
    val GL_SAMPLE_PATTERN_SGIS : glenum =            0wx80AC

  (* GL_SGIS_generate_mipmap *)
    val GL_GENERATE_MIPMAP_SGIS : glenum =           0wx8191
    val GL_GENERATE_MIPMAP_HINT_SGIS : glenum =      0wx8192

  (* GL_SGIS_texture_edge_clamp *)
    val GL_CLAMP_TO_EDGE_SGIS : glenum =             0wx812F

  (* GL_SGIS_texture_border_clamp *)
    val GL_CLAMP_TO_BORDER_SGIS : glenum =           0wx812D

  (* GL_SGIS_texture_select *)
    val GL_DUAL_ALPHA4_SGIS : glenum =               0wx8110
    val GL_DUAL_ALPHA8_SGIS : glenum =               0wx8111
    val GL_DUAL_ALPHA12_SGIS : glenum =              0wx8112
    val GL_DUAL_ALPHA16_SGIS : glenum =              0wx8113
    val GL_DUAL_LUMINANCE4_SGIS : glenum =           0wx8114
    val GL_DUAL_LUMINANCE8_SGIS : glenum =           0wx8115
    val GL_DUAL_LUMINANCE12_SGIS : glenum =          0wx8116
    val GL_DUAL_LUMINANCE16_SGIS : glenum =          0wx8117
    val GL_DUAL_INTENSITY4_SGIS : glenum =           0wx8118
    val GL_DUAL_INTENSITY8_SGIS : glenum =           0wx8119
    val GL_DUAL_INTENSITY12_SGIS : glenum =          0wx811A
    val GL_DUAL_INTENSITY16_SGIS : glenum =          0wx811B
    val GL_DUAL_LUMINANCE_ALPHA4_SGIS : glenum =     0wx811C
    val GL_DUAL_LUMINANCE_ALPHA8_SGIS : glenum =     0wx811D
    val GL_QUAD_ALPHA4_SGIS : glenum =               0wx811E
    val GL_QUAD_ALPHA8_SGIS : glenum =               0wx811F
    val GL_QUAD_LUMINANCE4_SGIS : glenum =           0wx8120
    val GL_QUAD_LUMINANCE8_SGIS : glenum =           0wx8121
    val GL_QUAD_INTENSITY4_SGIS : glenum =           0wx8122
    val GL_QUAD_INTENSITY8_SGIS : glenum =           0wx8123
    val GL_DUAL_TEXTURE_SELECT_SGIS : glenum =       0wx8124
    val GL_QUAD_TEXTURE_SELECT_SGIS : glenum =       0wx8125

  (* GL_SGIS_point_parameters *)
    val GL_POINT_SIZE_MIN_EXT : glenum =             0wx8126
    val GL_POINT_SIZE_MIN_SGIS : glenum =            0wx8126
    val GL_POINT_SIZE_MAX_EXT : glenum =             0wx8127
    val GL_POINT_SIZE_MAX_SGIS : glenum =            0wx8127
    val GL_POINT_FADE_THRESHOLD_SIZE_EXT : glenum =  0wx8128
    val GL_POINT_FADE_THRESHOLD_SIZE_SGIS : glenum = 0wx8128
    val GL_DISTANCE_ATTENUATION_EXT : glenum =       0wx8129
    val GL_DISTANCE_ATTENUATION_SGIS : glenum =      0wx8129

  (* GL_SGIS_fog_function *)
    val GL_FOG_FUNC_SGIS : glenum =                  0wx812A
    val GL_FOG_FUNC_POINTS_SGIS : glenum =           0wx812B
    val GL_MAX_FOG_FUNC_POINTS_SGIS : glenum =       0wx812C

  (* GL_SGIS_point_line_texgen *)
    val GL_EYE_DISTANCE_TO_POINT_SGIS : glenum =     0wx81F0
    val GL_OBJECT_DISTANCE_TO_POINT_SGIS : glenum =  0wx81F1
    val GL_EYE_DISTANCE_TO_LINE_SGIS : glenum =      0wx81F2
    val GL_OBJECT_DISTANCE_TO_LINE_SGIS : glenum =   0wx81F3
    val GL_EYE_POINT_SGIS : glenum =                 0wx81F4
    val GL_OBJECT_POINT_SGIS : glenum =              0wx81F5
    val GL_EYE_LINE_SGIS : glenum =                  0wx81F6
    val GL_OBJECT_LINE_SGIS : glenum =               0wx81F7

  (* GL_SGIS_texture_color_mask *)
    val GL_TEXTURE_COLOR_WRITEMASK_SGIS : glenum =   0wx81EF

  (* GL_SGIX_pixel_texture *)
    val GL_PIXEL_TEX_GEN_SGIX : glenum =             0wx8139
    val GL_PIXEL_TEX_GEN_MODE_SGIX : glenum =        0wx832B

  (* GL_SGIX_clipmap *)
    val GL_LINEAR_CLIPMAP_LINEAR_SGIX : glenum =     0wx8170
    val GL_TEXTURE_CLIPMAP_CENTER_SGIX : glenum =    0wx8171
    val GL_TEXTURE_CLIPMAP_FRAME_SGIX : glenum =     0wx8172
    val GL_TEXTURE_CLIPMAP_OFFSET_SGIX : glenum =    0wx8173
    val GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX : glenum = 0wx8174
    val GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX : glenum = 0wx8175
    val GL_TEXTURE_CLIPMAP_DEPTH_SGIX : glenum =     0wx8176
    val GL_MAX_CLIPMAP_DEPTH_SGIX : glenum =         0wx8177
    val GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX : glenum = 0wx8178
    val GL_NEAREST_CLIPMAP_NEAREST_SGIX : glenum =   0wx844D
    val GL_NEAREST_CLIPMAP_LINEAR_SGIX : glenum =    0wx844E
    val GL_LINEAR_CLIPMAP_NEAREST_SGIX : glenum =    0wx844F

  (* GL_SGIX_shadow *)
    val GL_TEXTURE_COMPARE_SGIX : glenum =           0wx819A
    val GL_TEXTURE_COMPARE_OPERATOR_SGIX : glenum =  0wx819B
    val GL_TEXTURE_LEQUAL_R_SGIX : glenum =          0wx819C
    val GL_TEXTURE_GEQUAL_R_SGIX : glenum =          0wx819D

  (* GL_SGIX_interlace *)
    val GL_INTERLACE_SGIX : glenum =                 0wx8094

  (* GL_SGIX_pixel_tiles *)
    val GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX : glenum = 0wx813E
    val GL_PIXEL_TILE_CACHE_INCREMENT_SGIX : glenum = 0wx813F
    val GL_PIXEL_TILE_WIDTH_SGIX : glenum =          0wx8140
    val GL_PIXEL_TILE_HEIGHT_SGIX : glenum =         0wx8141
    val GL_PIXEL_TILE_GRID_WIDTH_SGIX : glenum =     0wx8142
    val GL_PIXEL_TILE_GRID_HEIGHT_SGIX : glenum =    0wx8143
    val GL_PIXEL_TILE_GRID_DEPTH_SGIX : glenum =     0wx8144
    val GL_PIXEL_TILE_CACHE_SIZE_SGIX : glenum =     0wx8145

  (* GL_SGIX_sprite *)
    val GL_SPRITE_SGIX : glenum =                    0wx8148
    val GL_SPRITE_MODE_SGIX : glenum =               0wx8149
    val GL_SPRITE_AXIS_SGIX : glenum =               0wx814A
    val GL_SPRITE_TRANSLATION_SGIX : glenum =        0wx814B
    val GL_SPRITE_AXIAL_SGIX : glenum =              0wx814C
    val GL_SPRITE_OBJECT_ALIGNED_SGIX : glenum =     0wx814D
    val GL_SPRITE_EYE_ALIGNED_SGIX : glenum =        0wx814E

  (* GL_SGIX_texture_multi_buffer *)
    val GL_TEXTURE_MULTI_BUFFER_HINT_SGIX : glenum = 0wx812E

  (* GL_SGIX_instruments *)
    val GL_INSTRUMENT_BUFFER_POINTER_SGIX : glenum = 0wx8180
    val GL_INSTRUMENT_MEASUREMENTS_SGIX : glenum =   0wx8181

  (* GL_SGIX_texture_scale_bias *)
    val GL_POST_TEXTURE_FILTER_BIAS_SGIX : glenum =  0wx8179
    val GL_POST_TEXTURE_FILTER_SCALE_SGIX : glenum = 0wx817A
    val GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX : glenum = 0wx817B
    val GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX : glenum = 0wx817C

  (* GL_SGIX_framezoom *)
    val GL_FRAMEZOOM_SGIX : glenum =                 0wx818B
    val GL_FRAMEZOOM_FACTOR_SGIX : glenum =          0wx818C
    val GL_MAX_FRAMEZOOM_FACTOR_SGIX : glenum =      0wx818D

  (* GL_SGIX_polynomial_ffd *)
    val GL_GEOMETRY_DEFORMATION_SGIX : glenum =      0wx8194
    val GL_TEXTURE_DEFORMATION_SGIX : glenum =       0wx8195
    val GL_DEFORMATIONS_MASK_SGIX : glenum =         0wx8196
    val GL_MAX_DEFORMATION_ORDER_SGIX : glenum =     0wx8197

  (* GL_SGIX_reference_plane *)
    val GL_REFERENCE_PLANE_SGIX : glenum =           0wx817D
    val GL_REFERENCE_PLANE_EQUATION_SGIX : glenum =  0wx817E

  (* GL_SGIX_depth_texture *)
    val GL_DEPTH_COMPONENT16_SGIX : glenum =         0wx81A5
    val GL_DEPTH_COMPONENT24_SGIX : glenum =         0wx81A6
    val GL_DEPTH_COMPONENT32_SGIX : glenum =         0wx81A7

  (* GL_SGIX_fog_offset *)
    val GL_FOG_OFFSET_SGIX : glenum =                0wx8198
    val GL_FOG_OFFSET_VALUE_SGIX : glenum =          0wx8199

  (* GL_SGIX_texture_add_env *)
    val GL_TEXTURE_ENV_BIAS_SGIX : glenum =          0wx80BE

  (* GL_SGIX_list_priority *)
    val GL_LIST_PRIORITY_SGIX : glenum =             0wx8182

  (* GL_SGIX_ir_instrument1 *)
    val GL_IR_INSTRUMENT1_SGIX : glenum =            0wx817F

  (* GL_SGIX_calligraphic_fragment *)
    val GL_CALLIGRAPHIC_FRAGMENT_SGIX : glenum =     0wx8183

  (* GL_SGIX_texture_lod_bias *)
    val GL_TEXTURE_LOD_BIAS_S_SGIX : glenum =        0wx818E
    val GL_TEXTURE_LOD_BIAS_T_SGIX : glenum =        0wx818F
    val GL_TEXTURE_LOD_BIAS_R_SGIX : glenum =        0wx8190

  (* GL_SGIX_ycrcb *)
    val GL_YCRCB_422_SGIX : glenum =                 0wx81BB
    val GL_YCRCB_444_SGIX : glenum =                 0wx81BC

  (* GL_SGIX_fragment_lighting *)
    val GL_FRAGMENT_LIGHTING_SGIX : glenum =         0wx8400
    val GL_FRAGMENT_COLOR_MATERIAL_SGIX : glenum =   0wx8401
    val GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX : glenum = 0wx8402
    val GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX : glenum = 0wx8403
    val GL_MAX_FRAGMENT_LIGHTS_SGIX : glenum =       0wx8404
    val GL_MAX_ACTIVE_LIGHTS_SGIX : glenum =         0wx8405
    val GL_CURRENT_RASTER_NORMAL_SGIX : glenum =     0wx8406
    val GL_LIGHT_ENV_MODE_SGIX : glenum =            0wx8407
    val GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX : glenum = 0wx8408
    val GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX : glenum = 0wx8409
    val GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX : glenum = 0wx840A
    val GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX : glenum = 0wx840B
    val GL_FRAGMENT_LIGHT0_SGIX : glenum =           0wx840C
    val GL_FRAGMENT_LIGHT1_SGIX : glenum =           0wx840D
    val GL_FRAGMENT_LIGHT2_SGIX : glenum =           0wx840E
    val GL_FRAGMENT_LIGHT3_SGIX : glenum =           0wx840F
    val GL_FRAGMENT_LIGHT4_SGIX : glenum =           0wx8410
    val GL_FRAGMENT_LIGHT5_SGIX : glenum =           0wx8411
    val GL_FRAGMENT_LIGHT6_SGIX : glenum =           0wx8412
    val GL_FRAGMENT_LIGHT7_SGIX : glenum =           0wx8413

  (* GL_SGIX_blend_alpha_minmax *)
    val GL_ALPHA_MIN_SGIX : glenum =                 0wx8320
    val GL_ALPHA_MAX_SGIX : glenum =                 0wx8321

  (* GL_SGIX_async *)
    val GL_ASYNC_MARKER_SGIX : glenum =              0wx8329

  (* GL_SGIX_async_pixel *)
    val GL_ASYNC_TEX_IMAGE_SGIX : glenum =           0wx835C
    val GL_ASYNC_DRAW_PIXELS_SGIX : glenum =         0wx835D
    val GL_ASYNC_READ_PIXELS_SGIX : glenum =         0wx835E
    val GL_MAX_ASYNC_TEX_IMAGE_SGIX : glenum =       0wx835F
    val GL_MAX_ASYNC_DRAW_PIXELS_SGIX : glenum =     0wx8360
    val GL_MAX_ASYNC_READ_PIXELS_SGIX : glenum =     0wx8361

  (* GL_SGIX_async_histogram *)
    val GL_ASYNC_HISTOGRAM_SGIX : glenum =           0wx832C
    val GL_MAX_ASYNC_HISTOGRAM_SGIX : glenum =       0wx832D

  (* GL_SGIX_fog_scale *)
    val GL_FOG_SCALE_SGIX : glenum =                 0wx81FC
    val GL_FOG_SCALE_VALUE_SGIX : glenum =           0wx81FD

  (* GL_SGIX_subsample *)
    val GL_PACK_SUBSAMPLE_RATE_SGIX : glenum =       0wx85A0
    val GL_UNPACK_SUBSAMPLE_RATE_SGIX : glenum =     0wx85A1
    val GL_PIXEL_SUBSAMPLE_4444_SGIX : glenum =      0wx85A2
    val GL_PIXEL_SUBSAMPLE_2424_SGIX : glenum =      0wx85A3
    val GL_PIXEL_SUBSAMPLE_4242_SGIX : glenum =      0wx85A4

  (* GL_SGIX_ycrcba *)
    val GL_YCRCB_SGIX : glenum =                     0wx8318
    val GL_YCRCBA_SGIX : glenum =                    0wx8319

  (* GL_SGIX_vertex_preclip *)
    val GL_VERTEX_PRECLIP_SGIX : glenum =            0wx83EE
    val GL_VERTEX_PRECLIP_HINT_SGIX : glenum =       0wx83EF

  (* GL_SGIX_convolution_accuracy *)
    val GL_CONVOLUTION_HINT_SGIX : glenum =          0wx8316

  (* GL_SGIX_resample *)
    val GL_PACK_RESAMPLE_SGIX : glenum =             0wx842C
    val GL_UNPACK_RESAMPLE_SGIX : glenum =           0wx842D
    val GL_RESAMPLE_REPLICATE_SGIX : glenum =        0wx842E
    val GL_RESAMPLE_ZERO_FILL_SGIX : glenum =        0wx842F
    val GL_RESAMPLE_DECIMATE_SGIX : glenum =         0wx8430


  (* GL_SUN_global_alpha *)
    val GL_GLOBAL_ALPHA_SUN : glenum =               0wx81D9
    val GL_GLOBAL_ALPHA_FACTOR_SUN : glenum =        0wx81DA

  (* GL_SUN_triangle_list *)
    val GL_RESTART_SUN : glenum =                    0wx01
    val GL_REPLACE_MIDDLE_SUN : glenum =             0wx02
    val GL_REPLACE_OLDEST_SUN : glenum =             0wx03
    val GL_TRIANGLE_LIST_SUN : glenum =              0wx81D7
    val GL_REPLACEMENT_CODE_SUN : glenum =           0wx81D8
    val GL_REPLACEMENT_CODE_ARRAY_SUN : glenum =     0wx85C0
    val GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN : glenum = 0wx85C1
    val GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN : glenum = 0wx85C2
    val GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN : glenum = 0wx85C3
    val GL_R1UI_V3F_SUN : glenum =                   0wx85C4
    val GL_R1UI_C4UB_V3F_SUN : glenum =              0wx85C5
    val GL_R1UI_C3F_V3F_SUN : glenum =               0wx85C6
    val GL_R1UI_N3F_V3F_SUN : glenum =               0wx85C7
    val GL_R1UI_C4F_N3F_V3F_SUN : glenum =           0wx85C8
    val GL_R1UI_T2F_V3F_SUN : glenum =               0wx85C9
    val GL_R1UI_T2F_N3F_V3F_SUN : glenum =           0wx85CA
    val GL_R1UI_T2F_C4F_N3F_V3F_SUN : glenum =       0wx85CB

  (* GL_SUN_convolution_border_modes *)
    val GL_WRAP_BORDER_SUN : glenum =                0wx81D4

  (* GL_SUNX_constant_data *)
    val GL_UNPACK_CONSTANT_DATA_SUNX : glenum =      0wx81D5
    val GL_TEXTURE_CONSTANT_DATA_SUNX : glenum =     0wx81D6


  (* GL_WIN_phong_shading *)
    val GL_PHONG_WIN : glenum =                      0wx80EA
    val GL_PHONG_HINT_WIN : glenum =                 0wx80EB

  (* GL_WIN_specular_fog *)
    val GL_FOG_SPECULAR_TEXTURE_WIN : glenum =       0wx80EC


  (* GL_3DFX_texture_compression_FXT1 *)
    val GL_COMPRESSED_RGB_FXT1_3DFX : glenum =       0wx86B0
    val GL_COMPRESSED_RGBA_FXT1_3DFX : glenum =      0wx86B1

  (* GL_3DFX_multisample *)
    val GL_MULTISAMPLE_3DFX : glenum =               0wx86B2
    val GL_SAMPLE_BUFFERS_3DFX : glenum =            0wx86B3
    val GL_SAMPLES_3DFX : glenum =                   0wx86B4
    val GL_MULTISAMPLE_BIT_3DFX : glenum =           0wx20000000

  end (* GLConsts *)

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0