Bug 1372489 - Update GLConsts.h and GLDefs.h. r=jgilbert.
authorJerryShih <hshih@mozilla.com>
Thu, 15 Jun 2017 14:43:53 +0800
changeset 363978 a7b4774740d77165f010aaab4af98e6e64044311
parent 363977 0d3a9cc0551948a60888fbab8bd40c7b92301484
child 363979 e7e17d33bbdaf16f6f84438d6d350c4211f7bc11
push id91462
push userhshih@mozilla.com
push dateThu, 15 Jun 2017 06:47:02 +0000
treeherdermozilla-inbound@a7b4774740d7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgilbert
bugs1372489
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1372489 - Update GLConsts.h and GLDefs.h. r=jgilbert. Get the latest gl.xml, egl.xml, wgl.xml and glx.xml. Then, execute the |GLParseRegistryXML.py|. Please check the details in |GLParseRegistryXML.py|. The ANGLE_stream_producer_d3d_texture_nv12 and ANGLE_keyed_mutex extension are not exist in egl.xml, so add the "LOCAL_EGL_DXGI_KEYED_MUTEX_ANGLE" and "LOCAL_EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE" manually in GLDefs.h. egl: https://github.com/KhronosGroup/EGL-Registry/commit/2e6e7ff7bf91d0ffcd7ca297aa2b18977b5e9492 gl, glx and wgl: https://github.com/KhronosGroup/OpenGL-Registry/commit/23a3a95673921d4bf99001a0c50ef2ac2850dcf1
gfx/gl/GLConsts.h
gfx/gl/GLDefs.h
--- a/gfx/gl/GLConsts.h
+++ b/gfx/gl/GLConsts.h
@@ -18,37 +18,40 @@
 #define LOCAL_GL_1PASS_SGIS                                  0x80A1
 #define LOCAL_GL_2D                                          0x0600
 #define LOCAL_GL_2PASS_0_EXT                                 0x80A2
 #define LOCAL_GL_2PASS_0_SGIS                                0x80A2
 #define LOCAL_GL_2PASS_1_EXT                                 0x80A3
 #define LOCAL_GL_2PASS_1_SGIS                                0x80A3
 #define LOCAL_GL_2X_BIT_ATI                                  0x00000001
 #define LOCAL_GL_2_BYTES                                     0x1407
+#define LOCAL_GL_2_BYTES_NV                                  0x1407
 #define LOCAL_GL_3D                                          0x0601
 #define LOCAL_GL_3DC_XY_AMD                                  0x87FA
 #define LOCAL_GL_3DC_X_AMD                                   0x87F9
 #define LOCAL_GL_3D_COLOR                                    0x0602
 #define LOCAL_GL_3D_COLOR_TEXTURE                            0x0603
 #define LOCAL_GL_3_BYTES                                     0x1408
+#define LOCAL_GL_3_BYTES_NV                                  0x1408
 #define LOCAL_GL_422_AVERAGE_EXT                             0x80CE
 #define LOCAL_GL_422_EXT                                     0x80CC
 #define LOCAL_GL_422_REV_AVERAGE_EXT                         0x80CF
 #define LOCAL_GL_422_REV_EXT                                 0x80CD
 #define LOCAL_GL_4D_COLOR_TEXTURE                            0x0604
 #define LOCAL_GL_4PASS_0_EXT                                 0x80A4
 #define LOCAL_GL_4PASS_0_SGIS                                0x80A4
 #define LOCAL_GL_4PASS_1_EXT                                 0x80A5
 #define LOCAL_GL_4PASS_1_SGIS                                0x80A5
 #define LOCAL_GL_4PASS_2_EXT                                 0x80A6
 #define LOCAL_GL_4PASS_2_SGIS                                0x80A6
 #define LOCAL_GL_4PASS_3_EXT                                 0x80A7
 #define LOCAL_GL_4PASS_3_SGIS                                0x80A7
 #define LOCAL_GL_4X_BIT_ATI                                  0x00000002
 #define LOCAL_GL_4_BYTES                                     0x1409
+#define LOCAL_GL_4_BYTES_NV                                  0x1409
 #define LOCAL_GL_8X_BIT_ATI                                  0x00000004
 #define LOCAL_GL_ABGR_EXT                                    0x8000
 #define LOCAL_GL_ACCUM                                       0x0100
 #define LOCAL_GL_ACCUM_ADJACENT_PAIRS_NV                     0x90AD
 #define LOCAL_GL_ACCUM_ALPHA_BITS                            0x0D5B
 #define LOCAL_GL_ACCUM_BLUE_BITS                             0x0D5A
 #define LOCAL_GL_ACCUM_BUFFER_BIT                            0x00000200
 #define LOCAL_GL_ACCUM_CLEAR_VALUE                           0x0B80
@@ -90,16 +93,17 @@
 #define LOCAL_GL_ALLOW_DRAW_FRG_HINT_PGI                     0x1A210
 #define LOCAL_GL_ALLOW_DRAW_MEM_HINT_PGI                     0x1A211
 #define LOCAL_GL_ALLOW_DRAW_OBJ_HINT_PGI                     0x1A20E
 #define LOCAL_GL_ALLOW_DRAW_WIN_HINT_PGI                     0x1A20F
 #define LOCAL_GL_ALL_ATTRIB_BITS                             0xFFFFFFFF
 #define LOCAL_GL_ALL_BARRIER_BITS                            0xFFFFFFFF
 #define LOCAL_GL_ALL_BARRIER_BITS_EXT                        0xFFFFFFFF
 #define LOCAL_GL_ALL_COMPLETED_NV                            0x84F2
+#define LOCAL_GL_ALL_PIXELS_AMD                              0xFFFFFFFF
 #define LOCAL_GL_ALL_SHADER_BITS                             0xFFFFFFFF
 #define LOCAL_GL_ALL_SHADER_BITS_EXT                         0xFFFFFFFF
 #define LOCAL_GL_ALL_STATIC_DATA_IBM                         103060
 #define LOCAL_GL_ALPHA                                       0x1906
 #define LOCAL_GL_ALPHA12                                     0x803D
 #define LOCAL_GL_ALPHA12_EXT                                 0x803D
 #define LOCAL_GL_ALPHA16                                     0x803E
 #define LOCAL_GL_ALPHA16F_ARB                                0x881C
@@ -127,24 +131,29 @@
 #define LOCAL_GL_ALPHA_FLOAT32_APPLE                         0x8816
 #define LOCAL_GL_ALPHA_FLOAT32_ATI                           0x8816
 #define LOCAL_GL_ALPHA_INTEGER                               0x8D97
 #define LOCAL_GL_ALPHA_INTEGER_EXT                           0x8D97
 #define LOCAL_GL_ALPHA_MAX_CLAMP_INGR                        0x8567
 #define LOCAL_GL_ALPHA_MAX_SGIX                              0x8321
 #define LOCAL_GL_ALPHA_MIN_CLAMP_INGR                        0x8563
 #define LOCAL_GL_ALPHA_MIN_SGIX                              0x8320
+#define LOCAL_GL_ALPHA_REF_COMMAND_NV                        0x000F
 #define LOCAL_GL_ALPHA_SCALE                                 0x0D1C
 #define LOCAL_GL_ALPHA_SNORM                                 0x9010
 #define LOCAL_GL_ALPHA_TEST                                  0x0BC0
 #define LOCAL_GL_ALPHA_TEST_FUNC                             0x0BC1
 #define LOCAL_GL_ALPHA_TEST_FUNC_QCOM                        0x0BC1
 #define LOCAL_GL_ALPHA_TEST_QCOM                             0x0BC0
 #define LOCAL_GL_ALPHA_TEST_REF                              0x0BC2
 #define LOCAL_GL_ALPHA_TEST_REF_QCOM                         0x0BC2
+#define LOCAL_GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV         0x934D
+#define LOCAL_GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV         0x934F
+#define LOCAL_GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV          0x934E
+#define LOCAL_GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV            0x92BF
 #define LOCAL_GL_ALREADY_SIGNALED                            0x911A
 #define LOCAL_GL_ALREADY_SIGNALED_APPLE                      0x911A
 #define LOCAL_GL_ALWAYS                                      0x0207
 #define LOCAL_GL_ALWAYS_FAST_HINT_PGI                        0x1A20C
 #define LOCAL_GL_ALWAYS_SOFT_HINT_PGI                        0x1A20D
 #define LOCAL_GL_AMBIENT                                     0x1200
 #define LOCAL_GL_AMBIENT_AND_DIFFUSE                         0x1602
 #define LOCAL_GL_AND                                         0x1501
@@ -186,16 +195,17 @@
 #define LOCAL_GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
 #define LOCAL_GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER     0x92C8
 #define LOCAL_GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER  0x92C9
 #define LOCAL_GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER   0x92C7
 #define LOCAL_GL_ATOMIC_COUNTER_BUFFER_SIZE                  0x92C3
 #define LOCAL_GL_ATOMIC_COUNTER_BUFFER_START                 0x92C2
 #define LOCAL_GL_ATTACHED_SHADERS                            0x8B85
 #define LOCAL_GL_ATTENUATION_EXT                             0x834D
+#define LOCAL_GL_ATTRIBUTE_ADDRESS_COMMAND_NV                0x0009
 #define LOCAL_GL_ATTRIB_ARRAY_POINTER_NV                     0x8645
 #define LOCAL_GL_ATTRIB_ARRAY_SIZE_NV                        0x8623
 #define LOCAL_GL_ATTRIB_ARRAY_STRIDE_NV                      0x8624
 #define LOCAL_GL_ATTRIB_ARRAY_TYPE_NV                        0x8625
 #define LOCAL_GL_ATTRIB_STACK_DEPTH                          0x0BB0
 #define LOCAL_GL_AUTO_GENERATE_MIPMAP                        0x8295
 #define LOCAL_GL_AUTO_NORMAL                                 0x0D80
 #define LOCAL_GL_AUX0                                        0x0409
@@ -228,18 +238,20 @@
 #define LOCAL_GL_BINNING_CONTROL_HINT_QCOM                   0x8FB0
 #define LOCAL_GL_BINORMAL_ARRAY_EXT                          0x843A
 #define LOCAL_GL_BINORMAL_ARRAY_POINTER_EXT                  0x8443
 #define LOCAL_GL_BINORMAL_ARRAY_STRIDE_EXT                   0x8441
 #define LOCAL_GL_BINORMAL_ARRAY_TYPE_EXT                     0x8440
 #define LOCAL_GL_BITMAP                                      0x1A00
 #define LOCAL_GL_BITMAP_TOKEN                                0x0704
 #define LOCAL_GL_BLEND                                       0x0BE2
+#define LOCAL_GL_BLEND_ADVANCED_COHERENT_KHR                 0x9285
 #define LOCAL_GL_BLEND_ADVANCED_COHERENT_NV                  0x9285
 #define LOCAL_GL_BLEND_COLOR                                 0x8005
+#define LOCAL_GL_BLEND_COLOR_COMMAND_NV                      0x000B
 #define LOCAL_GL_BLEND_COLOR_EXT                             0x8005
 #define LOCAL_GL_BLEND_DST                                   0x0BE0
 #define LOCAL_GL_BLEND_DST_ALPHA                             0x80CA
 #define LOCAL_GL_BLEND_DST_ALPHA_EXT                         0x80CA
 #define LOCAL_GL_BLEND_DST_ALPHA_OES                         0x80CA
 #define LOCAL_GL_BLEND_DST_RGB                               0x80C8
 #define LOCAL_GL_BLEND_DST_RGB_EXT                           0x80C8
 #define LOCAL_GL_BLEND_DST_RGB_OES                           0x80C8
@@ -278,41 +290,44 @@
 #define LOCAL_GL_BOOL_VEC2                                   0x8B57
 #define LOCAL_GL_BOOL_VEC2_ARB                               0x8B57
 #define LOCAL_GL_BOOL_VEC3                                   0x8B58
 #define LOCAL_GL_BOOL_VEC3_ARB                               0x8B58
 #define LOCAL_GL_BOOL_VEC4                                   0x8B59
 #define LOCAL_GL_BOOL_VEC4_ARB                               0x8B59
 #define LOCAL_GL_BOUNDING_BOX_NV                             0x908D
 #define LOCAL_GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV           0x909C
+#define LOCAL_GL_BROWSER_DEFAULT_WEBGL                       0x9244
 #define LOCAL_GL_BUFFER                                      0x82E0
 #define LOCAL_GL_BUFFER_ACCESS                               0x88BB
 #define LOCAL_GL_BUFFER_ACCESS_ARB                           0x88BB
 #define LOCAL_GL_BUFFER_ACCESS_FLAGS                         0x911F
 #define LOCAL_GL_BUFFER_ACCESS_OES                           0x88BB
 #define LOCAL_GL_BUFFER_BINDING                              0x9302
 #define LOCAL_GL_BUFFER_DATA_SIZE                            0x9303
 #define LOCAL_GL_BUFFER_FLUSHING_UNMAP_APPLE                 0x8A13
 #define LOCAL_GL_BUFFER_GPU_ADDRESS_NV                       0x8F1D
 #define LOCAL_GL_BUFFER_IMMUTABLE_STORAGE                    0x821F
+#define LOCAL_GL_BUFFER_IMMUTABLE_STORAGE_EXT                0x821F
 #define LOCAL_GL_BUFFER_KHR                                  0x82E0
 #define LOCAL_GL_BUFFER_MAPPED                               0x88BC
 #define LOCAL_GL_BUFFER_MAPPED_ARB                           0x88BC
 #define LOCAL_GL_BUFFER_MAPPED_OES                           0x88BC
 #define LOCAL_GL_BUFFER_MAP_LENGTH                           0x9120
 #define LOCAL_GL_BUFFER_MAP_OFFSET                           0x9121
 #define LOCAL_GL_BUFFER_MAP_POINTER                          0x88BD
 #define LOCAL_GL_BUFFER_MAP_POINTER_ARB                      0x88BD
 #define LOCAL_GL_BUFFER_MAP_POINTER_OES                      0x88BD
 #define LOCAL_GL_BUFFER_OBJECT_APPLE                         0x85B3
 #define LOCAL_GL_BUFFER_OBJECT_EXT                           0x9151
 #define LOCAL_GL_BUFFER_SERIALIZED_MODIFY_APPLE              0x8A12
 #define LOCAL_GL_BUFFER_SIZE                                 0x8764
 #define LOCAL_GL_BUFFER_SIZE_ARB                             0x8764
 #define LOCAL_GL_BUFFER_STORAGE_FLAGS                        0x8220
+#define LOCAL_GL_BUFFER_STORAGE_FLAGS_EXT                    0x8220
 #define LOCAL_GL_BUFFER_UPDATE_BARRIER_BIT                   0x00000200
 #define LOCAL_GL_BUFFER_UPDATE_BARRIER_BIT_EXT               0x00000200
 #define LOCAL_GL_BUFFER_USAGE                                0x8765
 #define LOCAL_GL_BUFFER_USAGE_ARB                            0x8765
 #define LOCAL_GL_BUFFER_VARIABLE                             0x92E5
 #define LOCAL_GL_BUMP_ENVMAP_ATI                             0x877B
 #define LOCAL_GL_BUMP_NUM_TEX_UNITS_ATI                      0x8777
 #define LOCAL_GL_BUMP_ROT_MATRIX_ATI                         0x8775
@@ -332,44 +347,68 @@
 #define LOCAL_GL_CIRCULAR_TANGENT_ARC_TO_NV                  0xFC
 #define LOCAL_GL_CLAMP                                       0x2900
 #define LOCAL_GL_CLAMP_FRAGMENT_COLOR                        0x891B
 #define LOCAL_GL_CLAMP_FRAGMENT_COLOR_ARB                    0x891B
 #define LOCAL_GL_CLAMP_READ_COLOR                            0x891C
 #define LOCAL_GL_CLAMP_READ_COLOR_ARB                        0x891C
 #define LOCAL_GL_CLAMP_TO_BORDER                             0x812D
 #define LOCAL_GL_CLAMP_TO_BORDER_ARB                         0x812D
+#define LOCAL_GL_CLAMP_TO_BORDER_EXT                         0x812D
 #define LOCAL_GL_CLAMP_TO_BORDER_NV                          0x812D
+#define LOCAL_GL_CLAMP_TO_BORDER_OES                         0x812D
 #define LOCAL_GL_CLAMP_TO_BORDER_SGIS                        0x812D
 #define LOCAL_GL_CLAMP_TO_EDGE                               0x812F
 #define LOCAL_GL_CLAMP_TO_EDGE_SGIS                          0x812F
 #define LOCAL_GL_CLAMP_VERTEX_COLOR                          0x891A
 #define LOCAL_GL_CLAMP_VERTEX_COLOR_ARB                      0x891A
 #define LOCAL_GL_CLEAR                                       0x1500
 #define LOCAL_GL_CLEAR_BUFFER                                0x82B4
 #define LOCAL_GL_CLEAR_TEXTURE                               0x9365
 #define LOCAL_GL_CLIENT_ACTIVE_TEXTURE                       0x84E1
 #define LOCAL_GL_CLIENT_ACTIVE_TEXTURE_ARB                   0x84E1
 #define LOCAL_GL_CLIENT_ALL_ATTRIB_BITS                      0xFFFFFFFF
 #define LOCAL_GL_CLIENT_ATTRIB_STACK_DEPTH                   0x0BB1
 #define LOCAL_GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT            0x00004000
+#define LOCAL_GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT        0x00004000
 #define LOCAL_GL_CLIENT_PIXEL_STORE_BIT                      0x00000001
 #define LOCAL_GL_CLIENT_STORAGE_BIT                          0x0200
+#define LOCAL_GL_CLIENT_STORAGE_BIT_EXT                      0x0200
 #define LOCAL_GL_CLIENT_VERTEX_ARRAY_BIT                     0x00000002
+#define LOCAL_GL_CLIPPING_INPUT_PRIMITIVES_ARB               0x82F6
+#define LOCAL_GL_CLIPPING_OUTPUT_PRIMITIVES_ARB              0x82F7
+#define LOCAL_GL_CLIP_DEPTH_MODE                             0x935D
 #define LOCAL_GL_CLIP_DISTANCE0                              0x3000
+#define LOCAL_GL_CLIP_DISTANCE0_APPLE                        0x3000
+#define LOCAL_GL_CLIP_DISTANCE0_EXT                          0x3000
 #define LOCAL_GL_CLIP_DISTANCE1                              0x3001
+#define LOCAL_GL_CLIP_DISTANCE1_APPLE                        0x3001
+#define LOCAL_GL_CLIP_DISTANCE1_EXT                          0x3001
 #define LOCAL_GL_CLIP_DISTANCE2                              0x3002
+#define LOCAL_GL_CLIP_DISTANCE2_APPLE                        0x3002
+#define LOCAL_GL_CLIP_DISTANCE2_EXT                          0x3002
 #define LOCAL_GL_CLIP_DISTANCE3                              0x3003
+#define LOCAL_GL_CLIP_DISTANCE3_APPLE                        0x3003
+#define LOCAL_GL_CLIP_DISTANCE3_EXT                          0x3003
 #define LOCAL_GL_CLIP_DISTANCE4                              0x3004
+#define LOCAL_GL_CLIP_DISTANCE4_APPLE                        0x3004
+#define LOCAL_GL_CLIP_DISTANCE4_EXT                          0x3004
 #define LOCAL_GL_CLIP_DISTANCE5                              0x3005
+#define LOCAL_GL_CLIP_DISTANCE5_APPLE                        0x3005
+#define LOCAL_GL_CLIP_DISTANCE5_EXT                          0x3005
 #define LOCAL_GL_CLIP_DISTANCE6                              0x3006
+#define LOCAL_GL_CLIP_DISTANCE6_APPLE                        0x3006
+#define LOCAL_GL_CLIP_DISTANCE6_EXT                          0x3006
 #define LOCAL_GL_CLIP_DISTANCE7                              0x3007
+#define LOCAL_GL_CLIP_DISTANCE7_APPLE                        0x3007
+#define LOCAL_GL_CLIP_DISTANCE7_EXT                          0x3007
 #define LOCAL_GL_CLIP_DISTANCE_NV                            0x8C7A
 #define LOCAL_GL_CLIP_FAR_HINT_PGI                           0x1A221
 #define LOCAL_GL_CLIP_NEAR_HINT_PGI                          0x1A220
+#define LOCAL_GL_CLIP_ORIGIN                                 0x935C
 #define LOCAL_GL_CLIP_PLANE0                                 0x3000
 #define LOCAL_GL_CLIP_PLANE0_IMG                             0x3000
 #define LOCAL_GL_CLIP_PLANE1                                 0x3001
 #define LOCAL_GL_CLIP_PLANE1_IMG                             0x3001
 #define LOCAL_GL_CLIP_PLANE2                                 0x3002
 #define LOCAL_GL_CLIP_PLANE2_IMG                             0x3002
 #define LOCAL_GL_CLIP_PLANE3                                 0x3003
 #define LOCAL_GL_CLIP_PLANE3_IMG                             0x3003
@@ -382,17 +421,21 @@
 #define LOCAL_GL_CMYKA_EXT                                   0x800D
 #define LOCAL_GL_CMYK_EXT                                    0x800C
 #define LOCAL_GL_CND0_ATI                                    0x896B
 #define LOCAL_GL_CND_ATI                                     0x896A
 #define LOCAL_GL_COEFF                                       0x0A00
 #define LOCAL_GL_COLOR                                       0x1800
 #define LOCAL_GL_COLOR3_BIT_PGI                              0x00010000
 #define LOCAL_GL_COLOR4_BIT_PGI                              0x00020000
+#define LOCAL_GL_COLORBURN                                   0x929A
+#define LOCAL_GL_COLORBURN_KHR                               0x929A
 #define LOCAL_GL_COLORBURN_NV                                0x929A
+#define LOCAL_GL_COLORDODGE                                  0x9299
+#define LOCAL_GL_COLORDODGE_KHR                              0x9299
 #define LOCAL_GL_COLORDODGE_NV                               0x9299
 #define LOCAL_GL_COLOR_ALPHA_PAIRING_ATI                     0x8975
 #define LOCAL_GL_COLOR_ARRAY                                 0x8076
 #define LOCAL_GL_COLOR_ARRAY_ADDRESS_NV                      0x8F23
 #define LOCAL_GL_COLOR_ARRAY_BUFFER_BINDING                  0x8898
 #define LOCAL_GL_COLOR_ARRAY_BUFFER_BINDING_ARB              0x8898
 #define LOCAL_GL_COLOR_ARRAY_COUNT_EXT                       0x8084
 #define LOCAL_GL_COLOR_ARRAY_EXT                             0x8076
@@ -426,22 +469,38 @@
 #define LOCAL_GL_COLOR_ATTACHMENT13_EXT                      0x8CED
 #define LOCAL_GL_COLOR_ATTACHMENT13_NV                       0x8CED
 #define LOCAL_GL_COLOR_ATTACHMENT14                          0x8CEE
 #define LOCAL_GL_COLOR_ATTACHMENT14_EXT                      0x8CEE
 #define LOCAL_GL_COLOR_ATTACHMENT14_NV                       0x8CEE
 #define LOCAL_GL_COLOR_ATTACHMENT15                          0x8CEF
 #define LOCAL_GL_COLOR_ATTACHMENT15_EXT                      0x8CEF
 #define LOCAL_GL_COLOR_ATTACHMENT15_NV                       0x8CEF
+#define LOCAL_GL_COLOR_ATTACHMENT16                          0x8CF0
+#define LOCAL_GL_COLOR_ATTACHMENT17                          0x8CF1
+#define LOCAL_GL_COLOR_ATTACHMENT18                          0x8CF2
+#define LOCAL_GL_COLOR_ATTACHMENT19                          0x8CF3
 #define LOCAL_GL_COLOR_ATTACHMENT1_EXT                       0x8CE1
 #define LOCAL_GL_COLOR_ATTACHMENT1_NV                        0x8CE1
 #define LOCAL_GL_COLOR_ATTACHMENT2                           0x8CE2
+#define LOCAL_GL_COLOR_ATTACHMENT20                          0x8CF4
+#define LOCAL_GL_COLOR_ATTACHMENT21                          0x8CF5
+#define LOCAL_GL_COLOR_ATTACHMENT22                          0x8CF6
+#define LOCAL_GL_COLOR_ATTACHMENT23                          0x8CF7
+#define LOCAL_GL_COLOR_ATTACHMENT24                          0x8CF8
+#define LOCAL_GL_COLOR_ATTACHMENT25                          0x8CF9
+#define LOCAL_GL_COLOR_ATTACHMENT26                          0x8CFA
+#define LOCAL_GL_COLOR_ATTACHMENT27                          0x8CFB
+#define LOCAL_GL_COLOR_ATTACHMENT28                          0x8CFC
+#define LOCAL_GL_COLOR_ATTACHMENT29                          0x8CFD
 #define LOCAL_GL_COLOR_ATTACHMENT2_EXT                       0x8CE2
 #define LOCAL_GL_COLOR_ATTACHMENT2_NV                        0x8CE2
 #define LOCAL_GL_COLOR_ATTACHMENT3                           0x8CE3
+#define LOCAL_GL_COLOR_ATTACHMENT30                          0x8CFE
+#define LOCAL_GL_COLOR_ATTACHMENT31                          0x8CFF
 #define LOCAL_GL_COLOR_ATTACHMENT3_EXT                       0x8CE3
 #define LOCAL_GL_COLOR_ATTACHMENT3_NV                        0x8CE3
 #define LOCAL_GL_COLOR_ATTACHMENT4                           0x8CE4
 #define LOCAL_GL_COLOR_ATTACHMENT4_EXT                       0x8CE4
 #define LOCAL_GL_COLOR_ATTACHMENT4_NV                        0x8CE4
 #define LOCAL_GL_COLOR_ATTACHMENT5                           0x8CE5
 #define LOCAL_GL_COLOR_ATTACHMENT5_EXT                       0x8CE5
 #define LOCAL_GL_COLOR_ATTACHMENT5_NV                        0x8CE5
@@ -553,16 +612,17 @@
 #define LOCAL_GL_COMPARE_REF_TO_TEXTURE                      0x884E
 #define LOCAL_GL_COMPARE_REF_TO_TEXTURE_EXT                  0x884E
 #define LOCAL_GL_COMPARE_R_TO_TEXTURE                        0x884E
 #define LOCAL_GL_COMPARE_R_TO_TEXTURE_ARB                    0x884E
 #define LOCAL_GL_COMPATIBLE_SUBROUTINES                      0x8E4B
 #define LOCAL_GL_COMPILE                                     0x1300
 #define LOCAL_GL_COMPILE_AND_EXECUTE                         0x1301
 #define LOCAL_GL_COMPILE_STATUS                              0x8B81
+#define LOCAL_GL_COMPLETION_STATUS_ARB                       0x91B1
 #define LOCAL_GL_COMPRESSED_ALPHA                            0x84E9
 #define LOCAL_GL_COMPRESSED_ALPHA_ARB                        0x84E9
 #define LOCAL_GL_COMPRESSED_INTENSITY                        0x84EC
 #define LOCAL_GL_COMPRESSED_INTENSITY_ARB                    0x84EC
 #define LOCAL_GL_COMPRESSED_LUMINANCE                        0x84EA
 #define LOCAL_GL_COMPRESSED_LUMINANCE_ALPHA                  0x84EB
 #define LOCAL_GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI          0x8837
 #define LOCAL_GL_COMPRESSED_LUMINANCE_ALPHA_ARB              0x84EB
@@ -582,39 +642,53 @@
 #define LOCAL_GL_COMPRESSED_RGB8_ETC2                        0x9274
 #define LOCAL_GL_COMPRESSED_RGB8_ETC2_OES                    0x9274
 #define LOCAL_GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2    0x9276
 #define LOCAL_GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2_OES        0x9276
 #define LOCAL_GL_COMPRESSED_RGBA                             0x84EE
 #define LOCAL_GL_COMPRESSED_RGBA8_ETC2_EAC                   0x9278
 #define LOCAL_GL_COMPRESSED_RGBA8_ETC2_EAC_OES               0x9278
 #define LOCAL_GL_COMPRESSED_RGBA_ARB                         0x84EE
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_10x10                  0x93BB
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_10x10_KHR              0x93BB
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_10x5                   0x93B8
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_10x5_KHR               0x93B8
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_10x6                   0x93B9
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_10x6_KHR               0x93B9
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_10x8                   0x93BA
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_10x8_KHR               0x93BA
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_12x10                  0x93BC
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_12x10_KHR              0x93BC
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_12x12                  0x93BD
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_12x12_KHR              0x93BD
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_3x3x3_OES              0x93C0
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_4x3x3_OES              0x93C1
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_4x4                    0x93B0
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_4x4_KHR                0x93B0
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_4x4x3_OES              0x93C2
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_4x4x4_OES              0x93C3
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_5x4                    0x93B1
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_5x4_KHR                0x93B1
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_5x4x4_OES              0x93C4
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_5x5                    0x93B2
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_5x5_KHR                0x93B2
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_5x5x4_OES              0x93C5
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_5x5x5_OES              0x93C6
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_6x5                    0x93B3
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_6x5_KHR                0x93B3
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_6x5x5_OES              0x93C7
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_6x6                    0x93B4
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_6x6_KHR                0x93B4
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_6x6x5_OES              0x93C8
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_6x6x6_OES              0x93C9
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_8x5                    0x93B5
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_8x5_KHR                0x93B5
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_8x6                    0x93B6
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_8x6_KHR                0x93B6
+#define LOCAL_GL_COMPRESSED_RGBA_ASTC_8x8                    0x93B7
 #define LOCAL_GL_COMPRESSED_RGBA_ASTC_8x8_KHR                0x93B7
 #define LOCAL_GL_COMPRESSED_RGBA_BPTC_UNORM                  0x8E8C
 #define LOCAL_GL_COMPRESSED_RGBA_BPTC_UNORM_ARB              0x8E8C
 #define LOCAL_GL_COMPRESSED_RGBA_FXT1_3DFX                   0x86B1
 #define LOCAL_GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG            0x8C03
 #define LOCAL_GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG            0x9137
 #define LOCAL_GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG            0x8C02
 #define LOCAL_GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG            0x9138
@@ -643,52 +717,68 @@
 #define LOCAL_GL_COMPRESSED_SIGNED_RG11_EAC                  0x9273
 #define LOCAL_GL_COMPRESSED_SIGNED_RG11_EAC_OES              0x9273
 #define LOCAL_GL_COMPRESSED_SIGNED_RG_RGTC2                  0x8DBE
 #define LOCAL_GL_COMPRESSED_SLUMINANCE                       0x8C4A
 #define LOCAL_GL_COMPRESSED_SLUMINANCE_ALPHA                 0x8C4B
 #define LOCAL_GL_COMPRESSED_SLUMINANCE_ALPHA_EXT             0x8C4B
 #define LOCAL_GL_COMPRESSED_SLUMINANCE_EXT                   0x8C4A
 #define LOCAL_GL_COMPRESSED_SRGB                             0x8C48
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10          0x93DB
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR      0x93DB
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5           0x93D8
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR       0x93D8
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6           0x93D9
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR       0x93D9
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8           0x93DA
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR       0x93DA
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10          0x93DC
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR      0x93DC
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12          0x93DD
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR      0x93DD
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES      0x93E0
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES      0x93E1
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4            0x93D0
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR        0x93D0
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES      0x93E2
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES      0x93E3
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4            0x93D1
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR        0x93D1
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES      0x93E4
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5            0x93D2
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR        0x93D2
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES      0x93E5
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES      0x93E6
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5            0x93D3
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR        0x93D3
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES      0x93E7
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6            0x93D4
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR        0x93D4
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES      0x93E8
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES      0x93E9
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5            0x93D5
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR        0x93D5
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6            0x93D6
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR        0x93D6
+#define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8            0x93D7
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR        0x93D7
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC            0x9279
 #define LOCAL_GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC_OES        0x9279
 #define LOCAL_GL_COMPRESSED_SRGB8_ETC2                       0x9275
 #define LOCAL_GL_COMPRESSED_SRGB8_ETC2_OES                   0x9275
 #define LOCAL_GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2   0x9277
 #define LOCAL_GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2_OES       0x9277
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA                       0x8C49
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM            0x8E8D
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB        0x8E8D
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA_EXT                   0x8C49
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT      0x8A56
+#define LOCAL_GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG      0x93F0
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT      0x8A57
+#define LOCAL_GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG      0x93F1
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT         0x8C4D
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV          0x8C4D
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT         0x8C4E
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV          0x8C4E
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT         0x8C4F
 #define LOCAL_GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV          0x8C4F
 #define LOCAL_GL_COMPRESSED_SRGB_EXT                         0x8C48
 #define LOCAL_GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT            0x8A54
@@ -696,47 +786,71 @@
 #define LOCAL_GL_COMPRESSED_SRGB_S3TC_DXT1_EXT               0x8C4C
 #define LOCAL_GL_COMPRESSED_SRGB_S3TC_DXT1_NV                0x8C4C
 #define LOCAL_GL_COMPRESSED_TEXTURE_FORMATS                  0x86A3
 #define LOCAL_GL_COMPRESSED_TEXTURE_FORMATS_ARB              0x86A3
 #define LOCAL_GL_COMPUTE_PROGRAM_NV                          0x90FB
 #define LOCAL_GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV         0x90FC
 #define LOCAL_GL_COMPUTE_SHADER                              0x91B9
 #define LOCAL_GL_COMPUTE_SHADER_BIT                          0x00000020
+#define LOCAL_GL_COMPUTE_SHADER_INVOCATIONS_ARB              0x82F5
 #define LOCAL_GL_COMPUTE_SUBROUTINE                          0x92ED
 #define LOCAL_GL_COMPUTE_SUBROUTINE_UNIFORM                  0x92F3
 #define LOCAL_GL_COMPUTE_TEXTURE                             0x82A0
 #define LOCAL_GL_COMPUTE_WORK_GROUP_SIZE                     0x8267
 #define LOCAL_GL_COMP_BIT_ATI                                0x00000002
 #define LOCAL_GL_CONDITION_SATISFIED                         0x911C
 #define LOCAL_GL_CONDITION_SATISFIED_APPLE                   0x911C
+#define LOCAL_GL_CONFORMANT_NV                               0x9374
+#define LOCAL_GL_CONIC_CURVE_TO_NV                           0x1A
 #define LOCAL_GL_CONJOINT_NV                                 0x9284
+#define LOCAL_GL_CONSERVATIVE_RASTERIZATION_INTEL            0x83FE
+#define LOCAL_GL_CONSERVATIVE_RASTERIZATION_NV               0x9346
+#define LOCAL_GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV   0x937B
+#define LOCAL_GL_CONSERVATIVE_RASTER_DILATE_NV               0x9379
+#define LOCAL_GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV         0x937A
+#define LOCAL_GL_CONSERVATIVE_RASTER_MODE_NV                 0x954D
+#define LOCAL_GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV       0x954E
+#define LOCAL_GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV      0x954F
 #define LOCAL_GL_CONSERVE_MEMORY_HINT_PGI                    0x1A1FD
 #define LOCAL_GL_CONSTANT                                    0x8576
 #define LOCAL_GL_CONSTANT_ALPHA                              0x8003
 #define LOCAL_GL_CONSTANT_ALPHA_EXT                          0x8003
 #define LOCAL_GL_CONSTANT_ARB                                0x8576
 #define LOCAL_GL_CONSTANT_ATTENUATION                        0x1207
 #define LOCAL_GL_CONSTANT_BORDER                             0x8151
 #define LOCAL_GL_CONSTANT_BORDER_HP                          0x8151
 #define LOCAL_GL_CONSTANT_COLOR                              0x8001
 #define LOCAL_GL_CONSTANT_COLOR0_NV                          0x852A
 #define LOCAL_GL_CONSTANT_COLOR1_NV                          0x852B
 #define LOCAL_GL_CONSTANT_COLOR_EXT                          0x8001
 #define LOCAL_GL_CONSTANT_EXT                                0x8576
+#define LOCAL_GL_CONSTANT_NV                                 0x8576
 #define LOCAL_GL_CONST_EYE_NV                                0x86E5
 #define LOCAL_GL_CONTEXT_COMPATIBILITY_PROFILE_BIT           0x00000002
 #define LOCAL_GL_CONTEXT_CORE_PROFILE_BIT                    0x00000001
 #define LOCAL_GL_CONTEXT_FLAGS                               0x821E
 #define LOCAL_GL_CONTEXT_FLAG_DEBUG_BIT                      0x00000002
 #define LOCAL_GL_CONTEXT_FLAG_DEBUG_BIT_KHR                  0x00000002
 #define LOCAL_GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT         0x00000001
+#define LOCAL_GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR               0x00000008
+#define LOCAL_GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT      0x00000010
+#define LOCAL_GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT              0x00000004
 #define LOCAL_GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB          0x00000004
+#define LOCAL_GL_CONTEXT_LOST                                0x0507
+#define LOCAL_GL_CONTEXT_LOST_KHR                            0x0507
+#define LOCAL_GL_CONTEXT_LOST_WEBGL                          0x9242
 #define LOCAL_GL_CONTEXT_PROFILE_MASK                        0x9126
+#define LOCAL_GL_CONTEXT_RELEASE_BEHAVIOR                    0x82FB
+#define LOCAL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH              0x82FC
+#define LOCAL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR          0x82FC
+#define LOCAL_GL_CONTEXT_RELEASE_BEHAVIOR_KHR                0x82FB
+#define LOCAL_GL_CONTEXT_ROBUST_ACCESS                       0x90F3
 #define LOCAL_GL_CONTEXT_ROBUST_ACCESS_EXT                   0x90F3
+#define LOCAL_GL_CONTEXT_ROBUST_ACCESS_KHR                   0x90F3
 #define LOCAL_GL_CONTINUOUS_AMD                              0x9007
 #define LOCAL_GL_CONTRAST_NV                                 0x92A1
 #define LOCAL_GL_CONVEX_HULL_NV                              0x908B
 #define LOCAL_GL_CONVOLUTION_1D                              0x8010
 #define LOCAL_GL_CONVOLUTION_1D_EXT                          0x8010
 #define LOCAL_GL_CONVOLUTION_2D                              0x8011
 #define LOCAL_GL_CONVOLUTION_2D_EXT                          0x8011
 #define LOCAL_GL_CONVOLUTION_BORDER_COLOR                    0x8154
@@ -806,21 +920,27 @@
 #define LOCAL_GL_COVERAGE_ALL_FRAGMENTS_NV                   0x8ED5
 #define LOCAL_GL_COVERAGE_ATTACHMENT_NV                      0x8ED2
 #define LOCAL_GL_COVERAGE_AUTOMATIC_NV                       0x8ED7
 #define LOCAL_GL_COVERAGE_BUFFERS_NV                         0x8ED3
 #define LOCAL_GL_COVERAGE_BUFFER_BIT_NV                      0x00008000
 #define LOCAL_GL_COVERAGE_COMPONENT4_NV                      0x8ED1
 #define LOCAL_GL_COVERAGE_COMPONENT_NV                       0x8ED0
 #define LOCAL_GL_COVERAGE_EDGE_FRAGMENTS_NV                  0x8ED6
+#define LOCAL_GL_COVERAGE_MODULATION_NV                      0x9332
+#define LOCAL_GL_COVERAGE_MODULATION_TABLE_NV                0x9331
+#define LOCAL_GL_COVERAGE_MODULATION_TABLE_SIZE_NV           0x9333
 #define LOCAL_GL_COVERAGE_SAMPLES_NV                         0x8ED4
 #define LOCAL_GL_CPU_OPTIMIZED_QCOM                          0x8FB1
 #define LOCAL_GL_CUBIC_CURVE_TO_NV                           0x0C
 #define LOCAL_GL_CUBIC_EXT                                   0x8334
 #define LOCAL_GL_CUBIC_HP                                    0x815F
+#define LOCAL_GL_CUBIC_IMG                                   0x9139
+#define LOCAL_GL_CUBIC_MIPMAP_LINEAR_IMG                     0x913B
+#define LOCAL_GL_CUBIC_MIPMAP_NEAREST_IMG                    0x913A
 #define LOCAL_GL_CULL_FACE                                   0x0B44
 #define LOCAL_GL_CULL_FACE_MODE                              0x0B45
 #define LOCAL_GL_CULL_FRAGMENT_NV                            0x86E7
 #define LOCAL_GL_CULL_MODES_NV                               0x86E0
 #define LOCAL_GL_CULL_VERTEX_EXT                             0x81AA
 #define LOCAL_GL_CULL_VERTEX_EYE_POSITION_EXT                0x81AB
 #define LOCAL_GL_CULL_VERTEX_IBM                             103050
 #define LOCAL_GL_CULL_VERTEX_OBJECT_POSITION_EXT             0x81AC
@@ -859,16 +979,19 @@
 #define LOCAL_GL_CURRENT_TEXTURE_COORDS                      0x0B03
 #define LOCAL_GL_CURRENT_TIME_NV                             0x8E28
 #define LOCAL_GL_CURRENT_VERTEX_ATTRIB                       0x8626
 #define LOCAL_GL_CURRENT_VERTEX_ATTRIB_ARB                   0x8626
 #define LOCAL_GL_CURRENT_VERTEX_EXT                          0x87E2
 #define LOCAL_GL_CURRENT_VERTEX_WEIGHT_EXT                   0x850B
 #define LOCAL_GL_CURRENT_WEIGHT_ARB                          0x86A8
 #define LOCAL_GL_CW                                          0x0900
+#define LOCAL_GL_D3D12_FENCE_VALUE_EXT                       0x9595
+#define LOCAL_GL_DARKEN                                      0x9297
+#define LOCAL_GL_DARKEN_KHR                                  0x9297
 #define LOCAL_GL_DARKEN_NV                                   0x9297
 #define LOCAL_GL_DATA_BUFFER_AMD                             0x9151
 #define LOCAL_GL_DEBUG_ASSERT_MESA                           0x875B
 #define LOCAL_GL_DEBUG_CALLBACK_FUNCTION                     0x8244
 #define LOCAL_GL_DEBUG_CALLBACK_FUNCTION_ARB                 0x8244
 #define LOCAL_GL_DEBUG_CALLBACK_FUNCTION_KHR                 0x8244
 #define LOCAL_GL_DEBUG_CALLBACK_USER_PARAM                   0x8245
 #define LOCAL_GL_DEBUG_CALLBACK_USER_PARAM_ARB               0x8245
@@ -954,16 +1077,17 @@
 #define LOCAL_GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB           0x824E
 #define LOCAL_GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR           0x824E
 #define LOCAL_GL_DECAL                                       0x2101
 #define LOCAL_GL_DECODE_EXT                                  0x8A49
 #define LOCAL_GL_DECR                                        0x1E03
 #define LOCAL_GL_DECR_WRAP                                   0x8508
 #define LOCAL_GL_DECR_WRAP_EXT                               0x8508
 #define LOCAL_GL_DECR_WRAP_OES                               0x8508
+#define LOCAL_GL_DEDICATED_MEMORY_OBJECT_EXT                 0x9581
 #define LOCAL_GL_DEFORMATIONS_MASK_SGIX                      0x8196
 #define LOCAL_GL_DELETE_STATUS                               0x8B80
 #define LOCAL_GL_DEPENDENT_AR_TEXTURE_2D_NV                  0x86E9
 #define LOCAL_GL_DEPENDENT_GB_TEXTURE_2D_NV                  0x86EA
 #define LOCAL_GL_DEPENDENT_HILO_TEXTURE_2D_NV                0x8858
 #define LOCAL_GL_DEPENDENT_RGB_TEXTURE_3D_NV                 0x8859
 #define LOCAL_GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV           0x885A
 #define LOCAL_GL_DEPTH                                       0x1801
@@ -1013,16 +1137,17 @@
 #define LOCAL_GL_DEPTH_COMPONENTS                            0x8284
 #define LOCAL_GL_DEPTH_EXT                                   0x1801
 #define LOCAL_GL_DEPTH_FUNC                                  0x0B74
 #define LOCAL_GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX         0x8311
 #define LOCAL_GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX              0x8312
 #define LOCAL_GL_DEPTH_PASS_INSTRUMENT_SGIX                  0x8310
 #define LOCAL_GL_DEPTH_RANGE                                 0x0B70
 #define LOCAL_GL_DEPTH_RENDERABLE                            0x8287
+#define LOCAL_GL_DEPTH_SAMPLES_NV                            0x932D
 #define LOCAL_GL_DEPTH_SCALE                                 0x0D1E
 #define LOCAL_GL_DEPTH_STENCIL                               0x84F9
 #define LOCAL_GL_DEPTH_STENCIL_ATTACHMENT                    0x821A
 #define LOCAL_GL_DEPTH_STENCIL_EXT                           0x84F9
 #define LOCAL_GL_DEPTH_STENCIL_MESA                          0x8750
 #define LOCAL_GL_DEPTH_STENCIL_NV                            0x84F9
 #define LOCAL_GL_DEPTH_STENCIL_OES                           0x84F9
 #define LOCAL_GL_DEPTH_STENCIL_TEXTURE_MODE                  0x90EA
@@ -1032,28 +1157,34 @@
 #define LOCAL_GL_DEPTH_TEXTURE_MODE                          0x884B
 #define LOCAL_GL_DEPTH_TEXTURE_MODE_ARB                      0x884B
 #define LOCAL_GL_DEPTH_WRITEMASK                             0x0B72
 #define LOCAL_GL_DETAIL_TEXTURE_2D_BINDING_SGIS              0x8096
 #define LOCAL_GL_DETAIL_TEXTURE_2D_SGIS                      0x8095
 #define LOCAL_GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS             0x809C
 #define LOCAL_GL_DETAIL_TEXTURE_LEVEL_SGIS                   0x809A
 #define LOCAL_GL_DETAIL_TEXTURE_MODE_SGIS                    0x809B
+#define LOCAL_GL_DEVICE_LUID_EXT                             0x9599
+#define LOCAL_GL_DEVICE_NODE_MASK_EXT                        0x959A
+#define LOCAL_GL_DEVICE_UUID_EXT                             0x9597
+#define LOCAL_GL_DIFFERENCE                                  0x929E
+#define LOCAL_GL_DIFFERENCE_KHR                              0x929E
 #define LOCAL_GL_DIFFERENCE_NV                               0x929E
 #define LOCAL_GL_DIFFUSE                                     0x1201
 #define LOCAL_GL_DISCARD_ATI                                 0x8763
 #define LOCAL_GL_DISCARD_NV                                  0x8530
 #define LOCAL_GL_DISCRETE_AMD                                0x9006
 #define LOCAL_GL_DISJOINT_NV                                 0x9283
 #define LOCAL_GL_DISPATCH_INDIRECT_BUFFER                    0x90EE
 #define LOCAL_GL_DISPATCH_INDIRECT_BUFFER_BINDING            0x90EF
 #define LOCAL_GL_DISPLAY_LIST                                0x82E7
 #define LOCAL_GL_DISTANCE_ATTENUATION_EXT                    0x8129
 #define LOCAL_GL_DISTANCE_ATTENUATION_SGIS                   0x8129
 #define LOCAL_GL_DITHER                                      0x0BD0
+#define LOCAL_GL_DMP_PROGRAM_BINARY_DMP                      0x9253
 #define LOCAL_GL_DOMAIN                                      0x0A02
 #define LOCAL_GL_DONT_CARE                                   0x1100
 #define LOCAL_GL_DOT2_ADD_ATI                                0x896C
 #define LOCAL_GL_DOT3_ATI                                    0x8966
 #define LOCAL_GL_DOT3_RGB                                    0x86AE
 #define LOCAL_GL_DOT3_RGBA                                   0x86AF
 #define LOCAL_GL_DOT3_RGBA_ARB                               0x86AF
 #define LOCAL_GL_DOT3_RGBA_EXT                               0x8741
@@ -1095,16 +1226,20 @@
 #define LOCAL_GL_DOUBLE_MAT4x3                               0x8F4E
 #define LOCAL_GL_DOUBLE_MAT4x3_EXT                           0x8F4E
 #define LOCAL_GL_DOUBLE_VEC2                                 0x8FFC
 #define LOCAL_GL_DOUBLE_VEC2_EXT                             0x8FFC
 #define LOCAL_GL_DOUBLE_VEC3                                 0x8FFD
 #define LOCAL_GL_DOUBLE_VEC3_EXT                             0x8FFD
 #define LOCAL_GL_DOUBLE_VEC4                                 0x8FFE
 #define LOCAL_GL_DOUBLE_VEC4_EXT                             0x8FFE
+#define LOCAL_GL_DOWNSAMPLE_SCALES_IMG                       0x913E
+#define LOCAL_GL_DRAW_ARRAYS_COMMAND_NV                      0x0003
+#define LOCAL_GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV            0x0007
+#define LOCAL_GL_DRAW_ARRAYS_STRIP_COMMAND_NV                0x0005
 #define LOCAL_GL_DRAW_BUFFER                                 0x0C01
 #define LOCAL_GL_DRAW_BUFFER0                                0x8825
 #define LOCAL_GL_DRAW_BUFFER0_ARB                            0x8825
 #define LOCAL_GL_DRAW_BUFFER0_ATI                            0x8825
 #define LOCAL_GL_DRAW_BUFFER0_EXT                            0x8825
 #define LOCAL_GL_DRAW_BUFFER0_NV                             0x8825
 #define LOCAL_GL_DRAW_BUFFER1                                0x8826
 #define LOCAL_GL_DRAW_BUFFER10                               0x882F
@@ -1177,16 +1312,19 @@
 #define LOCAL_GL_DRAW_BUFFER8_EXT                            0x882D
 #define LOCAL_GL_DRAW_BUFFER8_NV                             0x882D
 #define LOCAL_GL_DRAW_BUFFER9                                0x882E
 #define LOCAL_GL_DRAW_BUFFER9_ARB                            0x882E
 #define LOCAL_GL_DRAW_BUFFER9_ATI                            0x882E
 #define LOCAL_GL_DRAW_BUFFER9_EXT                            0x882E
 #define LOCAL_GL_DRAW_BUFFER9_NV                             0x882E
 #define LOCAL_GL_DRAW_BUFFER_EXT                             0x0C01
+#define LOCAL_GL_DRAW_ELEMENTS_COMMAND_NV                    0x0002
+#define LOCAL_GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV          0x0006
+#define LOCAL_GL_DRAW_ELEMENTS_STRIP_COMMAND_NV              0x0004
 #define LOCAL_GL_DRAW_FRAMEBUFFER                            0x8CA9
 #define LOCAL_GL_DRAW_FRAMEBUFFER_ANGLE                      0x8CA9
 #define LOCAL_GL_DRAW_FRAMEBUFFER_APPLE                      0x8CA9
 #define LOCAL_GL_DRAW_FRAMEBUFFER_BINDING                    0x8CA6
 #define LOCAL_GL_DRAW_FRAMEBUFFER_BINDING_ANGLE              0x8CA6
 #define LOCAL_GL_DRAW_FRAMEBUFFER_BINDING_APPLE              0x8CA6
 #define LOCAL_GL_DRAW_FRAMEBUFFER_BINDING_EXT                0x8CA6
 #define LOCAL_GL_DRAW_FRAMEBUFFER_BINDING_NV                 0x8CA6
@@ -1194,16 +1332,17 @@
 #define LOCAL_GL_DRAW_FRAMEBUFFER_NV                         0x8CA9
 #define LOCAL_GL_DRAW_INDIRECT_ADDRESS_NV                    0x8F41
 #define LOCAL_GL_DRAW_INDIRECT_BUFFER                        0x8F3F
 #define LOCAL_GL_DRAW_INDIRECT_BUFFER_BINDING                0x8F43
 #define LOCAL_GL_DRAW_INDIRECT_LENGTH_NV                     0x8F42
 #define LOCAL_GL_DRAW_INDIRECT_UNIFIED_NV                    0x8F40
 #define LOCAL_GL_DRAW_PIXELS_APPLE                           0x8A0A
 #define LOCAL_GL_DRAW_PIXEL_TOKEN                            0x0705
+#define LOCAL_GL_DRIVER_UUID_EXT                             0x9598
 #define LOCAL_GL_DSDT8_MAG8_INTENSITY8_NV                    0x870B
 #define LOCAL_GL_DSDT8_MAG8_NV                               0x870A
 #define LOCAL_GL_DSDT8_NV                                    0x8709
 #define LOCAL_GL_DSDT_MAG_INTENSITY_NV                       0x86DC
 #define LOCAL_GL_DSDT_MAG_NV                                 0x86F6
 #define LOCAL_GL_DSDT_MAG_VIB_NV                             0x86F7
 #define LOCAL_GL_DSDT_NV                                     0x86F5
 #define LOCAL_GL_DST_ALPHA                                   0x0304
@@ -1239,32 +1378,35 @@
 #define LOCAL_GL_DYNAMIC_ATI                                 0x8761
 #define LOCAL_GL_DYNAMIC_COPY                                0x88EA
 #define LOCAL_GL_DYNAMIC_COPY_ARB                            0x88EA
 #define LOCAL_GL_DYNAMIC_DRAW                                0x88E8
 #define LOCAL_GL_DYNAMIC_DRAW_ARB                            0x88E8
 #define LOCAL_GL_DYNAMIC_READ                                0x88E9
 #define LOCAL_GL_DYNAMIC_READ_ARB                            0x88E9
 #define LOCAL_GL_DYNAMIC_STORAGE_BIT                         0x0100
+#define LOCAL_GL_DYNAMIC_STORAGE_BIT_EXT                     0x0100
 #define LOCAL_GL_EDGEFLAG_BIT_PGI                            0x00040000
 #define LOCAL_GL_EDGE_FLAG                                   0x0B43
 #define LOCAL_GL_EDGE_FLAG_ARRAY                             0x8079
 #define LOCAL_GL_EDGE_FLAG_ARRAY_ADDRESS_NV                  0x8F26
 #define LOCAL_GL_EDGE_FLAG_ARRAY_BUFFER_BINDING              0x889B
 #define LOCAL_GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB          0x889B
 #define LOCAL_GL_EDGE_FLAG_ARRAY_COUNT_EXT                   0x808D
 #define LOCAL_GL_EDGE_FLAG_ARRAY_EXT                         0x8079
 #define LOCAL_GL_EDGE_FLAG_ARRAY_LENGTH_NV                   0x8F30
 #define LOCAL_GL_EDGE_FLAG_ARRAY_LIST_IBM                    103075
 #define LOCAL_GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM             103085
 #define LOCAL_GL_EDGE_FLAG_ARRAY_POINTER                     0x8093
 #define LOCAL_GL_EDGE_FLAG_ARRAY_POINTER_EXT                 0x8093
 #define LOCAL_GL_EDGE_FLAG_ARRAY_STRIDE                      0x808C
 #define LOCAL_GL_EDGE_FLAG_ARRAY_STRIDE_EXT                  0x808C
+#define LOCAL_GL_EFFECTIVE_RASTER_SAMPLES_EXT                0x932C
 #define LOCAL_GL_EIGHTH_BIT_ATI                              0x00000020
+#define LOCAL_GL_ELEMENT_ADDRESS_COMMAND_NV                  0x0008
 #define LOCAL_GL_ELEMENT_ARRAY_ADDRESS_NV                    0x8F29
 #define LOCAL_GL_ELEMENT_ARRAY_APPLE                         0x8A0C
 #define LOCAL_GL_ELEMENT_ARRAY_ATI                           0x8768
 #define LOCAL_GL_ELEMENT_ARRAY_BARRIER_BIT                   0x00000002
 #define LOCAL_GL_ELEMENT_ARRAY_BARRIER_BIT_EXT               0x00000002
 #define LOCAL_GL_ELEMENT_ARRAY_BUFFER                        0x8893
 #define LOCAL_GL_ELEMENT_ARRAY_BUFFER_ARB                    0x8893
 #define LOCAL_GL_ELEMENT_ARRAY_BUFFER_BINDING                0x8895
@@ -1299,26 +1441,30 @@
 #define LOCAL_GL_EVAL_VERTEX_ATTRIB2_NV                      0x86C8
 #define LOCAL_GL_EVAL_VERTEX_ATTRIB3_NV                      0x86C9
 #define LOCAL_GL_EVAL_VERTEX_ATTRIB4_NV                      0x86CA
 #define LOCAL_GL_EVAL_VERTEX_ATTRIB5_NV                      0x86CB
 #define LOCAL_GL_EVAL_VERTEX_ATTRIB6_NV                      0x86CC
 #define LOCAL_GL_EVAL_VERTEX_ATTRIB7_NV                      0x86CD
 #define LOCAL_GL_EVAL_VERTEX_ATTRIB8_NV                      0x86CE
 #define LOCAL_GL_EVAL_VERTEX_ATTRIB9_NV                      0x86CF
+#define LOCAL_GL_EXCLUSION                                   0x92A0
+#define LOCAL_GL_EXCLUSION_KHR                               0x92A0
 #define LOCAL_GL_EXCLUSION_NV                                0x92A0
+#define LOCAL_GL_EXCLUSIVE_EXT                               0x8F11
 #define LOCAL_GL_EXP                                         0x0800
 #define LOCAL_GL_EXP2                                        0x0801
 #define LOCAL_GL_EXPAND_NEGATE_NV                            0x8539
 #define LOCAL_GL_EXPAND_NORMAL_NV                            0x8538
 #define LOCAL_GL_EXTENSIONS                                  0x1F03
 #define LOCAL_GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD          0x9160
 #define LOCAL_GL_EYE_DISTANCE_TO_LINE_SGIS                   0x81F2
 #define LOCAL_GL_EYE_DISTANCE_TO_POINT_SGIS                  0x81F0
 #define LOCAL_GL_EYE_LINEAR                                  0x2400
+#define LOCAL_GL_EYE_LINEAR_NV                               0x2400
 #define LOCAL_GL_EYE_LINE_SGIS                               0x81F6
 #define LOCAL_GL_EYE_PLANE                                   0x2502
 #define LOCAL_GL_EYE_PLANE_ABSOLUTE_NV                       0x855C
 #define LOCAL_GL_EYE_POINT_SGIS                              0x81F4
 #define LOCAL_GL_EYE_RADIAL_NV                               0x855B
 #define LOCAL_GL_E_TIMES_F_NV                                0x8531
 #define LOCAL_GL_FACTOR_ALPHA_MODULATE_IMG                   0x8C07
 #define LOCAL_GL_FACTOR_MAX_AMD                              0x901D
@@ -1328,32 +1474,45 @@
 #define LOCAL_GL_FASTEST                                     0x1101
 #define LOCAL_GL_FEEDBACK                                    0x1C01
 #define LOCAL_GL_FEEDBACK_BUFFER_POINTER                     0x0DF0
 #define LOCAL_GL_FEEDBACK_BUFFER_SIZE                        0x0DF1
 #define LOCAL_GL_FEEDBACK_BUFFER_TYPE                        0x0DF2
 #define LOCAL_GL_FENCE_APPLE                                 0x8A0B
 #define LOCAL_GL_FENCE_CONDITION_NV                          0x84F4
 #define LOCAL_GL_FENCE_STATUS_NV                             0x84F3
+#define LOCAL_GL_FETCH_PER_SAMPLE_ARM                        0x8F65
 #define LOCAL_GL_FIELDS_NV                                   0x8E27
 #define LOCAL_GL_FIELD_LOWER_NV                              0x9023
 #define LOCAL_GL_FIELD_UPPER_NV                              0x9022
 #define LOCAL_GL_FILE_NAME_NV                                0x9074
 #define LOCAL_GL_FILL                                        0x1B02
+#define LOCAL_GL_FILL_NV                                     0x1B02
+#define LOCAL_GL_FILL_RECTANGLE_NV                           0x933C
 #define LOCAL_GL_FILTER                                      0x829A
 #define LOCAL_GL_FILTER4_SGIS                                0x8146
 #define LOCAL_GL_FIRST_TO_REST_NV                            0x90AF
 #define LOCAL_GL_FIRST_VERTEX_CONVENTION                     0x8E4D
 #define LOCAL_GL_FIRST_VERTEX_CONVENTION_EXT                 0x8E4D
+#define LOCAL_GL_FIRST_VERTEX_CONVENTION_OES                 0x8E4D
 #define LOCAL_GL_FIXED                                       0x140C
 #define LOCAL_GL_FIXED_OES                                   0x140C
 #define LOCAL_GL_FIXED_ONLY                                  0x891D
 #define LOCAL_GL_FIXED_ONLY_ARB                              0x891D
 #define LOCAL_GL_FLAT                                        0x1D00
 #define LOCAL_GL_FLOAT                                       0x1406
+#define LOCAL_GL_FLOAT16_MAT2_AMD                            0x91C5
+#define LOCAL_GL_FLOAT16_MAT2x3_AMD                          0x91C8
+#define LOCAL_GL_FLOAT16_MAT2x4_AMD                          0x91C9
+#define LOCAL_GL_FLOAT16_MAT3_AMD                            0x91C6
+#define LOCAL_GL_FLOAT16_MAT3x2_AMD                          0x91CA
+#define LOCAL_GL_FLOAT16_MAT3x4_AMD                          0x91CB
+#define LOCAL_GL_FLOAT16_MAT4_AMD                            0x91C7
+#define LOCAL_GL_FLOAT16_MAT4x2_AMD                          0x91CC
+#define LOCAL_GL_FLOAT16_MAT4x3_AMD                          0x91CD
 #define LOCAL_GL_FLOAT16_NV                                  0x8FF8
 #define LOCAL_GL_FLOAT16_VEC2_NV                             0x8FF9
 #define LOCAL_GL_FLOAT16_VEC3_NV                             0x8FFA
 #define LOCAL_GL_FLOAT16_VEC4_NV                             0x8FFB
 #define LOCAL_GL_FLOAT_32_UNSIGNED_INT_24_8_REV              0x8DAD
 #define LOCAL_GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV           0x8DAD
 #define LOCAL_GL_FLOAT_CLEAR_COLOR_VALUE_NV                  0x888D
 #define LOCAL_GL_FLOAT_MAT2                                  0x8B5A
@@ -1430,43 +1589,58 @@
 #define LOCAL_GL_FOG_INDEX                                   0x0B61
 #define LOCAL_GL_FOG_MODE                                    0x0B65
 #define LOCAL_GL_FOG_OFFSET_SGIX                             0x8198
 #define LOCAL_GL_FOG_OFFSET_VALUE_SGIX                       0x8199
 #define LOCAL_GL_FOG_SPECULAR_TEXTURE_WIN                    0x80EC
 #define LOCAL_GL_FOG_START                                   0x0B63
 #define LOCAL_GL_FONT_ASCENDER_BIT_NV                        0x00200000
 #define LOCAL_GL_FONT_DESCENDER_BIT_NV                       0x00400000
+#define LOCAL_GL_FONT_GLYPHS_AVAILABLE_NV                    0x9368
 #define LOCAL_GL_FONT_HAS_KERNING_BIT_NV                     0x10000000
 #define LOCAL_GL_FONT_HEIGHT_BIT_NV                          0x00800000
 #define LOCAL_GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV              0x02000000
 #define LOCAL_GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV               0x01000000
+#define LOCAL_GL_FONT_NUM_GLYPH_INDICES_BIT_NV               0x20000000
+#define LOCAL_GL_FONT_TARGET_UNAVAILABLE_NV                  0x9369
+#define LOCAL_GL_FONT_UNAVAILABLE_NV                         0x936A
 #define LOCAL_GL_FONT_UNDERLINE_POSITION_BIT_NV              0x04000000
 #define LOCAL_GL_FONT_UNDERLINE_THICKNESS_BIT_NV             0x08000000
+#define LOCAL_GL_FONT_UNINTELLIGIBLE_NV                      0x936B
 #define LOCAL_GL_FONT_UNITS_PER_EM_BIT_NV                    0x00100000
 #define LOCAL_GL_FONT_X_MAX_BOUNDS_BIT_NV                    0x00040000
 #define LOCAL_GL_FONT_X_MIN_BOUNDS_BIT_NV                    0x00010000
 #define LOCAL_GL_FONT_Y_MAX_BOUNDS_BIT_NV                    0x00080000
 #define LOCAL_GL_FONT_Y_MIN_BOUNDS_BIT_NV                    0x00020000
 #define LOCAL_GL_FORCE_BLUE_TO_ONE_NV                        0x8860
 #define LOCAL_GL_FORMAT_SUBSAMPLE_244_244_OML                0x8983
 #define LOCAL_GL_FORMAT_SUBSAMPLE_24_24_OML                  0x8982
+#define LOCAL_GL_FOVEATION_ENABLE_BIT_QCOM                   0x00000001
+#define LOCAL_GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM        0x00000002
 #define LOCAL_GL_FRACTIONAL_EVEN                             0x8E7C
+#define LOCAL_GL_FRACTIONAL_EVEN_EXT                         0x8E7C
+#define LOCAL_GL_FRACTIONAL_EVEN_OES                         0x8E7C
 #define LOCAL_GL_FRACTIONAL_ODD                              0x8E7B
+#define LOCAL_GL_FRACTIONAL_ODD_EXT                          0x8E7B
+#define LOCAL_GL_FRACTIONAL_ODD_OES                          0x8E7B
 #define LOCAL_GL_FRAGMENTS_INSTRUMENT_COUNTERS_SGIX          0x8314
 #define LOCAL_GL_FRAGMENTS_INSTRUMENT_MAX_SGIX               0x8315
 #define LOCAL_GL_FRAGMENTS_INSTRUMENT_SGIX                   0x8313
 #define LOCAL_GL_FRAGMENT_ALPHA_MODULATE_IMG                 0x8C08
 #define LOCAL_GL_FRAGMENT_COLOR_EXT                          0x834C
 #define LOCAL_GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX           0x8402
 #define LOCAL_GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX      0x8403
 #define LOCAL_GL_FRAGMENT_COLOR_MATERIAL_SGIX                0x8401
+#define LOCAL_GL_FRAGMENT_COVERAGE_COLOR_NV                  0x92DE
+#define LOCAL_GL_FRAGMENT_COVERAGE_TO_COLOR_NV               0x92DD
 #define LOCAL_GL_FRAGMENT_DEPTH                              0x8452
 #define LOCAL_GL_FRAGMENT_DEPTH_EXT                          0x8452
+#define LOCAL_GL_FRAGMENT_INPUT_NV                           0x936D
 #define LOCAL_GL_FRAGMENT_INTERPOLATION_OFFSET_BITS          0x8E5D
+#define LOCAL_GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES      0x8E5D
 #define LOCAL_GL_FRAGMENT_LIGHT0_SGIX                        0x840C
 #define LOCAL_GL_FRAGMENT_LIGHT1_SGIX                        0x840D
 #define LOCAL_GL_FRAGMENT_LIGHT2_SGIX                        0x840E
 #define LOCAL_GL_FRAGMENT_LIGHT3_SGIX                        0x840F
 #define LOCAL_GL_FRAGMENT_LIGHT4_SGIX                        0x8410
 #define LOCAL_GL_FRAGMENT_LIGHT5_SGIX                        0x8411
 #define LOCAL_GL_FRAGMENT_LIGHT6_SGIX                        0x8412
 #define LOCAL_GL_FRAGMENT_LIGHT7_SGIX                        0x8413
@@ -1490,113 +1664,131 @@
 #define LOCAL_GL_FRAGMENT_SHADER_ARB                         0x8B30
 #define LOCAL_GL_FRAGMENT_SHADER_ATI                         0x8920
 #define LOCAL_GL_FRAGMENT_SHADER_BIT                         0x00000002
 #define LOCAL_GL_FRAGMENT_SHADER_BIT_EXT                     0x00000002
 #define LOCAL_GL_FRAGMENT_SHADER_DERIVATIVE_HINT             0x8B8B
 #define LOCAL_GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB         0x8B8B
 #define LOCAL_GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES         0x8B8B
 #define LOCAL_GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT        0x8A52
+#define LOCAL_GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM   0x8F66
+#define LOCAL_GL_FRAGMENT_SHADER_INVOCATIONS_ARB             0x82F4
 #define LOCAL_GL_FRAGMENT_SUBROUTINE                         0x92EC
 #define LOCAL_GL_FRAGMENT_SUBROUTINE_UNIFORM                 0x92F2
 #define LOCAL_GL_FRAGMENT_TEXTURE                            0x829F
 #define LOCAL_GL_FRAMEBUFFER                                 0x8D40
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE           0x8215
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_ANGLE                0x93A3
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE            0x8214
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING       0x8210
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT   0x8210
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE       0x8211
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT   0x8211
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE           0x8216
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE           0x8213
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_LAYERED              0x8DA7
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB          0x8DA7
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT          0x8DA7
+#define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES          0x8DA7
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME          0x8CD1
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT      0x8CD1
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES      0x8CD1
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE          0x8CD0
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT      0x8CD0
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES      0x8CD0
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE             0x8212
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE         0x8217
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT       0x8CD4
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES       0x8CD4
+#define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR  0x9632
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE        0x8CD3
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT    0x8CD3
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES    0x8CD3
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER        0x8CD4
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT    0x8CD4
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL        0x8CD2
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT    0x8CD2
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES    0x8CD2
+#define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR        0x9630
 #define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT  0x8D6C
+#define LOCAL_GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG    0x913F
 #define LOCAL_GL_FRAMEBUFFER_BARRIER_BIT                     0x00000400
 #define LOCAL_GL_FRAMEBUFFER_BARRIER_BIT_EXT                 0x00000400
 #define LOCAL_GL_FRAMEBUFFER_BINDING                         0x8CA6
 #define LOCAL_GL_FRAMEBUFFER_BINDING_ANGLE                   0x8CA6
 #define LOCAL_GL_FRAMEBUFFER_BINDING_EXT                     0x8CA6
 #define LOCAL_GL_FRAMEBUFFER_BINDING_OES                     0x8CA6
 #define LOCAL_GL_FRAMEBUFFER_BLEND                           0x828B
 #define LOCAL_GL_FRAMEBUFFER_COMPLETE                        0x8CD5
 #define LOCAL_GL_FRAMEBUFFER_COMPLETE_EXT                    0x8CD5
 #define LOCAL_GL_FRAMEBUFFER_COMPLETE_OES                    0x8CD5
 #define LOCAL_GL_FRAMEBUFFER_DEFAULT                         0x8218
 #define LOCAL_GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS  0x9314
 #define LOCAL_GL_FRAMEBUFFER_DEFAULT_HEIGHT                  0x9311
 #define LOCAL_GL_FRAMEBUFFER_DEFAULT_LAYERS                  0x9312
+#define LOCAL_GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT              0x9312
+#define LOCAL_GL_FRAMEBUFFER_DEFAULT_LAYERS_OES              0x9312
 #define LOCAL_GL_FRAMEBUFFER_DEFAULT_SAMPLES                 0x9313
 #define LOCAL_GL_FRAMEBUFFER_DEFAULT_WIDTH                   0x9310
 #define LOCAL_GL_FRAMEBUFFER_EXT                             0x8D40
+#define LOCAL_GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM          0x96A2
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT           0x8CD6
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT       0x8CD6
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES       0x8CD6
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS           0x8CD9
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT       0x8CD9
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES       0x8CD9
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER          0x8CDB
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT      0x8CDB
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_OES      0x8CDB
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT          0x8CDA
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES          0x8CDA
+#define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT       0x9652
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB      0x8DA9
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT      0x8DA9
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS        0x8DA8
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB    0x8DA8
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT    0x8DA8
+#define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES    0x8DA8
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT   0x8CD7
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT       0x8CD7
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES       0x8CD7
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE          0x8D56
+#define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG       0x913C
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE    0x8D56
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE    0x8D56
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT      0x8D56
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG      0x9134
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV       0x8D56
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER          0x8CDC
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT      0x8CDC
 #define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_OES      0x8CDC
+#define LOCAL_GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR     0x9633
 #define LOCAL_GL_FRAMEBUFFER_OES                             0x8D40
+#define LOCAL_GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB       0x9342
+#define LOCAL_GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV        0x9342
 #define LOCAL_GL_FRAMEBUFFER_RENDERABLE                      0x8289
 #define LOCAL_GL_FRAMEBUFFER_RENDERABLE_LAYERED              0x828A
+#define LOCAL_GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB  0x9343
+#define LOCAL_GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV   0x9343
 #define LOCAL_GL_FRAMEBUFFER_SRGB                            0x8DB9
 #define LOCAL_GL_FRAMEBUFFER_SRGB_CAPABLE_EXT                0x8DBA
 #define LOCAL_GL_FRAMEBUFFER_SRGB_EXT                        0x8DB9
 #define LOCAL_GL_FRAMEBUFFER_UNDEFINED                       0x8219
 #define LOCAL_GL_FRAMEBUFFER_UNDEFINED_OES                   0x8219
 #define LOCAL_GL_FRAMEBUFFER_UNSUPPORTED                     0x8CDD
 #define LOCAL_GL_FRAMEBUFFER_UNSUPPORTED_EXT                 0x8CDD
 #define LOCAL_GL_FRAMEBUFFER_UNSUPPORTED_OES                 0x8CDD
 #define LOCAL_GL_FRAMEZOOM_FACTOR_SGIX                       0x818C
 #define LOCAL_GL_FRAMEZOOM_SGIX                              0x818B
 #define LOCAL_GL_FRAME_NV                                    0x8E26
 #define LOCAL_GL_FRONT                                       0x0404
 #define LOCAL_GL_FRONT_AND_BACK                              0x0408
 #define LOCAL_GL_FRONT_FACE                                  0x0B46
+#define LOCAL_GL_FRONT_FACE_COMMAND_NV                       0x0012
 #define LOCAL_GL_FRONT_LEFT                                  0x0400
 #define LOCAL_GL_FRONT_RIGHT                                 0x0401
 #define LOCAL_GL_FULL_RANGE_EXT                              0x87E1
 #define LOCAL_GL_FULL_STIPPLE_HINT_PGI                       0x1A219
 #define LOCAL_GL_FULL_SUPPORT                                0x82B7
 #define LOCAL_GL_FUNC_ADD                                    0x8006
 #define LOCAL_GL_FUNC_ADD_EXT                                0x8006
 #define LOCAL_GL_FUNC_ADD_OES                                0x8006
@@ -1612,26 +1804,38 @@
 #define LOCAL_GL_GENERATE_MIPMAP_HINT_SGIS                   0x8192
 #define LOCAL_GL_GENERATE_MIPMAP_SGIS                        0x8191
 #define LOCAL_GL_GENERIC_ATTRIB_NV                           0x8C7D
 #define LOCAL_GL_GEOMETRY_DEFORMATION_BIT_SGIX               0x00000002
 #define LOCAL_GL_GEOMETRY_DEFORMATION_SGIX                   0x8194
 #define LOCAL_GL_GEOMETRY_INPUT_TYPE                         0x8917
 #define LOCAL_GL_GEOMETRY_INPUT_TYPE_ARB                     0x8DDB
 #define LOCAL_GL_GEOMETRY_INPUT_TYPE_EXT                     0x8DDB
+#define LOCAL_GL_GEOMETRY_LINKED_INPUT_TYPE_EXT              0x8917
+#define LOCAL_GL_GEOMETRY_LINKED_INPUT_TYPE_OES              0x8917
+#define LOCAL_GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT             0x8918
+#define LOCAL_GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES             0x8918
+#define LOCAL_GL_GEOMETRY_LINKED_VERTICES_OUT_EXT            0x8916
+#define LOCAL_GL_GEOMETRY_LINKED_VERTICES_OUT_OES            0x8916
 #define LOCAL_GL_GEOMETRY_OUTPUT_TYPE                        0x8918
 #define LOCAL_GL_GEOMETRY_OUTPUT_TYPE_ARB                    0x8DDC
 #define LOCAL_GL_GEOMETRY_OUTPUT_TYPE_EXT                    0x8DDC
 #define LOCAL_GL_GEOMETRY_PROGRAM_NV                         0x8C26
 #define LOCAL_GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV        0x8DA3
 #define LOCAL_GL_GEOMETRY_SHADER                             0x8DD9
 #define LOCAL_GL_GEOMETRY_SHADER_ARB                         0x8DD9
 #define LOCAL_GL_GEOMETRY_SHADER_BIT                         0x00000004
+#define LOCAL_GL_GEOMETRY_SHADER_BIT_EXT                     0x00000004
+#define LOCAL_GL_GEOMETRY_SHADER_BIT_OES                     0x00000004
 #define LOCAL_GL_GEOMETRY_SHADER_EXT                         0x8DD9
 #define LOCAL_GL_GEOMETRY_SHADER_INVOCATIONS                 0x887F
+#define LOCAL_GL_GEOMETRY_SHADER_INVOCATIONS_EXT             0x887F
+#define LOCAL_GL_GEOMETRY_SHADER_INVOCATIONS_OES             0x887F
+#define LOCAL_GL_GEOMETRY_SHADER_OES                         0x8DD9
+#define LOCAL_GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB      0x82F3
 #define LOCAL_GL_GEOMETRY_SUBROUTINE                         0x92EB
 #define LOCAL_GL_GEOMETRY_SUBROUTINE_UNIFORM                 0x92F1
 #define LOCAL_GL_GEOMETRY_TEXTURE                            0x829E
 #define LOCAL_GL_GEOMETRY_VERTICES_OUT                       0x8916
 #define LOCAL_GL_GEOMETRY_VERTICES_OUT_ARB                   0x8DDA
 #define LOCAL_GL_GEOMETRY_VERTICES_OUT_EXT                   0x8DDA
 #define LOCAL_GL_GEQUAL                                      0x0206
 #define LOCAL_GL_GET_TEXTURE_IMAGE_FORMAT                    0x8291
@@ -1661,26 +1865,40 @@
 #define LOCAL_GL_GREEN_BITS                                  0x0D53
 #define LOCAL_GL_GREEN_BIT_ATI                               0x00000002
 #define LOCAL_GL_GREEN_INTEGER                               0x8D95
 #define LOCAL_GL_GREEN_INTEGER_EXT                           0x8D95
 #define LOCAL_GL_GREEN_MAX_CLAMP_INGR                        0x8565
 #define LOCAL_GL_GREEN_MIN_CLAMP_INGR                        0x8561
 #define LOCAL_GL_GREEN_NV                                    0x1904
 #define LOCAL_GL_GREEN_SCALE                                 0x0D18
+#define LOCAL_GL_GS_PROGRAM_BINARY_MTK                       0x9641
+#define LOCAL_GL_GS_SHADER_BINARY_MTK                        0x9640
+#define LOCAL_GL_GUILTY_CONTEXT_RESET                        0x8253
 #define LOCAL_GL_GUILTY_CONTEXT_RESET_ARB                    0x8253
 #define LOCAL_GL_GUILTY_CONTEXT_RESET_EXT                    0x8253
+#define LOCAL_GL_GUILTY_CONTEXT_RESET_KHR                    0x8253
 #define LOCAL_GL_HALF_APPLE                                  0x140B
 #define LOCAL_GL_HALF_BIAS_NEGATE_NV                         0x853B
 #define LOCAL_GL_HALF_BIAS_NORMAL_NV                         0x853A
 #define LOCAL_GL_HALF_BIT_ATI                                0x00000008
 #define LOCAL_GL_HALF_FLOAT                                  0x140B
 #define LOCAL_GL_HALF_FLOAT_ARB                              0x140B
 #define LOCAL_GL_HALF_FLOAT_NV                               0x140B
 #define LOCAL_GL_HALF_FLOAT_OES                              0x8D61
+#define LOCAL_GL_HANDLE_TYPE_D3D11_IMAGE_EXT                 0x958B
+#define LOCAL_GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT             0x958C
+#define LOCAL_GL_HANDLE_TYPE_D3D12_FENCE_EXT                 0x9594
+#define LOCAL_GL_HANDLE_TYPE_D3D12_RESOURCE_EXT              0x958A
+#define LOCAL_GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT              0x9589
+#define LOCAL_GL_HANDLE_TYPE_OPAQUE_FD_EXT                   0x9586
+#define LOCAL_GL_HANDLE_TYPE_OPAQUE_WIN32_EXT                0x9587
+#define LOCAL_GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT            0x9588
+#define LOCAL_GL_HARDLIGHT                                   0x929B
+#define LOCAL_GL_HARDLIGHT_KHR                               0x929B
 #define LOCAL_GL_HARDLIGHT_NV                                0x929B
 #define LOCAL_GL_HARDMIX_NV                                  0x92A9
 #define LOCAL_GL_HIGH_FLOAT                                  0x8DF2
 #define LOCAL_GL_HIGH_INT                                    0x8DF5
 #define LOCAL_GL_HILO16_NV                                   0x86F8
 #define LOCAL_GL_HILO8_NV                                    0x885E
 #define LOCAL_GL_HILO_NV                                     0x86F4
 #define LOCAL_GL_HINT_BIT                                    0x00008000
@@ -1700,19 +1918,27 @@
 #define LOCAL_GL_HISTOGRAM_RED_SIZE_EXT                      0x8028
 #define LOCAL_GL_HISTOGRAM_SINK                              0x802D
 #define LOCAL_GL_HISTOGRAM_SINK_EXT                          0x802D
 #define LOCAL_GL_HISTOGRAM_WIDTH                             0x8026
 #define LOCAL_GL_HISTOGRAM_WIDTH_EXT                         0x8026
 #define LOCAL_GL_HI_BIAS_NV                                  0x8714
 #define LOCAL_GL_HI_SCALE_NV                                 0x870E
 #define LOCAL_GL_HORIZONTAL_LINE_TO_NV                       0x06
+#define LOCAL_GL_HSL_COLOR                                   0x92AF
+#define LOCAL_GL_HSL_COLOR_KHR                               0x92AF
 #define LOCAL_GL_HSL_COLOR_NV                                0x92AF
+#define LOCAL_GL_HSL_HUE                                     0x92AD
+#define LOCAL_GL_HSL_HUE_KHR                                 0x92AD
 #define LOCAL_GL_HSL_HUE_NV                                  0x92AD
+#define LOCAL_GL_HSL_LUMINOSITY                              0x92B0
+#define LOCAL_GL_HSL_LUMINOSITY_KHR                          0x92B0
 #define LOCAL_GL_HSL_LUMINOSITY_NV                           0x92B0
+#define LOCAL_GL_HSL_SATURATION                              0x92AE
+#define LOCAL_GL_HSL_SATURATION_KHR                          0x92AE
 #define LOCAL_GL_HSL_SATURATION_NV                           0x92AE
 #define LOCAL_GL_IDENTITY_NV                                 0x862A
 #define LOCAL_GL_IGNORE_BORDER_HP                            0x8150
 #define LOCAL_GL_IMAGE_1D                                    0x904C
 #define LOCAL_GL_IMAGE_1D_ARRAY                              0x9052
 #define LOCAL_GL_IMAGE_1D_ARRAY_EXT                          0x9052
 #define LOCAL_GL_IMAGE_1D_EXT                                0x904C
 #define LOCAL_GL_IMAGE_2D                                    0x904D
@@ -1736,32 +1962,34 @@
 #define LOCAL_GL_IMAGE_BINDING_LAYERED_EXT                   0x8F3C
 #define LOCAL_GL_IMAGE_BINDING_LAYER_EXT                     0x8F3D
 #define LOCAL_GL_IMAGE_BINDING_LEVEL                         0x8F3B
 #define LOCAL_GL_IMAGE_BINDING_LEVEL_EXT                     0x8F3B
 #define LOCAL_GL_IMAGE_BINDING_NAME                          0x8F3A
 #define LOCAL_GL_IMAGE_BINDING_NAME_EXT                      0x8F3A
 #define LOCAL_GL_IMAGE_BUFFER                                0x9051
 #define LOCAL_GL_IMAGE_BUFFER_EXT                            0x9051
+#define LOCAL_GL_IMAGE_BUFFER_OES                            0x9051
 #define LOCAL_GL_IMAGE_CLASS_10_10_10_2                      0x82C3
 #define LOCAL_GL_IMAGE_CLASS_11_11_10                        0x82C2
 #define LOCAL_GL_IMAGE_CLASS_1_X_16                          0x82BE
 #define LOCAL_GL_IMAGE_CLASS_1_X_32                          0x82BB
 #define LOCAL_GL_IMAGE_CLASS_1_X_8                           0x82C1
 #define LOCAL_GL_IMAGE_CLASS_2_X_16                          0x82BD
 #define LOCAL_GL_IMAGE_CLASS_2_X_32                          0x82BA
 #define LOCAL_GL_IMAGE_CLASS_2_X_8                           0x82C0
 #define LOCAL_GL_IMAGE_CLASS_4_X_16                          0x82BC
 #define LOCAL_GL_IMAGE_CLASS_4_X_32                          0x82B9
 #define LOCAL_GL_IMAGE_CLASS_4_X_8                           0x82BF
 #define LOCAL_GL_IMAGE_COMPATIBILITY_CLASS                   0x82A8
 #define LOCAL_GL_IMAGE_CUBE                                  0x9050
 #define LOCAL_GL_IMAGE_CUBE_EXT                              0x9050
 #define LOCAL_GL_IMAGE_CUBE_MAP_ARRAY                        0x9054
 #define LOCAL_GL_IMAGE_CUBE_MAP_ARRAY_EXT                    0x9054
+#define LOCAL_GL_IMAGE_CUBE_MAP_ARRAY_OES                    0x9054
 #define LOCAL_GL_IMAGE_CUBIC_WEIGHT_HP                       0x815E
 #define LOCAL_GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS         0x90C9
 #define LOCAL_GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE          0x90C8
 #define LOCAL_GL_IMAGE_FORMAT_COMPATIBILITY_TYPE             0x90C7
 #define LOCAL_GL_IMAGE_MAG_FILTER_HP                         0x815C
 #define LOCAL_GL_IMAGE_MIN_FILTER_HP                         0x815D
 #define LOCAL_GL_IMAGE_PIXEL_FORMAT                          0x82A9
 #define LOCAL_GL_IMAGE_PIXEL_TYPE                            0x82AA
@@ -1773,16 +2001,17 @@
 #define LOCAL_GL_IMAGE_TEXEL_SIZE                            0x82A7
 #define LOCAL_GL_IMAGE_TRANSFORM_2D_HP                       0x8161
 #define LOCAL_GL_IMAGE_TRANSLATE_X_HP                        0x8157
 #define LOCAL_GL_IMAGE_TRANSLATE_Y_HP                        0x8158
 #define LOCAL_GL_IMPLEMENTATION_COLOR_READ_FORMAT            0x8B9B
 #define LOCAL_GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES        0x8B9B
 #define LOCAL_GL_IMPLEMENTATION_COLOR_READ_TYPE              0x8B9A
 #define LOCAL_GL_IMPLEMENTATION_COLOR_READ_TYPE_OES          0x8B9A
+#define LOCAL_GL_INCLUSIVE_EXT                               0x8F10
 #define LOCAL_GL_INCR                                        0x1E02
 #define LOCAL_GL_INCR_WRAP                                   0x8507
 #define LOCAL_GL_INCR_WRAP_EXT                               0x8507
 #define LOCAL_GL_INCR_WRAP_OES                               0x8507
 #define LOCAL_GL_INDEX                                       0x8222
 #define LOCAL_GL_INDEX_ARRAY                                 0x8077
 #define LOCAL_GL_INDEX_ARRAY_ADDRESS_NV                      0x8F24
 #define LOCAL_GL_INDEX_ARRAY_BUFFER_BINDING                  0x8899
@@ -1808,28 +2037,34 @@
 #define LOCAL_GL_INDEX_MODE                                  0x0C30
 #define LOCAL_GL_INDEX_OFFSET                                0x0D13
 #define LOCAL_GL_INDEX_SHIFT                                 0x0D12
 #define LOCAL_GL_INDEX_TEST_EXT                              0x81B5
 #define LOCAL_GL_INDEX_TEST_FUNC_EXT                         0x81B6
 #define LOCAL_GL_INDEX_TEST_REF_EXT                          0x81B7
 #define LOCAL_GL_INDEX_WRITEMASK                             0x0C21
 #define LOCAL_GL_INFO_LOG_LENGTH                             0x8B84
+#define LOCAL_GL_INNOCENT_CONTEXT_RESET                      0x8254
 #define LOCAL_GL_INNOCENT_CONTEXT_RESET_ARB                  0x8254
 #define LOCAL_GL_INNOCENT_CONTEXT_RESET_EXT                  0x8254
+#define LOCAL_GL_INNOCENT_CONTEXT_RESET_KHR                  0x8254
 #define LOCAL_GL_INSTRUMENT_BUFFER_POINTER_SGIX              0x8180
 #define LOCAL_GL_INSTRUMENT_MEASUREMENTS_SGIX                0x8181
 #define LOCAL_GL_INT                                         0x1404
 #define LOCAL_GL_INT16_NV                                    0x8FE4
 #define LOCAL_GL_INT16_VEC2_NV                               0x8FE5
 #define LOCAL_GL_INT16_VEC3_NV                               0x8FE6
 #define LOCAL_GL_INT16_VEC4_NV                               0x8FE7
+#define LOCAL_GL_INT64_ARB                                   0x140E
 #define LOCAL_GL_INT64_NV                                    0x140E
+#define LOCAL_GL_INT64_VEC2_ARB                              0x8FE9
 #define LOCAL_GL_INT64_VEC2_NV                               0x8FE9
+#define LOCAL_GL_INT64_VEC3_ARB                              0x8FEA
 #define LOCAL_GL_INT64_VEC3_NV                               0x8FEA
+#define LOCAL_GL_INT64_VEC4_ARB                              0x8FEB
 #define LOCAL_GL_INT64_VEC4_NV                               0x8FEB
 #define LOCAL_GL_INT8_NV                                     0x8FE0
 #define LOCAL_GL_INT8_VEC2_NV                                0x8FE1
 #define LOCAL_GL_INT8_VEC3_NV                                0x8FE2
 #define LOCAL_GL_INT8_VEC4_NV                                0x8FE3
 #define LOCAL_GL_INTENSITY                                   0x8049
 #define LOCAL_GL_INTENSITY12                                 0x804C
 #define LOCAL_GL_INTENSITY12_EXT                             0x804C
@@ -1895,41 +2130,47 @@
 #define LOCAL_GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT          0x9061
 #define LOCAL_GL_INT_IMAGE_2D_MULTISAMPLE_EXT                0x9060
 #define LOCAL_GL_INT_IMAGE_2D_RECT                           0x905A
 #define LOCAL_GL_INT_IMAGE_2D_RECT_EXT                       0x905A
 #define LOCAL_GL_INT_IMAGE_3D                                0x9059
 #define LOCAL_GL_INT_IMAGE_3D_EXT                            0x9059
 #define LOCAL_GL_INT_IMAGE_BUFFER                            0x905C
 #define LOCAL_GL_INT_IMAGE_BUFFER_EXT                        0x905C
+#define LOCAL_GL_INT_IMAGE_BUFFER_OES                        0x905C
 #define LOCAL_GL_INT_IMAGE_CUBE                              0x905B
 #define LOCAL_GL_INT_IMAGE_CUBE_EXT                          0x905B
 #define LOCAL_GL_INT_IMAGE_CUBE_MAP_ARRAY                    0x905F
 #define LOCAL_GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT                0x905F
+#define LOCAL_GL_INT_IMAGE_CUBE_MAP_ARRAY_OES                0x905F
 #define LOCAL_GL_INT_SAMPLER_1D                              0x8DC9
 #define LOCAL_GL_INT_SAMPLER_1D_ARRAY                        0x8DCE
 #define LOCAL_GL_INT_SAMPLER_1D_ARRAY_EXT                    0x8DCE
 #define LOCAL_GL_INT_SAMPLER_1D_EXT                          0x8DC9
 #define LOCAL_GL_INT_SAMPLER_2D                              0x8DCA
 #define LOCAL_GL_INT_SAMPLER_2D_ARRAY                        0x8DCF
 #define LOCAL_GL_INT_SAMPLER_2D_ARRAY_EXT                    0x8DCF
 #define LOCAL_GL_INT_SAMPLER_2D_EXT                          0x8DCA
 #define LOCAL_GL_INT_SAMPLER_2D_MULTISAMPLE                  0x9109
 #define LOCAL_GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY            0x910C
+#define LOCAL_GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES        0x910C
 #define LOCAL_GL_INT_SAMPLER_2D_RECT                         0x8DCD
 #define LOCAL_GL_INT_SAMPLER_2D_RECT_EXT                     0x8DCD
 #define LOCAL_GL_INT_SAMPLER_3D                              0x8DCB
 #define LOCAL_GL_INT_SAMPLER_3D_EXT                          0x8DCB
 #define LOCAL_GL_INT_SAMPLER_BUFFER                          0x8DD0
 #define LOCAL_GL_INT_SAMPLER_BUFFER_AMD                      0x9002
 #define LOCAL_GL_INT_SAMPLER_BUFFER_EXT                      0x8DD0
+#define LOCAL_GL_INT_SAMPLER_BUFFER_OES                      0x8DD0
 #define LOCAL_GL_INT_SAMPLER_CUBE                            0x8DCC
 #define LOCAL_GL_INT_SAMPLER_CUBE_EXT                        0x8DCC
 #define LOCAL_GL_INT_SAMPLER_CUBE_MAP_ARRAY                  0x900E
 #define LOCAL_GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB              0x900E
+#define LOCAL_GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT              0x900E
+#define LOCAL_GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES              0x900E
 #define LOCAL_GL_INT_SAMPLER_RENDERBUFFER_NV                 0x8E57
 #define LOCAL_GL_INT_VEC2                                    0x8B53
 #define LOCAL_GL_INT_VEC2_ARB                                0x8B53
 #define LOCAL_GL_INT_VEC3                                    0x8B54
 #define LOCAL_GL_INT_VEC3_ARB                                0x8B54
 #define LOCAL_GL_INT_VEC4                                    0x8B55
 #define LOCAL_GL_INT_VEC4_ARB                                0x8B55
 #define LOCAL_GL_INVALID_ENUM                                0x0500
@@ -1945,46 +2186,63 @@
 #define LOCAL_GL_INVERSE_NV                                  0x862B
 #define LOCAL_GL_INVERSE_TRANSPOSE_NV                        0x862D
 #define LOCAL_GL_INVERT                                      0x150A
 #define LOCAL_GL_INVERTED_SCREEN_W_REND                      0x8491
 #define LOCAL_GL_INVERT_OVG_NV                               0x92B4
 #define LOCAL_GL_INVERT_RGB_NV                               0x92A3
 #define LOCAL_GL_IR_INSTRUMENT1_SGIX                         0x817F
 #define LOCAL_GL_ISOLINES                                    0x8E7A
+#define LOCAL_GL_ISOLINES_EXT                                0x8E7A
+#define LOCAL_GL_ISOLINES_OES                                0x8E7A
 #define LOCAL_GL_IS_PER_PATCH                                0x92E7
+#define LOCAL_GL_IS_PER_PATCH_EXT                            0x92E7
+#define LOCAL_GL_IS_PER_PATCH_OES                            0x92E7
 #define LOCAL_GL_IS_ROW_MAJOR                                0x9300
 #define LOCAL_GL_ITALIC_BIT_NV                               0x02
 #define LOCAL_GL_IUI_N3F_V2F_EXT                             0x81AF
 #define LOCAL_GL_IUI_N3F_V3F_EXT                             0x81B0
 #define LOCAL_GL_IUI_V2F_EXT                                 0x81AD
 #define LOCAL_GL_IUI_V3F_EXT                                 0x81AE
 #define LOCAL_GL_KEEP                                        0x1E00
 #define LOCAL_GL_LARGE_CCW_ARC_TO_NV                         0x16
 #define LOCAL_GL_LARGE_CW_ARC_TO_NV                          0x18
 #define LOCAL_GL_LAST_VERTEX_CONVENTION                      0x8E4E
 #define LOCAL_GL_LAST_VERTEX_CONVENTION_EXT                  0x8E4E
+#define LOCAL_GL_LAST_VERTEX_CONVENTION_OES                  0x8E4E
 #define LOCAL_GL_LAST_VIDEO_CAPTURE_STATUS_NV                0x9027
 #define LOCAL_GL_LAYER_NV                                    0x8DAA
 #define LOCAL_GL_LAYER_PROVOKING_VERTEX                      0x825E
+#define LOCAL_GL_LAYER_PROVOKING_VERTEX_EXT                  0x825E
+#define LOCAL_GL_LAYER_PROVOKING_VERTEX_OES                  0x825E
+#define LOCAL_GL_LAYOUT_COLOR_ATTACHMENT_EXT                 0x958E
 #define LOCAL_GL_LAYOUT_DEFAULT_INTEL                        0
+#define LOCAL_GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT         0x958F
+#define LOCAL_GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT          0x9590
+#define LOCAL_GL_LAYOUT_GENERAL_EXT                          0x958D
 #define LOCAL_GL_LAYOUT_LINEAR_CPU_CACHED_INTEL              2
 #define LOCAL_GL_LAYOUT_LINEAR_INTEL                         1
+#define LOCAL_GL_LAYOUT_SHADER_READ_ONLY_EXT                 0x9591
+#define LOCAL_GL_LAYOUT_TRANSFER_DST_EXT                     0x9593
+#define LOCAL_GL_LAYOUT_TRANSFER_SRC_EXT                     0x9592
 #define LOCAL_GL_LEFT                                        0x0406
 #define LOCAL_GL_LEQUAL                                      0x0203
 #define LOCAL_GL_LERP_ATI                                    0x8969
 #define LOCAL_GL_LESS                                        0x0201
+#define LOCAL_GL_LGPU_SEPARATE_STORAGE_BIT_NVX               0x0800
 #define LOCAL_GL_LIGHT0                                      0x4000
 #define LOCAL_GL_LIGHT1                                      0x4001
 #define LOCAL_GL_LIGHT2                                      0x4002
 #define LOCAL_GL_LIGHT3                                      0x4003
 #define LOCAL_GL_LIGHT4                                      0x4004
 #define LOCAL_GL_LIGHT5                                      0x4005
 #define LOCAL_GL_LIGHT6                                      0x4006
 #define LOCAL_GL_LIGHT7                                      0x4007
+#define LOCAL_GL_LIGHTEN                                     0x9298
+#define LOCAL_GL_LIGHTEN_KHR                                 0x9298
 #define LOCAL_GL_LIGHTEN_NV                                  0x9298
 #define LOCAL_GL_LIGHTING                                    0x0B50
 #define LOCAL_GL_LIGHTING_BIT                                0x00000040
 #define LOCAL_GL_LIGHT_ENV_MODE_SGIX                         0x8407
 #define LOCAL_GL_LIGHT_MODEL_AMBIENT                         0x0B53
 #define LOCAL_GL_LIGHT_MODEL_COLOR_CONTROL                   0x81F8
 #define LOCAL_GL_LIGHT_MODEL_COLOR_CONTROL_EXT               0x81F8
 #define LOCAL_GL_LIGHT_MODEL_LOCAL_VIEWER                    0x0B51
@@ -2001,61 +2259,70 @@
 #define LOCAL_GL_LINEAR_DETAIL_ALPHA_SGIS                    0x8098
 #define LOCAL_GL_LINEAR_DETAIL_COLOR_SGIS                    0x8099
 #define LOCAL_GL_LINEAR_DETAIL_SGIS                          0x8097
 #define LOCAL_GL_LINEAR_MIPMAP_LINEAR                        0x2703
 #define LOCAL_GL_LINEAR_MIPMAP_NEAREST                       0x2701
 #define LOCAL_GL_LINEAR_SHARPEN_ALPHA_SGIS                   0x80AE
 #define LOCAL_GL_LINEAR_SHARPEN_COLOR_SGIS                   0x80AF
 #define LOCAL_GL_LINEAR_SHARPEN_SGIS                         0x80AD
+#define LOCAL_GL_LINEAR_TILING_EXT                           0x9585
 #define LOCAL_GL_LINES                                       0x0001
 #define LOCAL_GL_LINES_ADJACENCY                             0x000A
 #define LOCAL_GL_LINES_ADJACENCY_ARB                         0x000A
 #define LOCAL_GL_LINES_ADJACENCY_EXT                         0x000A
+#define LOCAL_GL_LINES_ADJACENCY_OES                         0x000A
 #define LOCAL_GL_LINE_BIT                                    0x00000004
 #define LOCAL_GL_LINE_LOOP                                   0x0002
+#define LOCAL_GL_LINE_NV                                     0x1B01
 #define LOCAL_GL_LINE_QUALITY_HINT_SGIX                      0x835B
 #define LOCAL_GL_LINE_RESET_TOKEN                            0x0707
 #define LOCAL_GL_LINE_SMOOTH                                 0x0B20
 #define LOCAL_GL_LINE_SMOOTH_HINT                            0x0C52
 #define LOCAL_GL_LINE_STIPPLE                                0x0B24
 #define LOCAL_GL_LINE_STIPPLE_PATTERN                        0x0B25
 #define LOCAL_GL_LINE_STIPPLE_REPEAT                         0x0B26
 #define LOCAL_GL_LINE_STRIP                                  0x0003
 #define LOCAL_GL_LINE_STRIP_ADJACENCY                        0x000B
 #define LOCAL_GL_LINE_STRIP_ADJACENCY_ARB                    0x000B
 #define LOCAL_GL_LINE_STRIP_ADJACENCY_EXT                    0x000B
+#define LOCAL_GL_LINE_STRIP_ADJACENCY_OES                    0x000B
 #define LOCAL_GL_LINE_TOKEN                                  0x0702
 #define LOCAL_GL_LINE_TO_NV                                  0x04
 #define LOCAL_GL_LINE_WIDTH                                  0x0B21
+#define LOCAL_GL_LINE_WIDTH_COMMAND_NV                       0x000D
 #define LOCAL_GL_LINE_WIDTH_GRANULARITY                      0x0B23
 #define LOCAL_GL_LINE_WIDTH_RANGE                            0x0B22
 #define LOCAL_GL_LINK_STATUS                                 0x8B82
 #define LOCAL_GL_LIST_BASE                                   0x0B32
 #define LOCAL_GL_LIST_BIT                                    0x00020000
 #define LOCAL_GL_LIST_INDEX                                  0x0B33
 #define LOCAL_GL_LIST_MODE                                   0x0B30
 #define LOCAL_GL_LIST_PRIORITY_SGIX                          0x8182
 #define LOCAL_GL_LOAD                                        0x0101
 #define LOCAL_GL_LOCAL_CONSTANT_DATATYPE_EXT                 0x87ED
 #define LOCAL_GL_LOCAL_CONSTANT_EXT                          0x87C3
 #define LOCAL_GL_LOCAL_CONSTANT_VALUE_EXT                    0x87EC
 #define LOCAL_GL_LOCAL_EXT                                   0x87C4
 #define LOCAL_GL_LOCATION                                    0x930E
 #define LOCAL_GL_LOCATION_COMPONENT                          0x934A
 #define LOCAL_GL_LOCATION_INDEX                              0x930F
+#define LOCAL_GL_LOCATION_INDEX_EXT                          0x930F
 #define LOCAL_GL_LOGIC_OP                                    0x0BF1
 #define LOCAL_GL_LOGIC_OP_MODE                               0x0BF0
+#define LOCAL_GL_LOSE_CONTEXT_ON_RESET                       0x8252
 #define LOCAL_GL_LOSE_CONTEXT_ON_RESET_ARB                   0x8252
 #define LOCAL_GL_LOSE_CONTEXT_ON_RESET_EXT                   0x8252
+#define LOCAL_GL_LOSE_CONTEXT_ON_RESET_KHR                   0x8252
 #define LOCAL_GL_LOWER_LEFT                                  0x8CA1
 #define LOCAL_GL_LOW_FLOAT                                   0x8DF0
 #define LOCAL_GL_LOW_INT                                     0x8DF3
 #define LOCAL_GL_LO_BIAS_NV                                  0x8715
 #define LOCAL_GL_LO_SCALE_NV                                 0x870F
+#define LOCAL_GL_LUID_SIZE_EXT                               8
 #define LOCAL_GL_LUMINANCE                                   0x1909
 #define LOCAL_GL_LUMINANCE12                                 0x8041
 #define LOCAL_GL_LUMINANCE12_ALPHA12                         0x8047
 #define LOCAL_GL_LUMINANCE12_ALPHA12_EXT                     0x8047
 #define LOCAL_GL_LUMINANCE12_ALPHA4                          0x8046
 #define LOCAL_GL_LUMINANCE12_ALPHA4_EXT                      0x8046
 #define LOCAL_GL_LUMINANCE12_EXT                             0x8041
 #define LOCAL_GL_LUMINANCE16                                 0x8042
@@ -2175,24 +2442,26 @@
 #define LOCAL_GL_MAP2_VERTEX_ATTRIB5_4_NV                    0x8675
 #define LOCAL_GL_MAP2_VERTEX_ATTRIB6_4_NV                    0x8676
 #define LOCAL_GL_MAP2_VERTEX_ATTRIB7_4_NV                    0x8677
 #define LOCAL_GL_MAP2_VERTEX_ATTRIB8_4_NV                    0x8678
 #define LOCAL_GL_MAP2_VERTEX_ATTRIB9_4_NV                    0x8679
 #define LOCAL_GL_MAP_ATTRIB_U_ORDER_NV                       0x86C3
 #define LOCAL_GL_MAP_ATTRIB_V_ORDER_NV                       0x86C4
 #define LOCAL_GL_MAP_COHERENT_BIT                            0x0080
+#define LOCAL_GL_MAP_COHERENT_BIT_EXT                        0x0080
 #define LOCAL_GL_MAP_COLOR                                   0x0D10
 #define LOCAL_GL_MAP_FLUSH_EXPLICIT_BIT                      0x0010
 #define LOCAL_GL_MAP_FLUSH_EXPLICIT_BIT_EXT                  0x0010
 #define LOCAL_GL_MAP_INVALIDATE_BUFFER_BIT                   0x0008
 #define LOCAL_GL_MAP_INVALIDATE_BUFFER_BIT_EXT               0x0008
 #define LOCAL_GL_MAP_INVALIDATE_RANGE_BIT                    0x0004
 #define LOCAL_GL_MAP_INVALIDATE_RANGE_BIT_EXT                0x0004
 #define LOCAL_GL_MAP_PERSISTENT_BIT                          0x0040
+#define LOCAL_GL_MAP_PERSISTENT_BIT_EXT                      0x0040
 #define LOCAL_GL_MAP_READ_BIT                                0x0001
 #define LOCAL_GL_MAP_READ_BIT_EXT                            0x0001
 #define LOCAL_GL_MAP_STENCIL                                 0x0D11
 #define LOCAL_GL_MAP_TESSELLATION_NV                         0x86C2
 #define LOCAL_GL_MAP_UNSYNCHRONIZED_BIT                      0x0020
 #define LOCAL_GL_MAP_UNSYNCHRONIZED_BIT_EXT                  0x0020
 #define LOCAL_GL_MAP_WRITE_BIT                               0x0002
 #define LOCAL_GL_MAP_WRITE_BIT_EXT                           0x0002
@@ -2275,37 +2544,47 @@
 #define LOCAL_GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS          0x92DC
 #define LOCAL_GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE              0x92D8
 #define LOCAL_GL_MAX_ATTRIB_STACK_DEPTH                      0x0D35
 #define LOCAL_GL_MAX_BINDABLE_UNIFORM_SIZE_EXT               0x8DED
 #define LOCAL_GL_MAX_CLIENT_ATTRIB_STACK_DEPTH               0x0D3B
 #define LOCAL_GL_MAX_CLIPMAP_DEPTH_SGIX                      0x8177
 #define LOCAL_GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX              0x8178
 #define LOCAL_GL_MAX_CLIP_DISTANCES                          0x0D32
+#define LOCAL_GL_MAX_CLIP_DISTANCES_APPLE                    0x0D32
+#define LOCAL_GL_MAX_CLIP_DISTANCES_EXT                      0x0D32
 #define LOCAL_GL_MAX_CLIP_PLANES                             0x0D32
 #define LOCAL_GL_MAX_CLIP_PLANES_IMG                         0x0D32
 #define LOCAL_GL_MAX_COLOR_ATTACHMENTS                       0x8CDF
 #define LOCAL_GL_MAX_COLOR_ATTACHMENTS_EXT                   0x8CDF
 #define LOCAL_GL_MAX_COLOR_ATTACHMENTS_NV                    0x8CDF
 #define LOCAL_GL_MAX_COLOR_MATRIX_STACK_DEPTH                0x80B3
 #define LOCAL_GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI            0x80B3
 #define LOCAL_GL_MAX_COLOR_TEXTURE_SAMPLES                   0x910E
 #define LOCAL_GL_MAX_COMBINED_ATOMIC_COUNTERS                0x92D7
 #define LOCAL_GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS         0x92D1
+#define LOCAL_GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES        0x82FA
+#define LOCAL_GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT    0x82FA
 #define LOCAL_GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS     0x8266
 #define LOCAL_GL_MAX_COMBINED_DIMENSIONS                     0x8282
 #define LOCAL_GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS    0x8A33
 #define LOCAL_GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS    0x8A32
+#define LOCAL_GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT        0x8A32
+#define LOCAL_GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES        0x8A32
 #define LOCAL_GL_MAX_COMBINED_IMAGE_UNIFORMS                 0x90CF
 #define LOCAL_GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS       0x8F39
 #define LOCAL_GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT   0x8F39
 #define LOCAL_GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES        0x8F39
 #define LOCAL_GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS          0x90DC
 #define LOCAL_GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS        0x8E1E
+#define LOCAL_GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT    0x8E1E
+#define LOCAL_GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES    0x8E1E
 #define LOCAL_GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS     0x8E1F
+#define LOCAL_GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F
+#define LOCAL_GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F
 #define LOCAL_GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS            0x8B4D
 #define LOCAL_GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB        0x8B4D
 #define LOCAL_GL_MAX_COMBINED_UNIFORM_BLOCKS                 0x8A2E
 #define LOCAL_GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS      0x8A31
 #define LOCAL_GL_MAX_COMPUTE_ATOMIC_COUNTERS                 0x8265
 #define LOCAL_GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS          0x8264
 #define LOCAL_GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB     0x90EB
 #define LOCAL_GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB            0x91BF
@@ -2323,16 +2602,18 @@
 #define LOCAL_GL_MAX_CONVOLUTION_HEIGHT                      0x801B
 #define LOCAL_GL_MAX_CONVOLUTION_HEIGHT_EXT                  0x801B
 #define LOCAL_GL_MAX_CONVOLUTION_WIDTH                       0x801A
 #define LOCAL_GL_MAX_CONVOLUTION_WIDTH_EXT                   0x801A
 #define LOCAL_GL_MAX_CUBE_MAP_TEXTURE_SIZE                   0x851C
 #define LOCAL_GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB               0x851C
 #define LOCAL_GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT               0x851C
 #define LOCAL_GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES               0x851C
+#define LOCAL_GL_MAX_CULL_DISTANCES                          0x82F9
+#define LOCAL_GL_MAX_CULL_DISTANCES_EXT                      0x82F9
 #define LOCAL_GL_MAX_DEBUG_GROUP_STACK_DEPTH                 0x826C
 #define LOCAL_GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR             0x826C
 #define LOCAL_GL_MAX_DEBUG_LOGGED_MESSAGES                   0x9144
 #define LOCAL_GL_MAX_DEBUG_LOGGED_MESSAGES_AMD               0x9144
 #define LOCAL_GL_MAX_DEBUG_LOGGED_MESSAGES_ARB               0x9144
 #define LOCAL_GL_MAX_DEBUG_LOGGED_MESSAGES_KHR               0x9144
 #define LOCAL_GL_MAX_DEBUG_MESSAGE_LENGTH                    0x9143
 #define LOCAL_GL_MAX_DEBUG_MESSAGE_LENGTH_AMD                0x9143
@@ -2344,77 +2625,102 @@
 #define LOCAL_GL_MAX_DEPTH                                   0x8280
 #define LOCAL_GL_MAX_DEPTH_TEXTURE_SAMPLES                   0x910F
 #define LOCAL_GL_MAX_DRAW_BUFFERS                            0x8824
 #define LOCAL_GL_MAX_DRAW_BUFFERS_ARB                        0x8824
 #define LOCAL_GL_MAX_DRAW_BUFFERS_ATI                        0x8824
 #define LOCAL_GL_MAX_DRAW_BUFFERS_EXT                        0x8824
 #define LOCAL_GL_MAX_DRAW_BUFFERS_NV                         0x8824
 #define LOCAL_GL_MAX_DUAL_SOURCE_DRAW_BUFFERS                0x88FC
+#define LOCAL_GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT            0x88FC
 #define LOCAL_GL_MAX_ELEMENTS_INDICES                        0x80E9
 #define LOCAL_GL_MAX_ELEMENTS_INDICES_EXT                    0x80E9
 #define LOCAL_GL_MAX_ELEMENTS_VERTICES                       0x80E8
 #define LOCAL_GL_MAX_ELEMENTS_VERTICES_EXT                   0x80E8
 #define LOCAL_GL_MAX_ELEMENT_INDEX                           0x8D6B
 #define LOCAL_GL_MAX_EVAL_ORDER                              0x0D30
 #define LOCAL_GL_MAX_EXT                                     0x8008
 #define LOCAL_GL_MAX_FOG_FUNC_POINTS_SGIS                    0x812C
 #define LOCAL_GL_MAX_FRAGMENT_ATOMIC_COUNTERS                0x92D6
 #define LOCAL_GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS         0x92D0
 #define LOCAL_GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT          0x8DE3
 #define LOCAL_GL_MAX_FRAGMENT_IMAGE_UNIFORMS                 0x90CE
 #define LOCAL_GL_MAX_FRAGMENT_INPUT_COMPONENTS               0x9125
 #define LOCAL_GL_MAX_FRAGMENT_INTERPOLATION_OFFSET           0x8E5C
 #define LOCAL_GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV        0x8E5C
+#define LOCAL_GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES       0x8E5C
 #define LOCAL_GL_MAX_FRAGMENT_LIGHTS_SGIX                    0x8404
 #define LOCAL_GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV    0x8868
 #define LOCAL_GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS          0x90DA
 #define LOCAL_GL_MAX_FRAGMENT_UNIFORM_BLOCKS                 0x8A2D
 #define LOCAL_GL_MAX_FRAGMENT_UNIFORM_COMPONENTS             0x8B49
 #define LOCAL_GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB         0x8B49
 #define LOCAL_GL_MAX_FRAGMENT_UNIFORM_VECTORS                0x8DFD
 #define LOCAL_GL_MAX_FRAMEBUFFER_HEIGHT                      0x9316
 #define LOCAL_GL_MAX_FRAMEBUFFER_LAYERS                      0x9317
+#define LOCAL_GL_MAX_FRAMEBUFFER_LAYERS_EXT                  0x9317
+#define LOCAL_GL_MAX_FRAMEBUFFER_LAYERS_OES                  0x9317
 #define LOCAL_GL_MAX_FRAMEBUFFER_SAMPLES                     0x9318
 #define LOCAL_GL_MAX_FRAMEBUFFER_WIDTH                       0x9315
 #define LOCAL_GL_MAX_FRAMEZOOM_FACTOR_SGIX                   0x818D
 #define LOCAL_GL_MAX_GENERAL_COMBINERS_NV                    0x854D
 #define LOCAL_GL_MAX_GEOMETRY_ATOMIC_COUNTERS                0x92D5
+#define LOCAL_GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT            0x92D5
+#define LOCAL_GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES            0x92D5
 #define LOCAL_GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS         0x92CF
+#define LOCAL_GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT     0x92CF
+#define LOCAL_GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES     0x92CF
 #define LOCAL_GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT          0x8DE4
 #define LOCAL_GL_MAX_GEOMETRY_IMAGE_UNIFORMS                 0x90CD
+#define LOCAL_GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT             0x90CD
+#define LOCAL_GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES             0x90CD
 #define LOCAL_GL_MAX_GEOMETRY_INPUT_COMPONENTS               0x9123
+#define LOCAL_GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT           0x9123
+#define LOCAL_GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES           0x9123
 #define LOCAL_GL_MAX_GEOMETRY_OUTPUT_COMPONENTS              0x9124
+#define LOCAL_GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT          0x9124
+#define LOCAL_GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES          0x9124
 #define LOCAL_GL_MAX_GEOMETRY_OUTPUT_VERTICES                0x8DE0
 #define LOCAL_GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB            0x8DE0
 #define LOCAL_GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT            0x8DE0
+#define LOCAL_GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES            0x8DE0
 #define LOCAL_GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV         0x8E5A
 #define LOCAL_GL_MAX_GEOMETRY_SHADER_INVOCATIONS             0x8E5A
+#define LOCAL_GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT         0x8E5A
+#define LOCAL_GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES         0x8E5A
 #define LOCAL_GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS          0x90D7
+#define LOCAL_GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT      0x90D7
+#define LOCAL_GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES      0x90D7
 #define LOCAL_GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS            0x8C29
 #define LOCAL_GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB        0x8C29
 #define LOCAL_GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT        0x8C29
+#define LOCAL_GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES        0x8C29
 #define LOCAL_GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS        0x8DE1
 #define LOCAL_GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB    0x8DE1
 #define LOCAL_GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT    0x8DE1
+#define LOCAL_GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES    0x8DE1
 #define LOCAL_GL_MAX_GEOMETRY_UNIFORM_BLOCKS                 0x8A2C
+#define LOCAL_GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT             0x8A2C
+#define LOCAL_GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES             0x8A2C
 #define LOCAL_GL_MAX_GEOMETRY_UNIFORM_COMPONENTS             0x8DDF
 #define LOCAL_GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB         0x8DDF
 #define LOCAL_GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT         0x8DDF
+#define LOCAL_GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES         0x8DDF
 #define LOCAL_GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB         0x8DDD
 #define LOCAL_GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT         0x8DDD
 #define LOCAL_GL_MAX_HEIGHT                                  0x827F
 #define LOCAL_GL_MAX_IMAGE_SAMPLES                           0x906D
 #define LOCAL_GL_MAX_IMAGE_SAMPLES_EXT                       0x906D
 #define LOCAL_GL_MAX_IMAGE_UNITS                             0x8F38
 #define LOCAL_GL_MAX_IMAGE_UNITS_EXT                         0x8F38
 #define LOCAL_GL_MAX_INTEGER_SAMPLES                         0x9110
 #define LOCAL_GL_MAX_LABEL_LENGTH                            0x82E8
 #define LOCAL_GL_MAX_LABEL_LENGTH_KHR                        0x82E8
 #define LOCAL_GL_MAX_LAYERS                                  0x8281
+#define LOCAL_GL_MAX_LGPU_GPUS_NVX                           0x92BA
 #define LOCAL_GL_MAX_LIGHTS                                  0x0D31
 #define LOCAL_GL_MAX_LIST_NESTING                            0x0B31
 #define LOCAL_GL_MAX_MAP_TESSELLATION_NV                     0x86D6
 #define LOCAL_GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB          0x8841
 #define LOCAL_GL_MAX_MODELVIEW_STACK_DEPTH                   0x0D36
 #define LOCAL_GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV           0x8E11
 #define LOCAL_GL_MAX_MULTIVIEW_BUFFERS_EXT                   0x90F2
 #define LOCAL_GL_MAX_NAME_LENGTH                             0x92F6
@@ -2424,16 +2730,18 @@
 #define LOCAL_GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT        0x87CA
 #define LOCAL_GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT  0x87CD
 #define LOCAL_GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT      0x87CE
 #define LOCAL_GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT     0x87CC
 #define LOCAL_GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT    0x87CB
 #define LOCAL_GL_MAX_PALETTE_MATRICES_ARB                    0x8842
 #define LOCAL_GL_MAX_PALETTE_MATRICES_OES                    0x8842
 #define LOCAL_GL_MAX_PATCH_VERTICES                          0x8E7D
+#define LOCAL_GL_MAX_PATCH_VERTICES_EXT                      0x8E7D
+#define LOCAL_GL_MAX_PATCH_VERTICES_OES                      0x8E7D
 #define LOCAL_GL_MAX_PIXEL_MAP_TABLE                         0x0D34
 #define LOCAL_GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT      0x8337
 #define LOCAL_GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI      0x87F1
 #define LOCAL_GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB           0x88B1
 #define LOCAL_GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB            0x880B
 #define LOCAL_GL_MAX_PROGRAM_ATTRIBS_ARB                     0x88AD
 #define LOCAL_GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV            0x8908
 #define LOCAL_GL_MAX_PROGRAM_CALL_DEPTH_NV                   0x88F5
@@ -2471,16 +2779,17 @@
 #define LOCAL_GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB   0x8F9F
 #define LOCAL_GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET           0x8E5F
 #define LOCAL_GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB       0x8E5F
 #define LOCAL_GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV        0x8E5F
 #define LOCAL_GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB            0x880D
 #define LOCAL_GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB            0x880C
 #define LOCAL_GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV      0x8C28
 #define LOCAL_GL_MAX_PROJECTION_STACK_DEPTH                  0x0D38
+#define LOCAL_GL_MAX_RASTER_SAMPLES_EXT                      0x9329
 #define LOCAL_GL_MAX_RATIONAL_EVAL_ORDER_NV                  0x86D7
 #define LOCAL_GL_MAX_RECTANGLE_TEXTURE_SIZE                  0x84F8
 #define LOCAL_GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB              0x84F8
 #define LOCAL_GL_MAX_RECTANGLE_TEXTURE_SIZE_NV               0x84F8
 #define LOCAL_GL_MAX_RENDERBUFFER_SIZE                       0x84E8
 #define LOCAL_GL_MAX_RENDERBUFFER_SIZE_EXT                   0x84E8
 #define LOCAL_GL_MAX_RENDERBUFFER_SIZE_OES                   0x84E8
 #define LOCAL_GL_MAX_SAMPLES                                 0x8D57
@@ -2489,52 +2798,104 @@
 #define LOCAL_GL_MAX_SAMPLES_EXT                             0x8D57
 #define LOCAL_GL_MAX_SAMPLES_IMG                             0x9135
 #define LOCAL_GL_MAX_SAMPLES_NV                              0x8D57
 #define LOCAL_GL_MAX_SAMPLE_MASK_WORDS                       0x8E59
 #define LOCAL_GL_MAX_SAMPLE_MASK_WORDS_NV                    0x8E59
 #define LOCAL_GL_MAX_SERVER_WAIT_TIMEOUT                     0x9111
 #define LOCAL_GL_MAX_SERVER_WAIT_TIMEOUT_APPLE               0x9111
 #define LOCAL_GL_MAX_SHADER_BUFFER_ADDRESS_NV                0x8F35
+#define LOCAL_GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT     0x9650
+#define LOCAL_GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT  0x9651
+#define LOCAL_GL_MAX_SHADER_COMPILER_THREADS_ARB             0x91B0
+#define LOCAL_GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT        0x8F63
+#define LOCAL_GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT     0x8F67
 #define LOCAL_GL_MAX_SHADER_STORAGE_BLOCK_SIZE               0x90DE
 #define LOCAL_GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS          0x90DD
 #define LOCAL_GL_MAX_SHININESS_NV                            0x8504
 #define LOCAL_GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD              0x9199
 #define LOCAL_GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB              0x9199
+#define LOCAL_GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT              0x9199
 #define LOCAL_GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS             0x919A
 #define LOCAL_GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB         0x919A
+#define LOCAL_GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT         0x919A
 #define LOCAL_GL_MAX_SPARSE_TEXTURE_SIZE_AMD                 0x9198
 #define LOCAL_GL_MAX_SPARSE_TEXTURE_SIZE_ARB                 0x9198
+#define LOCAL_GL_MAX_SPARSE_TEXTURE_SIZE_EXT                 0x9198
 #define LOCAL_GL_MAX_SPOT_EXPONENT_NV                        0x8505
+#define LOCAL_GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV         0x9349
 #define LOCAL_GL_MAX_SUBROUTINES                             0x8DE7
 #define LOCAL_GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS            0x8DE8
 #define LOCAL_GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS            0x92D3
+#define LOCAL_GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT        0x92D3
+#define LOCAL_GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES        0x92D3
 #define LOCAL_GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS     0x92CD
+#define LOCAL_GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD
+#define LOCAL_GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD
 #define LOCAL_GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS             0x90CB
+#define LOCAL_GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT         0x90CB
+#define LOCAL_GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES         0x90CB
 #define LOCAL_GL_MAX_TESS_CONTROL_INPUT_COMPONENTS           0x886C
+#define LOCAL_GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT       0x886C
+#define LOCAL_GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES       0x886C
 #define LOCAL_GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS          0x8E83
+#define LOCAL_GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT      0x8E83
+#define LOCAL_GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES      0x8E83
 #define LOCAL_GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS      0x90D8
+#define LOCAL_GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT  0x90D8
+#define LOCAL_GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES  0x90D8
 #define LOCAL_GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS        0x8E81
+#define LOCAL_GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT    0x8E81
+#define LOCAL_GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES    0x8E81
 #define LOCAL_GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS    0x8E85
+#define LOCAL_GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT        0x8E85
+#define LOCAL_GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES        0x8E85
 #define LOCAL_GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS             0x8E89
+#define LOCAL_GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT         0x8E89
+#define LOCAL_GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES         0x8E89
 #define LOCAL_GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS         0x8E7F
+#define LOCAL_GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT     0x8E7F
+#define LOCAL_GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES     0x8E7F
 #define LOCAL_GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS         0x92D4
+#define LOCAL_GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT     0x92D4
+#define LOCAL_GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES     0x92D4
 #define LOCAL_GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS  0x92CE
+#define LOCAL_GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT      0x92CE
+#define LOCAL_GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES      0x92CE
 #define LOCAL_GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS          0x90CC
+#define LOCAL_GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT      0x90CC
+#define LOCAL_GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES      0x90CC
 #define LOCAL_GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS        0x886D
+#define LOCAL_GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT    0x886D
+#define LOCAL_GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES    0x886D
 #define LOCAL_GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS       0x8E86
+#define LOCAL_GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT   0x8E86
+#define LOCAL_GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES   0x8E86
 #define LOCAL_GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS   0x90D9
+#define LOCAL_GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT       0x90D9
+#define LOCAL_GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES       0x90D9
 #define LOCAL_GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS     0x8E82
+#define LOCAL_GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82
+#define LOCAL_GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82
 #define LOCAL_GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS          0x8E8A
+#define LOCAL_GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT      0x8E8A
+#define LOCAL_GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES      0x8E8A
 #define LOCAL_GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS      0x8E80
+#define LOCAL_GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT  0x8E80
+#define LOCAL_GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES  0x8E80
 #define LOCAL_GL_MAX_TESS_GEN_LEVEL                          0x8E7E
+#define LOCAL_GL_MAX_TESS_GEN_LEVEL_EXT                      0x8E7E
+#define LOCAL_GL_MAX_TESS_GEN_LEVEL_OES                      0x8E7E
 #define LOCAL_GL_MAX_TESS_PATCH_COMPONENTS                   0x8E84
+#define LOCAL_GL_MAX_TESS_PATCH_COMPONENTS_EXT               0x8E84
+#define LOCAL_GL_MAX_TESS_PATCH_COMPONENTS_OES               0x8E84
 #define LOCAL_GL_MAX_TEXTURE_BUFFER_SIZE                     0x8C2B
 #define LOCAL_GL_MAX_TEXTURE_BUFFER_SIZE_ARB                 0x8C2B
 #define LOCAL_GL_MAX_TEXTURE_BUFFER_SIZE_EXT                 0x8C2B
+#define LOCAL_GL_MAX_TEXTURE_BUFFER_SIZE_OES                 0x8C2B
 #define LOCAL_GL_MAX_TEXTURE_COORDS                          0x8871
 #define LOCAL_GL_MAX_TEXTURE_COORDS_ARB                      0x8871
 #define LOCAL_GL_MAX_TEXTURE_COORDS_NV                       0x8871
 #define LOCAL_GL_MAX_TEXTURE_IMAGE_UNITS                     0x8872
 #define LOCAL_GL_MAX_TEXTURE_IMAGE_UNITS_ARB                 0x8872
 #define LOCAL_GL_MAX_TEXTURE_IMAGE_UNITS_NV                  0x8872
 #define LOCAL_GL_MAX_TEXTURE_LOD_BIAS                        0x84FD
 #define LOCAL_GL_MAX_TEXTURE_LOD_BIAS_EXT                    0x84FD
@@ -2589,58 +2950,65 @@
 #define LOCAL_GL_MAX_VERTEX_UNIFORM_COMPONENTS               0x8B4A
 #define LOCAL_GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB           0x8B4A
 #define LOCAL_GL_MAX_VERTEX_UNIFORM_VECTORS                  0x8DFB
 #define LOCAL_GL_MAX_VERTEX_UNITS_ARB                        0x86A4
 #define LOCAL_GL_MAX_VERTEX_UNITS_OES                        0x86A4
 #define LOCAL_GL_MAX_VERTEX_VARYING_COMPONENTS_ARB           0x8DDE
 #define LOCAL_GL_MAX_VERTEX_VARYING_COMPONENTS_EXT           0x8DDE
 #define LOCAL_GL_MAX_VIEWPORTS                               0x825B
+#define LOCAL_GL_MAX_VIEWPORTS_NV                            0x825B
+#define LOCAL_GL_MAX_VIEWPORTS_OES                           0x825B
 #define LOCAL_GL_MAX_VIEWPORT_DIMS                           0x0D3A
+#define LOCAL_GL_MAX_VIEWS_OVR                               0x9631
 #define LOCAL_GL_MAX_WIDTH                                   0x827E
+#define LOCAL_GL_MAX_WINDOW_RECTANGLES_EXT                   0x8F14
 #define LOCAL_GL_MEDIUM_FLOAT                                0x8DF1
 #define LOCAL_GL_MEDIUM_INT                                  0x8DF4
 #define LOCAL_GL_MIN                                         0x8007
 #define LOCAL_GL_MINMAX                                      0x802E
 #define LOCAL_GL_MINMAX_EXT                                  0x802E
 #define LOCAL_GL_MINMAX_FORMAT                               0x802F
 #define LOCAL_GL_MINMAX_FORMAT_EXT                           0x802F
 #define LOCAL_GL_MINMAX_SINK                                 0x8030
 #define LOCAL_GL_MINMAX_SINK_EXT                             0x8030
 #define LOCAL_GL_MINOR_VERSION                               0x821C
 #define LOCAL_GL_MINUS_CLAMPED_NV                            0x92B3
 #define LOCAL_GL_MINUS_NV                                    0x929F
 #define LOCAL_GL_MIN_EXT                                     0x8007
 #define LOCAL_GL_MIN_FRAGMENT_INTERPOLATION_OFFSET           0x8E5B
 #define LOCAL_GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV        0x8E5B
+#define LOCAL_GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES       0x8E5B
 #define LOCAL_GL_MIN_LOD_WARNING_AMD                         0x919C
 #define LOCAL_GL_MIN_MAP_BUFFER_ALIGNMENT                    0x90BC
 #define LOCAL_GL_MIN_PROGRAM_TEXEL_OFFSET                    0x8904
 #define LOCAL_GL_MIN_PROGRAM_TEXEL_OFFSET_EXT                0x8904
 #define LOCAL_GL_MIN_PROGRAM_TEXEL_OFFSET_NV                 0x8904
 #define LOCAL_GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET           0x8E5E
 #define LOCAL_GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB       0x8E5E
 #define LOCAL_GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV        0x8E5E
 #define LOCAL_GL_MIN_SAMPLE_SHADING_VALUE                    0x8C37
 #define LOCAL_GL_MIN_SAMPLE_SHADING_VALUE_ARB                0x8C37
+#define LOCAL_GL_MIN_SAMPLE_SHADING_VALUE_OES                0x8C37
 #define LOCAL_GL_MIN_SPARSE_LEVEL_AMD                        0x919B
-#define LOCAL_GL_MIN_SPARSE_LEVEL_ARB                        0x919B
 #define LOCAL_GL_MIPMAP                                      0x8293
 #define LOCAL_GL_MIRRORED_REPEAT                             0x8370
 #define LOCAL_GL_MIRRORED_REPEAT_ARB                         0x8370
 #define LOCAL_GL_MIRRORED_REPEAT_IBM                         0x8370
 #define LOCAL_GL_MIRRORED_REPEAT_OES                         0x8370
 #define LOCAL_GL_MIRROR_CLAMP_ATI                            0x8742
 #define LOCAL_GL_MIRROR_CLAMP_EXT                            0x8742
 #define LOCAL_GL_MIRROR_CLAMP_TO_BORDER_EXT                  0x8912
 #define LOCAL_GL_MIRROR_CLAMP_TO_EDGE                        0x8743
 #define LOCAL_GL_MIRROR_CLAMP_TO_EDGE_ATI                    0x8743
 #define LOCAL_GL_MIRROR_CLAMP_TO_EDGE_EXT                    0x8743
 #define LOCAL_GL_MITER_REVERT_NV                             0x90A7
 #define LOCAL_GL_MITER_TRUNCATE_NV                           0x90A8
+#define LOCAL_GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV            0x932F
+#define LOCAL_GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV          0x9330
 #define LOCAL_GL_MODELVIEW                                   0x1700
 #define LOCAL_GL_MODELVIEW0_ARB                              0x1700
 #define LOCAL_GL_MODELVIEW0_EXT                              0x1700
 #define LOCAL_GL_MODELVIEW0_MATRIX_EXT                       0x0BA6
 #define LOCAL_GL_MODELVIEW0_STACK_DEPTH_EXT                  0x0BA3
 #define LOCAL_GL_MODELVIEW10_ARB                             0x872A
 #define LOCAL_GL_MODELVIEW11_ARB                             0x872B
 #define LOCAL_GL_MODELVIEW12_ARB                             0x872C
@@ -2684,18 +3052,23 @@
 #define LOCAL_GL_MODULATE_COLOR_IMG                          0x8C04
 #define LOCAL_GL_MODULATE_SIGNED_ADD_ATI                     0x8745
 #define LOCAL_GL_MODULATE_SUBTRACT_ATI                       0x8746
 #define LOCAL_GL_MOVE_TO_CONTINUES_NV                        0x90B6
 #define LOCAL_GL_MOVE_TO_NV                                  0x02
 #define LOCAL_GL_MOVE_TO_RESETS_NV                           0x90B5
 #define LOCAL_GL_MOV_ATI                                     0x8961
 #define LOCAL_GL_MULT                                        0x0103
+#define LOCAL_GL_MULTICAST_GPUS_NV                           0x92BA
+#define LOCAL_GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV   0x9549
+#define LOCAL_GL_MULTIPLY                                    0x9294
+#define LOCAL_GL_MULTIPLY_KHR                                0x9294
 #define LOCAL_GL_MULTIPLY_NV                                 0x9294
 #define LOCAL_GL_MULTISAMPLE                                 0x809D
+#define LOCAL_GL_MULTISAMPLES_NV                             0x9371
 #define LOCAL_GL_MULTISAMPLE_3DFX                            0x86B2
 #define LOCAL_GL_MULTISAMPLE_ARB                             0x809D
 #define LOCAL_GL_MULTISAMPLE_BIT                             0x20000000
 #define LOCAL_GL_MULTISAMPLE_BIT_3DFX                        0x20000000
 #define LOCAL_GL_MULTISAMPLE_BIT_ARB                         0x20000000
 #define LOCAL_GL_MULTISAMPLE_BIT_EXT                         0x20000000
 #define LOCAL_GL_MULTISAMPLE_BUFFER_BIT0_QCOM                0x01000000
 #define LOCAL_GL_MULTISAMPLE_BUFFER_BIT1_QCOM                0x02000000
@@ -2703,16 +3076,21 @@
 #define LOCAL_GL_MULTISAMPLE_BUFFER_BIT3_QCOM                0x08000000
 #define LOCAL_GL_MULTISAMPLE_BUFFER_BIT4_QCOM                0x10000000
 #define LOCAL_GL_MULTISAMPLE_BUFFER_BIT5_QCOM                0x20000000
 #define LOCAL_GL_MULTISAMPLE_BUFFER_BIT6_QCOM                0x40000000
 #define LOCAL_GL_MULTISAMPLE_BUFFER_BIT7_QCOM                0x80000000
 #define LOCAL_GL_MULTISAMPLE_COVERAGE_MODES_NV               0x8E12
 #define LOCAL_GL_MULTISAMPLE_EXT                             0x809D
 #define LOCAL_GL_MULTISAMPLE_FILTER_HINT_NV                  0x8534
+#define LOCAL_GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY          0x9382
+#define LOCAL_GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB      0x9382
+#define LOCAL_GL_MULTISAMPLE_LINE_WIDTH_RANGE                0x9381
+#define LOCAL_GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB            0x9381
+#define LOCAL_GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT       0x932B
 #define LOCAL_GL_MULTISAMPLE_SGIS                            0x809D
 #define LOCAL_GL_MULTIVIEW_EXT                               0x90F1
 #define LOCAL_GL_MUL_ATI                                     0x8964
 #define LOCAL_GL_MVP_MATRIX_EXT                              0x87E3
 #define LOCAL_GL_N3F_V3F                                     0x2A25
 #define LOCAL_GL_NAMED_STRING_LENGTH_ARB                     0x8DE9
 #define LOCAL_GL_NAMED_STRING_TYPE_ARB                       0x8DEA
 #define LOCAL_GL_NAME_LENGTH                                 0x92F9
@@ -2723,27 +3101,29 @@
 #define LOCAL_GL_NATIVE_GRAPHICS_HANDLE_PGI                  0x1A202
 #define LOCAL_GL_NEAREST                                     0x2600
 #define LOCAL_GL_NEAREST_CLIPMAP_LINEAR_SGIX                 0x844E
 #define LOCAL_GL_NEAREST_CLIPMAP_NEAREST_SGIX                0x844D
 #define LOCAL_GL_NEAREST_MIPMAP_LINEAR                       0x2702
 #define LOCAL_GL_NEAREST_MIPMAP_NEAREST                      0x2700
 #define LOCAL_GL_NEGATE_BIT_ATI                              0x00000004
 #define LOCAL_GL_NEGATIVE_ONE_EXT                            0x87DF
+#define LOCAL_GL_NEGATIVE_ONE_TO_ONE                         0x935E
 #define LOCAL_GL_NEGATIVE_W_EXT                              0x87DC
 #define LOCAL_GL_NEGATIVE_X_EXT                              0x87D9
 #define LOCAL_GL_NEGATIVE_Y_EXT                              0x87DA
 #define LOCAL_GL_NEGATIVE_Z_EXT                              0x87DB
 #define LOCAL_GL_NEVER                                       0x0200
 #define LOCAL_GL_NEXT_BUFFER_NV                              -2
 #define LOCAL_GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV         0x9025
 #define LOCAL_GL_NICEST                                      0x1102
 #define LOCAL_GL_NONE                                        0
 #define LOCAL_GL_NONE_OES                                    0
 #define LOCAL_GL_NOOP                                        0x1505
+#define LOCAL_GL_NOP_COMMAND_NV                              0x0001
 #define LOCAL_GL_NOR                                         0x1508
 #define LOCAL_GL_NORMALIZE                                   0x0BA1
 #define LOCAL_GL_NORMALIZED_RANGE_EXT                        0x87E0
 #define LOCAL_GL_NORMAL_ARRAY                                0x8075
 #define LOCAL_GL_NORMAL_ARRAY_ADDRESS_NV                     0x8F22
 #define LOCAL_GL_NORMAL_ARRAY_BUFFER_BINDING                 0x8897
 #define LOCAL_GL_NORMAL_ARRAY_BUFFER_BINDING_ARB             0x8897
 #define LOCAL_GL_NORMAL_ARRAY_COUNT_EXT                      0x8080
@@ -2761,52 +3141,62 @@
 #define LOCAL_GL_NORMAL_BIT_PGI                              0x08000000
 #define LOCAL_GL_NORMAL_MAP                                  0x8511
 #define LOCAL_GL_NORMAL_MAP_ARB                              0x8511
 #define LOCAL_GL_NORMAL_MAP_EXT                              0x8511
 #define LOCAL_GL_NORMAL_MAP_NV                               0x8511
 #define LOCAL_GL_NORMAL_MAP_OES                              0x8511
 #define LOCAL_GL_NOTEQUAL                                    0x0205
 #define LOCAL_GL_NO_ERROR                                    0
+#define LOCAL_GL_NO_RESET_NOTIFICATION                       0x8261
 #define LOCAL_GL_NO_RESET_NOTIFICATION_ARB                   0x8261
 #define LOCAL_GL_NO_RESET_NOTIFICATION_EXT                   0x8261
+#define LOCAL_GL_NO_RESET_NOTIFICATION_KHR                   0x8261
 #define LOCAL_GL_NUM_ACTIVE_VARIABLES                        0x9304
 #define LOCAL_GL_NUM_COMPATIBLE_SUBROUTINES                  0x8E4A
 #define LOCAL_GL_NUM_COMPRESSED_TEXTURE_FORMATS              0x86A2
 #define LOCAL_GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB          0x86A2
+#define LOCAL_GL_NUM_DEVICE_UUIDS_EXT                        0x9596
+#define LOCAL_GL_NUM_DOWNSAMPLE_SCALES_IMG                   0x913D
 #define LOCAL_GL_NUM_EXTENSIONS                              0x821D
 #define LOCAL_GL_NUM_FILL_STREAMS_NV                         0x8E29
 #define LOCAL_GL_NUM_FRAGMENT_CONSTANTS_ATI                  0x896F
 #define LOCAL_GL_NUM_FRAGMENT_REGISTERS_ATI                  0x896E
 #define LOCAL_GL_NUM_GENERAL_COMBINERS_NV                    0x854E
 #define LOCAL_GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI       0x8973
 #define LOCAL_GL_NUM_INSTRUCTIONS_PER_PASS_ATI               0x8971
 #define LOCAL_GL_NUM_INSTRUCTIONS_TOTAL_ATI                  0x8972
 #define LOCAL_GL_NUM_LOOPBACK_COMPONENTS_ATI                 0x8974
 #define LOCAL_GL_NUM_PASSES_ATI                              0x8970
 #define LOCAL_GL_NUM_PROGRAM_BINARY_FORMATS                  0x87FE
 #define LOCAL_GL_NUM_PROGRAM_BINARY_FORMATS_OES              0x87FE
 #define LOCAL_GL_NUM_SAMPLE_COUNTS                           0x9380
 #define LOCAL_GL_NUM_SHADER_BINARY_FORMATS                   0x8DF9
 #define LOCAL_GL_NUM_SHADING_LANGUAGE_VERSIONS               0x82E9
+#define LOCAL_GL_NUM_SPARSE_LEVELS_ARB                       0x91AA
+#define LOCAL_GL_NUM_SPARSE_LEVELS_EXT                       0x91AA
+#define LOCAL_GL_NUM_TILING_TYPES_EXT                        0x9582
 #define LOCAL_GL_NUM_VIDEO_CAPTURE_STREAMS_NV                0x9024
 #define LOCAL_GL_NUM_VIRTUAL_PAGE_SIZES_ARB                  0x91A8
+#define LOCAL_GL_NUM_VIRTUAL_PAGE_SIZES_EXT                  0x91A8
+#define LOCAL_GL_NUM_WINDOW_RECTANGLES_EXT                   0x8F15
 #define LOCAL_GL_OBJECT_ACTIVE_ATTRIBUTES_ARB                0x8B89
 #define LOCAL_GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB      0x8B8A
 #define LOCAL_GL_OBJECT_ACTIVE_UNIFORMS_ARB                  0x8B86
 #define LOCAL_GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB        0x8B87
 #define LOCAL_GL_OBJECT_ATTACHED_OBJECTS_ARB                 0x8B85
 #define LOCAL_GL_OBJECT_BUFFER_SIZE_ATI                      0x8764
 #define LOCAL_GL_OBJECT_BUFFER_USAGE_ATI                     0x8765
 #define LOCAL_GL_OBJECT_COMPILE_STATUS_ARB                   0x8B81
 #define LOCAL_GL_OBJECT_DELETE_STATUS_ARB                    0x8B80
 #define LOCAL_GL_OBJECT_DISTANCE_TO_LINE_SGIS                0x81F3
 #define LOCAL_GL_OBJECT_DISTANCE_TO_POINT_SGIS               0x81F1
 #define LOCAL_GL_OBJECT_INFO_LOG_LENGTH_ARB                  0x8B84
 #define LOCAL_GL_OBJECT_LINEAR                               0x2401
+#define LOCAL_GL_OBJECT_LINEAR_NV                            0x2401
 #define LOCAL_GL_OBJECT_LINE_SGIS                            0x81F7
 #define LOCAL_GL_OBJECT_LINK_STATUS_ARB                      0x8B82
 #define LOCAL_GL_OBJECT_PLANE                                0x2501
 #define LOCAL_GL_OBJECT_POINT_SGIS                           0x81F5
 #define LOCAL_GL_OBJECT_SHADER_SOURCE_LENGTH_ARB             0x8B88
 #define LOCAL_GL_OBJECT_SUBTYPE_ARB                          0x8B4F
 #define LOCAL_GL_OBJECT_TYPE                                 0x9112
 #define LOCAL_GL_OBJECT_TYPE_APPLE                           0x9112
@@ -2837,17 +3227,19 @@
 #define LOCAL_GL_ONE_EXT                                     0x87DE
 #define LOCAL_GL_ONE_MINUS_CONSTANT_ALPHA                    0x8004
 #define LOCAL_GL_ONE_MINUS_CONSTANT_ALPHA_EXT                0x8004
 #define LOCAL_GL_ONE_MINUS_CONSTANT_COLOR                    0x8002
 #define LOCAL_GL_ONE_MINUS_CONSTANT_COLOR_EXT                0x8002
 #define LOCAL_GL_ONE_MINUS_DST_ALPHA                         0x0305
 #define LOCAL_GL_ONE_MINUS_DST_COLOR                         0x0307
 #define LOCAL_GL_ONE_MINUS_SRC1_ALPHA                        0x88FB
+#define LOCAL_GL_ONE_MINUS_SRC1_ALPHA_EXT                    0x88FB
 #define LOCAL_GL_ONE_MINUS_SRC1_COLOR                        0x88FA
+#define LOCAL_GL_ONE_MINUS_SRC1_COLOR_EXT                    0x88FA
 #define LOCAL_GL_ONE_MINUS_SRC_ALPHA                         0x0303
 #define LOCAL_GL_ONE_MINUS_SRC_COLOR                         0x0301
 #define LOCAL_GL_OPERAND0_ALPHA                              0x8598
 #define LOCAL_GL_OPERAND0_ALPHA_ARB                          0x8598
 #define LOCAL_GL_OPERAND0_ALPHA_EXT                          0x8598
 #define LOCAL_GL_OPERAND0_RGB                                0x8590
 #define LOCAL_GL_OPERAND0_RGB_ARB                            0x8590
 #define LOCAL_GL_OPERAND0_RGB_EXT                            0x8590
@@ -2860,16 +3252,17 @@
 #define LOCAL_GL_OPERAND2_ALPHA                              0x859A
 #define LOCAL_GL_OPERAND2_ALPHA_ARB                          0x859A
 #define LOCAL_GL_OPERAND2_ALPHA_EXT                          0x859A
 #define LOCAL_GL_OPERAND2_RGB                                0x8592
 #define LOCAL_GL_OPERAND2_RGB_ARB                            0x8592
 #define LOCAL_GL_OPERAND2_RGB_EXT                            0x8592
 #define LOCAL_GL_OPERAND3_ALPHA_NV                           0x859B
 #define LOCAL_GL_OPERAND3_RGB_NV                             0x8593
+#define LOCAL_GL_OPTIMAL_TILING_EXT                          0x9584
 #define LOCAL_GL_OP_ADD_EXT                                  0x8787
 #define LOCAL_GL_OP_CLAMP_EXT                                0x878E
 #define LOCAL_GL_OP_CROSS_PRODUCT_EXT                        0x8797
 #define LOCAL_GL_OP_DOT3_EXT                                 0x8784
 #define LOCAL_GL_OP_DOT4_EXT                                 0x8785
 #define LOCAL_GL_OP_EXP_BASE_2_EXT                           0x8791
 #define LOCAL_GL_OP_FLOOR_EXT                                0x878F
 #define LOCAL_GL_OP_FRAC_EXT                                 0x8789
@@ -2925,32 +3318,34 @@
 #define LOCAL_GL_OUTPUT_TEXTURE_COORD4_EXT                   0x87A1
 #define LOCAL_GL_OUTPUT_TEXTURE_COORD5_EXT                   0x87A2
 #define LOCAL_GL_OUTPUT_TEXTURE_COORD6_EXT                   0x87A3
 #define LOCAL_GL_OUTPUT_TEXTURE_COORD7_EXT                   0x87A4
 #define LOCAL_GL_OUTPUT_TEXTURE_COORD8_EXT                   0x87A5
 #define LOCAL_GL_OUTPUT_TEXTURE_COORD9_EXT                   0x87A6
 #define LOCAL_GL_OUTPUT_VERTEX_EXT                           0x879A
 #define LOCAL_GL_OUT_OF_MEMORY                               0x0505
+#define LOCAL_GL_OVERLAY                                     0x9296
+#define LOCAL_GL_OVERLAY_KHR                                 0x9296
 #define LOCAL_GL_OVERLAY_NV                                  0x9296
 #define LOCAL_GL_PACK_ALIGNMENT                              0x0D05
 #define LOCAL_GL_PACK_CMYK_HINT_EXT                          0x800E
 #define LOCAL_GL_PACK_COMPRESSED_BLOCK_DEPTH                 0x912D
 #define LOCAL_GL_PACK_COMPRESSED_BLOCK_HEIGHT                0x912C
 #define LOCAL_GL_PACK_COMPRESSED_BLOCK_SIZE                  0x912E
 #define LOCAL_GL_PACK_COMPRESSED_BLOCK_WIDTH                 0x912B
 #define LOCAL_GL_PACK_COMPRESSED_SIZE_SGIX                   0x831C
 #define LOCAL_GL_PACK_IMAGE_DEPTH_SGIS                       0x8131
 #define LOCAL_GL_PACK_IMAGE_HEIGHT                           0x806C
 #define LOCAL_GL_PACK_IMAGE_HEIGHT_EXT                       0x806C
 #define LOCAL_GL_PACK_INVERT_MESA                            0x8758
 #define LOCAL_GL_PACK_LSB_FIRST                              0x0D01
 #define LOCAL_GL_PACK_MAX_COMPRESSED_SIZE_SGIX               0x831B
 #define LOCAL_GL_PACK_RESAMPLE_OML                           0x8984
-#define LOCAL_GL_PACK_RESAMPLE_SGIX                          0x842C
+#define LOCAL_GL_PACK_RESAMPLE_SGIX                          0x842E
 #define LOCAL_GL_PACK_REVERSE_ROW_ORDER_ANGLE                0x93A4
 #define LOCAL_GL_PACK_ROW_BYTES_APPLE                        0x8A15
 #define LOCAL_GL_PACK_ROW_LENGTH                             0x0D02
 #define LOCAL_GL_PACK_SKIP_IMAGES                            0x806B
 #define LOCAL_GL_PACK_SKIP_IMAGES_EXT                        0x806B
 #define LOCAL_GL_PACK_SKIP_PIXELS                            0x0D04
 #define LOCAL_GL_PACK_SKIP_ROWS                              0x0D03
 #define LOCAL_GL_PACK_SKIP_VOLUMES_SGIS                      0x8130
@@ -2968,19 +3363,25 @@
 #define LOCAL_GL_PALETTE8_RGBA8_OES                          0x8B96
 #define LOCAL_GL_PARALLEL_ARRAYS_INTEL                       0x83F4
 #define LOCAL_GL_PARAMETER_BUFFER_ARB                        0x80EE
 #define LOCAL_GL_PARAMETER_BUFFER_BINDING_ARB                0x80EF
 #define LOCAL_GL_PARTIAL_SUCCESS_NV                          0x902E
 #define LOCAL_GL_PASS_THROUGH_NV                             0x86E6
 #define LOCAL_GL_PASS_THROUGH_TOKEN                          0x0700
 #define LOCAL_GL_PATCHES                                     0x000E
+#define LOCAL_GL_PATCHES_EXT                                 0x000E
+#define LOCAL_GL_PATCHES_OES                                 0x000E
 #define LOCAL_GL_PATCH_DEFAULT_INNER_LEVEL                   0x8E73
+#define LOCAL_GL_PATCH_DEFAULT_INNER_LEVEL_EXT               0x8E73
 #define LOCAL_GL_PATCH_DEFAULT_OUTER_LEVEL                   0x8E74
+#define LOCAL_GL_PATCH_DEFAULT_OUTER_LEVEL_EXT               0x8E74
 #define LOCAL_GL_PATCH_VERTICES                              0x8E72
+#define LOCAL_GL_PATCH_VERTICES_EXT                          0x8E72
+#define LOCAL_GL_PATCH_VERTICES_OES                          0x8E72
 #define LOCAL_GL_PATH_CLIENT_LENGTH_NV                       0x907F
 #define LOCAL_GL_PATH_COMMAND_COUNT_NV                       0x909D
 #define LOCAL_GL_PATH_COMPUTED_LENGTH_NV                     0x90A0
 #define LOCAL_GL_PATH_COORD_COUNT_NV                         0x909E
 #define LOCAL_GL_PATH_COVER_DEPTH_FUNC_NV                    0x90BF
 #define LOCAL_GL_PATH_DASH_ARRAY_COUNT_NV                    0x909F
 #define LOCAL_GL_PATH_DASH_CAPS_NV                           0x907B
 #define LOCAL_GL_PATH_DASH_OFFSET_NV                         0x907E
@@ -2996,29 +3397,39 @@
 #define LOCAL_GL_PATH_FORMAT_SVG_NV                          0x9070
 #define LOCAL_GL_PATH_GEN_COEFF_NV                           0x90B1
 #define LOCAL_GL_PATH_GEN_COLOR_FORMAT_NV                    0x90B2
 #define LOCAL_GL_PATH_GEN_COMPONENTS_NV                      0x90B3
 #define LOCAL_GL_PATH_GEN_MODE_NV                            0x90B0
 #define LOCAL_GL_PATH_INITIAL_DASH_CAP_NV                    0x907C
 #define LOCAL_GL_PATH_INITIAL_END_CAP_NV                     0x9077
 #define LOCAL_GL_PATH_JOIN_STYLE_NV                          0x9079
+#define LOCAL_GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV           0x0D36
+#define LOCAL_GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV          0x0D38
 #define LOCAL_GL_PATH_MITER_LIMIT_NV                         0x907A
+#define LOCAL_GL_PATH_MODELVIEW_MATRIX_NV                    0x0BA6
+#define LOCAL_GL_PATH_MODELVIEW_NV                           0x1700
+#define LOCAL_GL_PATH_MODELVIEW_STACK_DEPTH_NV               0x0BA3
 #define LOCAL_GL_PATH_OBJECT_BOUNDING_BOX_NV                 0x908A
+#define LOCAL_GL_PATH_PROJECTION_MATRIX_NV                   0x0BA7
+#define LOCAL_GL_PATH_PROJECTION_NV                          0x1701
+#define LOCAL_GL_PATH_PROJECTION_STACK_DEPTH_NV              0x0BA4
 #define LOCAL_GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV         0x90BD
 #define LOCAL_GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV          0x90BE
 #define LOCAL_GL_PATH_STENCIL_FUNC_NV                        0x90B7
 #define LOCAL_GL_PATH_STENCIL_REF_NV                         0x90B8
 #define LOCAL_GL_PATH_STENCIL_VALUE_MASK_NV                  0x90B9
 #define LOCAL_GL_PATH_STROKE_BOUNDING_BOX_NV                 0x90A2
 #define LOCAL_GL_PATH_STROKE_COVER_MODE_NV                   0x9083
 #define LOCAL_GL_PATH_STROKE_MASK_NV                         0x9084
 #define LOCAL_GL_PATH_STROKE_WIDTH_NV                        0x9075
 #define LOCAL_GL_PATH_TERMINAL_DASH_CAP_NV                   0x907D
 #define LOCAL_GL_PATH_TERMINAL_END_CAP_NV                    0x9078
+#define LOCAL_GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV          0x84E3
+#define LOCAL_GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV         0x84E4
 #define LOCAL_GL_PERCENTAGE_AMD                              0x8BC3
 #define LOCAL_GL_PERFMON_GLOBAL_MODE_QCOM                    0x8FA0
 #define LOCAL_GL_PERFMON_RESULT_AMD                          0x8BC6
 #define LOCAL_GL_PERFMON_RESULT_AVAILABLE_AMD                0x8BC4
 #define LOCAL_GL_PERFMON_RESULT_SIZE_AMD                     0x8BC5
 #define LOCAL_GL_PERFORMANCE_MONITOR_AMD                     0x9152
 #define LOCAL_GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL         0x94FC
 #define LOCAL_GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL         0x94FB
@@ -3037,20 +3448,24 @@
 #define LOCAL_GL_PERFQUERY_FLUSH_INTEL                       0x83FA
 #define LOCAL_GL_PERFQUERY_GLOBAL_CONTEXT_INTEL              0x00000001
 #define LOCAL_GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL       0x9500
 #define LOCAL_GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL       0x94FD
 #define LOCAL_GL_PERFQUERY_SINGLE_CONTEXT_INTEL              0x00000000
 #define LOCAL_GL_PERFQUERY_WAIT_INTEL                        0x83FB
 #define LOCAL_GL_PERSPECTIVE_CORRECTION_HINT                 0x0C50
 #define LOCAL_GL_PERTURB_EXT                                 0x85AE
+#define LOCAL_GL_PER_GPU_STORAGE_BIT_NV                      0x0800
+#define LOCAL_GL_PER_GPU_STORAGE_NV                          0x9548
 #define LOCAL_GL_PER_STAGE_CONSTANTS_NV                      0x8535
 #define LOCAL_GL_PHONG_HINT_WIN                              0x80EB
 #define LOCAL_GL_PHONG_WIN                                   0x80EA
 #define LOCAL_GL_PINLIGHT_NV                                 0x92A8
+#define LOCAL_GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD             0x91AE
+#define LOCAL_GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD             0x91AF
 #define LOCAL_GL_PIXEL_BUFFER_BARRIER_BIT                    0x00000080
 #define LOCAL_GL_PIXEL_BUFFER_BARRIER_BIT_EXT                0x00000080
 #define LOCAL_GL_PIXEL_COUNTER_BITS_NV                       0x8864
 #define LOCAL_GL_PIXEL_COUNT_AVAILABLE_NV                    0x8867
 #define LOCAL_GL_PIXEL_COUNT_NV                              0x8866
 #define LOCAL_GL_PIXEL_CUBIC_WEIGHT_EXT                      0x8333
 #define LOCAL_GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS            0x8355
 #define LOCAL_GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS              0x8354
@@ -3130,16 +3545,17 @@
 #define LOCAL_GL_POINTS                                      0x0000
 #define LOCAL_GL_POINT_BIT                                   0x00000002
 #define LOCAL_GL_POINT_DISTANCE_ATTENUATION                  0x8129
 #define LOCAL_GL_POINT_DISTANCE_ATTENUATION_ARB              0x8129
 #define LOCAL_GL_POINT_FADE_THRESHOLD_SIZE                   0x8128
 #define LOCAL_GL_POINT_FADE_THRESHOLD_SIZE_ARB               0x8128
 #define LOCAL_GL_POINT_FADE_THRESHOLD_SIZE_EXT               0x8128
 #define LOCAL_GL_POINT_FADE_THRESHOLD_SIZE_SGIS              0x8128
+#define LOCAL_GL_POINT_NV                                    0x1B00
 #define LOCAL_GL_POINT_SIZE                                  0x0B11
 #define LOCAL_GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES         0x8B9F
 #define LOCAL_GL_POINT_SIZE_ARRAY_OES                        0x8B9C
 #define LOCAL_GL_POINT_SIZE_ARRAY_POINTER_OES                0x898C
 #define LOCAL_GL_POINT_SIZE_ARRAY_STRIDE_OES                 0x898B
 #define LOCAL_GL_POINT_SIZE_ARRAY_TYPE_OES                   0x898A
 #define LOCAL_GL_POINT_SIZE_GRANULARITY                      0x0B13
 #define LOCAL_GL_POINT_SIZE_MAX                              0x8127
@@ -3158,23 +3574,28 @@
 #define LOCAL_GL_POINT_SPRITE_COORD_ORIGIN                   0x8CA0
 #define LOCAL_GL_POINT_SPRITE_NV                             0x8861
 #define LOCAL_GL_POINT_SPRITE_OES                            0x8861
 #define LOCAL_GL_POINT_SPRITE_R_MODE_NV                      0x8863
 #define LOCAL_GL_POINT_TOKEN                                 0x0701
 #define LOCAL_GL_POLYGON                                     0x0009
 #define LOCAL_GL_POLYGON_BIT                                 0x00000008
 #define LOCAL_GL_POLYGON_MODE                                0x0B40
+#define LOCAL_GL_POLYGON_MODE_NV                             0x0B40
 #define LOCAL_GL_POLYGON_OFFSET_BIAS_EXT                     0x8039
+#define LOCAL_GL_POLYGON_OFFSET_CLAMP_EXT                    0x8E1B
+#define LOCAL_GL_POLYGON_OFFSET_COMMAND_NV                   0x000E
 #define LOCAL_GL_POLYGON_OFFSET_EXT                          0x8037
 #define LOCAL_GL_POLYGON_OFFSET_FACTOR                       0x8038
 #define LOCAL_GL_POLYGON_OFFSET_FACTOR_EXT                   0x8038
 #define LOCAL_GL_POLYGON_OFFSET_FILL                         0x8037
 #define LOCAL_GL_POLYGON_OFFSET_LINE                         0x2A02
+#define LOCAL_GL_POLYGON_OFFSET_LINE_NV                      0x2A02
 #define LOCAL_GL_POLYGON_OFFSET_POINT                        0x2A01
+#define LOCAL_GL_POLYGON_OFFSET_POINT_NV                     0x2A01
 #define LOCAL_GL_POLYGON_OFFSET_UNITS                        0x2A00
 #define LOCAL_GL_POLYGON_SMOOTH                              0x0B41
 #define LOCAL_GL_POLYGON_SMOOTH_HINT                         0x0C53
 #define LOCAL_GL_POLYGON_STIPPLE                             0x0B42
 #define LOCAL_GL_POLYGON_STIPPLE_BIT                         0x00000010
 #define LOCAL_GL_POLYGON_TOKEN                               0x0703
 #define LOCAL_GL_POSITION                                    0x1203
 #define LOCAL_GL_POST_COLOR_MATRIX_ALPHA_BIAS                0x80BB
@@ -3228,24 +3649,35 @@
 #define LOCAL_GL_PREVIOUS_TEXTURE_INPUT_NV                   0x86E4
 #define LOCAL_GL_PRIMARY_COLOR                               0x8577
 #define LOCAL_GL_PRIMARY_COLOR_ARB                           0x8577
 #define LOCAL_GL_PRIMARY_COLOR_EXT                           0x8577
 #define LOCAL_GL_PRIMARY_COLOR_NV                            0x852C
 #define LOCAL_GL_PRIMITIVES_GENERATED                        0x8C87
 #define LOCAL_GL_PRIMITIVES_GENERATED_EXT                    0x8C87
 #define LOCAL_GL_PRIMITIVES_GENERATED_NV                     0x8C87
+#define LOCAL_GL_PRIMITIVES_GENERATED_OES                    0x8C87
+#define LOCAL_GL_PRIMITIVES_SUBMITTED_ARB                    0x82EF
+#define LOCAL_GL_PRIMITIVE_BOUNDING_BOX                      0x92BE
+#define LOCAL_GL_PRIMITIVE_BOUNDING_BOX_ARB                  0x92BE
+#define LOCAL_GL_PRIMITIVE_BOUNDING_BOX_EXT                  0x92BE
+#define LOCAL_GL_PRIMITIVE_BOUNDING_BOX_OES                  0x92BE
 #define LOCAL_GL_PRIMITIVE_ID_NV                             0x8C7C
 #define LOCAL_GL_PRIMITIVE_RESTART                           0x8F9D
 #define LOCAL_GL_PRIMITIVE_RESTART_FIXED_INDEX               0x8D69
 #define LOCAL_GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED     0x8221
+#define LOCAL_GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221
 #define LOCAL_GL_PRIMITIVE_RESTART_INDEX                     0x8F9E
 #define LOCAL_GL_PRIMITIVE_RESTART_INDEX_NV                  0x8559
 #define LOCAL_GL_PRIMITIVE_RESTART_NV                        0x8558
 #define LOCAL_GL_PROGRAM                                     0x82E2
+#define LOCAL_GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB            0x9341
+#define LOCAL_GL_PROGRAMMABLE_SAMPLE_LOCATION_NV             0x9341
+#define LOCAL_GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340
+#define LOCAL_GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV  0x9340
 #define LOCAL_GL_PROGRAM_ADDRESS_REGISTERS_ARB               0x88B0
 #define LOCAL_GL_PROGRAM_ALU_INSTRUCTIONS_ARB                0x8805
 #define LOCAL_GL_PROGRAM_ATTRIBS_ARB                         0x88AC
 #define LOCAL_GL_PROGRAM_ATTRIB_COMPONENTS_NV                0x8906
 #define LOCAL_GL_PROGRAM_BINARY_ANGLE                        0x93A6
 #define LOCAL_GL_PROGRAM_BINARY_FORMATS                      0x87FF
 #define LOCAL_GL_PROGRAM_BINARY_FORMATS_OES                  0x87FF
 #define LOCAL_GL_PROGRAM_BINARY_LENGTH                       0x8741
@@ -3276,16 +3708,17 @@
 #define LOCAL_GL_PROGRAM_OBJECT_ARB                          0x8B40
 #define LOCAL_GL_PROGRAM_OBJECT_EXT                          0x8B40
 #define LOCAL_GL_PROGRAM_OUTPUT                              0x92E4
 #define LOCAL_GL_PROGRAM_PARAMETERS_ARB                      0x88A8
 #define LOCAL_GL_PROGRAM_PARAMETER_NV                        0x8644
 #define LOCAL_GL_PROGRAM_PIPELINE                            0x82E4
 #define LOCAL_GL_PROGRAM_PIPELINE_BINDING                    0x825A
 #define LOCAL_GL_PROGRAM_PIPELINE_BINDING_EXT                0x825A
+#define LOCAL_GL_PROGRAM_PIPELINE_KHR                        0x82E4
 #define LOCAL_GL_PROGRAM_PIPELINE_OBJECT_EXT                 0x8A4F
 #define LOCAL_GL_PROGRAM_POINT_SIZE                          0x8642
 #define LOCAL_GL_PROGRAM_POINT_SIZE_ARB                      0x8642
 #define LOCAL_GL_PROGRAM_POINT_SIZE_EXT                      0x8642
 #define LOCAL_GL_PROGRAM_RESIDENT_NV                         0x8647
 #define LOCAL_GL_PROGRAM_RESULT_COMPONENTS_NV                0x8907
 #define LOCAL_GL_PROGRAM_SEPARABLE                           0x8258
 #define LOCAL_GL_PROGRAM_SEPARABLE_EXT                       0x8258
@@ -3295,16 +3728,17 @@
 #define LOCAL_GL_PROGRAM_TEMPORARIES_ARB                     0x88A4
 #define LOCAL_GL_PROGRAM_TEX_INDIRECTIONS_ARB                0x8807
 #define LOCAL_GL_PROGRAM_TEX_INSTRUCTIONS_ARB                0x8806
 #define LOCAL_GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB             0x88B6
 #define LOCAL_GL_PROJECTION                                  0x1701
 #define LOCAL_GL_PROJECTION_MATRIX                           0x0BA7
 #define LOCAL_GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES     0x898E
 #define LOCAL_GL_PROJECTION_STACK_DEPTH                      0x0BA4
+#define LOCAL_GL_PROTECTED_MEMORY_OBJECT_EXT                 0x959B
 #define LOCAL_GL_PROVOKING_VERTEX                            0x8E4F
 #define LOCAL_GL_PROVOKING_VERTEX_EXT                        0x8E4F
 #define LOCAL_GL_PROXY_COLOR_TABLE                           0x80D3
 #define LOCAL_GL_PROXY_COLOR_TABLE_SGI                       0x80D3
 #define LOCAL_GL_PROXY_HISTOGRAM                             0x8025
 #define LOCAL_GL_PROXY_HISTOGRAM_EXT                         0x8025
 #define LOCAL_GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE         0x80D5
 #define LOCAL_GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI     0x80D5
@@ -3331,22 +3765,25 @@
 #define LOCAL_GL_PROXY_TEXTURE_CUBE_MAP_ARB                  0x851B
 #define LOCAL_GL_PROXY_TEXTURE_CUBE_MAP_ARRAY                0x900B
 #define LOCAL_GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB            0x900B
 #define LOCAL_GL_PROXY_TEXTURE_CUBE_MAP_EXT                  0x851B
 #define LOCAL_GL_PROXY_TEXTURE_RECTANGLE                     0x84F7
 #define LOCAL_GL_PROXY_TEXTURE_RECTANGLE_ARB                 0x84F7
 #define LOCAL_GL_PROXY_TEXTURE_RECTANGLE_NV                  0x84F7
 #define LOCAL_GL_PURGEABLE_APPLE                             0x8A1D
+#define LOCAL_GL_PURGED_CONTEXT_RESET_NV                     0x92BB
 #define LOCAL_GL_Q                                           0x2003
 #define LOCAL_GL_QUADRATIC_ATTENUATION                       0x1209
 #define LOCAL_GL_QUADRATIC_CURVE_TO_NV                       0x0A
 #define LOCAL_GL_QUADS                                       0x0007
+#define LOCAL_GL_QUADS_EXT                                   0x0007
 #define LOCAL_GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION    0x8E4C
 #define LOCAL_GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT        0x8E4C
+#define LOCAL_GL_QUADS_OES                                   0x0007
 #define LOCAL_GL_QUAD_ALPHA4_SGIS                            0x811E
 #define LOCAL_GL_QUAD_ALPHA8_SGIS                            0x811F
 #define LOCAL_GL_QUAD_INTENSITY4_SGIS                        0x8122
 #define LOCAL_GL_QUAD_INTENSITY8_SGIS                        0x8123
 #define LOCAL_GL_QUAD_LUMINANCE4_SGIS                        0x8120
 #define LOCAL_GL_QUAD_LUMINANCE8_SGIS                        0x8121
 #define LOCAL_GL_QUAD_MESH_SUN                               0x8614
 #define LOCAL_GL_QUAD_STRIP                                  0x0008
@@ -3355,50 +3792,58 @@
 #define LOCAL_GL_QUERY                                       0x82E3
 #define LOCAL_GL_QUERY_ALL_EVENT_BITS_AMD                    0xFFFFFFFF
 #define LOCAL_GL_QUERY_BUFFER                                0x9192
 #define LOCAL_GL_QUERY_BUFFER_AMD                            0x9192
 #define LOCAL_GL_QUERY_BUFFER_BARRIER_BIT                    0x00008000
 #define LOCAL_GL_QUERY_BUFFER_BINDING                        0x9193
 #define LOCAL_GL_QUERY_BUFFER_BINDING_AMD                    0x9193
 #define LOCAL_GL_QUERY_BY_REGION_NO_WAIT                     0x8E16
+#define LOCAL_GL_QUERY_BY_REGION_NO_WAIT_INVERTED            0x8E1A
 #define LOCAL_GL_QUERY_BY_REGION_NO_WAIT_NV                  0x8E16
 #define LOCAL_GL_QUERY_BY_REGION_WAIT                        0x8E15
+#define LOCAL_GL_QUERY_BY_REGION_WAIT_INVERTED               0x8E19
 #define LOCAL_GL_QUERY_BY_REGION_WAIT_NV                     0x8E15
 #define LOCAL_GL_QUERY_COUNTER_BITS                          0x8864
 #define LOCAL_GL_QUERY_COUNTER_BITS_ARB                      0x8864
 #define LOCAL_GL_QUERY_COUNTER_BITS_EXT                      0x8864
 #define LOCAL_GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD       0x00000008
 #define LOCAL_GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD              0x00000002
 #define LOCAL_GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD              0x00000001
 #define LOCAL_GL_QUERY_KHR                                   0x82E3
 #define LOCAL_GL_QUERY_NO_WAIT                               0x8E14
+#define LOCAL_GL_QUERY_NO_WAIT_INVERTED                      0x8E18
 #define LOCAL_GL_QUERY_NO_WAIT_NV                            0x8E14
 #define LOCAL_GL_QUERY_OBJECT_AMD                            0x9153
 #define LOCAL_GL_QUERY_OBJECT_EXT                            0x9153
 #define LOCAL_GL_QUERY_RESULT                                0x8866
 #define LOCAL_GL_QUERY_RESULT_ARB                            0x8866
 #define LOCAL_GL_QUERY_RESULT_AVAILABLE                      0x8867
 #define LOCAL_GL_QUERY_RESULT_AVAILABLE_ARB                  0x8867
 #define LOCAL_GL_QUERY_RESULT_AVAILABLE_EXT                  0x8867
 #define LOCAL_GL_QUERY_RESULT_EXT                            0x8866
 #define LOCAL_GL_QUERY_RESULT_NO_WAIT                        0x9194
 #define LOCAL_GL_QUERY_RESULT_NO_WAIT_AMD                    0x9194
 #define LOCAL_GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD            0x00000004
+#define LOCAL_GL_QUERY_TARGET                                0x82EA
 #define LOCAL_GL_QUERY_WAIT                                  0x8E13
+#define LOCAL_GL_QUERY_WAIT_INVERTED                         0x8E17
 #define LOCAL_GL_QUERY_WAIT_NV                               0x8E13
 #define LOCAL_GL_R                                           0x2002
 #define LOCAL_GL_R11F_G11F_B10F                              0x8C3A
+#define LOCAL_GL_R11F_G11F_B10F_APPLE                        0x8C3A
 #define LOCAL_GL_R11F_G11F_B10F_EXT                          0x8C3A
 #define LOCAL_GL_R16                                         0x822A
 #define LOCAL_GL_R16F                                        0x822D
 #define LOCAL_GL_R16F_EXT                                    0x822D
 #define LOCAL_GL_R16I                                        0x8233
 #define LOCAL_GL_R16UI                                       0x8234
+#define LOCAL_GL_R16_EXT                                     0x822A
 #define LOCAL_GL_R16_SNORM                                   0x8F98
+#define LOCAL_GL_R16_SNORM_EXT                               0x8F98
 #define LOCAL_GL_R1UI_C3F_V3F_SUN                            0x85C6
 #define LOCAL_GL_R1UI_C4F_N3F_V3F_SUN                        0x85C8
 #define LOCAL_GL_R1UI_C4UB_V3F_SUN                           0x85C5
 #define LOCAL_GL_R1UI_N3F_V3F_SUN                            0x85C7
 #define LOCAL_GL_R1UI_T2F_C4F_N3F_V3F_SUN                    0x85CB
 #define LOCAL_GL_R1UI_T2F_N3F_V3F_SUN                        0x85CA
 #define LOCAL_GL_R1UI_T2F_V3F_SUN                            0x85C9
 #define LOCAL_GL_R1UI_V3F_SUN                                0x85C4
@@ -3410,17 +3855,20 @@
 #define LOCAL_GL_R8                                          0x8229
 #define LOCAL_GL_R8I                                         0x8231
 #define LOCAL_GL_R8UI                                        0x8232
 #define LOCAL_GL_R8_EXT                                      0x8229
 #define LOCAL_GL_R8_SNORM                                    0x8F94
 #define LOCAL_GL_RASTERIZER_DISCARD                          0x8C89
 #define LOCAL_GL_RASTERIZER_DISCARD_EXT                      0x8C89
 #define LOCAL_GL_RASTERIZER_DISCARD_NV                       0x8C89
+#define LOCAL_GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT           0x932A
+#define LOCAL_GL_RASTER_MULTISAMPLE_EXT                      0x9327
 #define LOCAL_GL_RASTER_POSITION_UNCLIPPED_IBM               0x19262
+#define LOCAL_GL_RASTER_SAMPLES_EXT                          0x9328
 #define LOCAL_GL_READ_BUFFER                                 0x0C02
 #define LOCAL_GL_READ_BUFFER_EXT                             0x0C02
 #define LOCAL_GL_READ_BUFFER_NV                              0x0C02
 #define LOCAL_GL_READ_FRAMEBUFFER                            0x8CA8
 #define LOCAL_GL_READ_FRAMEBUFFER_ANGLE                      0x8CA8
 #define LOCAL_GL_READ_FRAMEBUFFER_APPLE                      0x8CA8
 #define LOCAL_GL_READ_FRAMEBUFFER_BINDING                    0x8CAA
 #define LOCAL_GL_READ_FRAMEBUFFER_BINDING_ANGLE              0x8CAA
@@ -3454,18 +3902,24 @@
 #define LOCAL_GL_RED_MAX_CLAMP_INGR                          0x8564
 #define LOCAL_GL_RED_MIN_CLAMP_INGR                          0x8560
 #define LOCAL_GL_RED_NV                                      0x1903
 #define LOCAL_GL_RED_SCALE                                   0x0D14
 #define LOCAL_GL_RED_SNORM                                   0x8F90
 #define LOCAL_GL_REFERENCED_BY_COMPUTE_SHADER                0x930B
 #define LOCAL_GL_REFERENCED_BY_FRAGMENT_SHADER               0x930A
 #define LOCAL_GL_REFERENCED_BY_GEOMETRY_SHADER               0x9309
+#define LOCAL_GL_REFERENCED_BY_GEOMETRY_SHADER_EXT           0x9309
+#define LOCAL_GL_REFERENCED_BY_GEOMETRY_SHADER_OES           0x9309
 #define LOCAL_GL_REFERENCED_BY_TESS_CONTROL_SHADER           0x9307
+#define LOCAL_GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT       0x9307
+#define LOCAL_GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES       0x9307
 #define LOCAL_GL_REFERENCED_BY_TESS_EVALUATION_SHADER        0x9308
+#define LOCAL_GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT    0x9308
+#define LOCAL_GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES    0x9308
 #define LOCAL_GL_REFERENCED_BY_VERTEX_SHADER                 0x9306
 #define LOCAL_GL_REFERENCE_PLANE_EQUATION_SGIX               0x817E
 #define LOCAL_GL_REFERENCE_PLANE_SGIX                        0x817D
 #define LOCAL_GL_REFLECTION_MAP                              0x8512
 #define LOCAL_GL_REFLECTION_MAP_ARB                          0x8512
 #define LOCAL_GL_REFLECTION_MAP_EXT                          0x8512
 #define LOCAL_GL_REFLECTION_MAP_NV                           0x8512
 #define LOCAL_GL_REFLECTION_MAP_OES                          0x8512
@@ -3498,23 +3952,29 @@
 #define LOCAL_GL_REG_3_ATI                                   0x8924
 #define LOCAL_GL_REG_4_ATI                                   0x8925
 #define LOCAL_GL_REG_5_ATI                                   0x8926
 #define LOCAL_GL_REG_6_ATI                                   0x8927
 #define LOCAL_GL_REG_7_ATI                                   0x8928
 #define LOCAL_GL_REG_8_ATI                                   0x8929
 #define LOCAL_GL_REG_9_ATI                                   0x892A
 #define LOCAL_GL_RELATIVE_ARC_TO_NV                          0xFF
+#define LOCAL_GL_RELATIVE_CONIC_CURVE_TO_NV                  0x1B
 #define LOCAL_GL_RELATIVE_CUBIC_CURVE_TO_NV                  0x0D
 #define LOCAL_GL_RELATIVE_HORIZONTAL_LINE_TO_NV              0x07
 #define LOCAL_GL_RELATIVE_LARGE_CCW_ARC_TO_NV                0x17
 #define LOCAL_GL_RELATIVE_LARGE_CW_ARC_TO_NV                 0x19
 #define LOCAL_GL_RELATIVE_LINE_TO_NV                         0x05
 #define LOCAL_GL_RELATIVE_MOVE_TO_NV                         0x03
 #define LOCAL_GL_RELATIVE_QUADRATIC_CURVE_TO_NV              0x0B
+#define LOCAL_GL_RELATIVE_RECT_NV                            0xF7
+#define LOCAL_GL_RELATIVE_ROUNDED_RECT2_NV                   0xEB
+#define LOCAL_GL_RELATIVE_ROUNDED_RECT4_NV                   0xED
+#define LOCAL_GL_RELATIVE_ROUNDED_RECT8_NV                   0xEF
+#define LOCAL_GL_RELATIVE_ROUNDED_RECT_NV                    0xE9
 #define LOCAL_GL_RELATIVE_SMALL_CCW_ARC_TO_NV                0x13
 #define LOCAL_GL_RELATIVE_SMALL_CW_ARC_TO_NV                 0x15
 #define LOCAL_GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV           0x11
 #define LOCAL_GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV       0x0F
 #define LOCAL_GL_RELATIVE_VERTICAL_LINE_TO_NV                0x09
 #define LOCAL_GL_RELEASED_APPLE                              0x8A19
 #define LOCAL_GL_RENDER                                      0x1C00
 #define LOCAL_GL_RENDERBUFFER                                0x8D41
@@ -3557,16 +4017,17 @@
 #define LOCAL_GL_RENDERBUFFER_STENCIL_SIZE                   0x8D55
 #define LOCAL_GL_RENDERBUFFER_STENCIL_SIZE_EXT               0x8D55
 #define LOCAL_GL_RENDERBUFFER_STENCIL_SIZE_OES               0x8D55
 #define LOCAL_GL_RENDERBUFFER_WIDTH                          0x8D42
 #define LOCAL_GL_RENDERBUFFER_WIDTH_EXT                      0x8D42
 #define LOCAL_GL_RENDERBUFFER_WIDTH_OES                      0x8D42
 #define LOCAL_GL_RENDERER                                    0x1F01
 #define LOCAL_GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM           0x8FB3
+#define LOCAL_GL_RENDER_GPU_MASK_NV                          0x9558
 #define LOCAL_GL_RENDER_MODE                                 0x0C40
 #define LOCAL_GL_REPEAT                                      0x2901
 #define LOCAL_GL_REPLACE                                     0x1E01
 #define LOCAL_GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN          0x85C3
 #define LOCAL_GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN           0x85C2
 #define LOCAL_GL_REPLACEMENT_CODE_ARRAY_SUN                  0x85C0
 #define LOCAL_GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN             0x85C1
 #define LOCAL_GL_REPLACEMENT_CODE_SUN                        0x81D8
@@ -3576,34 +4037,38 @@
 #define LOCAL_GL_REPLACE_VALUE_AMD                           0x874B
 #define LOCAL_GL_REPLICATE_BORDER                            0x8153
 #define LOCAL_GL_REPLICATE_BORDER_HP                         0x8153
 #define LOCAL_GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES            0x8D68
 #define LOCAL_GL_RESAMPLE_AVERAGE_OML                        0x8988
 #define LOCAL_GL_RESAMPLE_DECIMATE_OML                       0x8989
 #define LOCAL_GL_RESAMPLE_DECIMATE_SGIX                      0x8430
 #define LOCAL_GL_RESAMPLE_REPLICATE_OML                      0x8986
-#define LOCAL_GL_RESAMPLE_REPLICATE_SGIX                     0x842E
+#define LOCAL_GL_RESAMPLE_REPLICATE_SGIX                     0x8433
 #define LOCAL_GL_RESAMPLE_ZERO_FILL_OML                      0x8987
-#define LOCAL_GL_RESAMPLE_ZERO_FILL_SGIX                     0x842F
+#define LOCAL_GL_RESAMPLE_ZERO_FILL_SGIX                     0x8434
 #define LOCAL_GL_RESCALE_NORMAL                              0x803A
 #define LOCAL_GL_RESCALE_NORMAL_EXT                          0x803A
+#define LOCAL_GL_RESET_NOTIFICATION_STRATEGY                 0x8256
 #define LOCAL_GL_RESET_NOTIFICATION_STRATEGY_ARB             0x8256
 #define LOCAL_GL_RESET_NOTIFICATION_STRATEGY_EXT             0x8256
+#define LOCAL_GL_RESET_NOTIFICATION_STRATEGY_KHR             0x8256
 #define LOCAL_GL_RESTART_PATH_NV                             0xF0
 #define LOCAL_GL_RESTART_SUN                                 0x0001
 #define LOCAL_GL_RETAINED_APPLE                              0x8A1B
 #define LOCAL_GL_RETURN                                      0x0102
 #define LOCAL_GL_RG                                          0x8227
 #define LOCAL_GL_RG16                                        0x822C
 #define LOCAL_GL_RG16F                                       0x822F
 #define LOCAL_GL_RG16F_EXT                                   0x822F
 #define LOCAL_GL_RG16I                                       0x8239
 #define LOCAL_GL_RG16UI                                      0x823A
+#define LOCAL_GL_RG16_EXT                                    0x822C
 #define LOCAL_GL_RG16_SNORM                                  0x8F99
+#define LOCAL_GL_RG16_SNORM_EXT                              0x8F99
 #define LOCAL_GL_RG32F                                       0x8230
 #define LOCAL_GL_RG32F_EXT                                   0x8230
 #define LOCAL_GL_RG32I                                       0x823B
 #define LOCAL_GL_RG32UI                                      0x823C
 #define LOCAL_GL_RG8                                         0x822B
 #define LOCAL_GL_RG8I                                        0x8237
 #define LOCAL_GL_RG8UI                                       0x8238
 #define LOCAL_GL_RG8_EXT                                     0x822B
@@ -3621,16 +4086,17 @@
 #define LOCAL_GL_RGB16F_ARB                                  0x881B
 #define LOCAL_GL_RGB16F_EXT                                  0x881B
 #define LOCAL_GL_RGB16I                                      0x8D89
 #define LOCAL_GL_RGB16I_EXT                                  0x8D89
 #define LOCAL_GL_RGB16UI                                     0x8D77
 #define LOCAL_GL_RGB16UI_EXT                                 0x8D77
 #define LOCAL_GL_RGB16_EXT                                   0x8054
 #define LOCAL_GL_RGB16_SNORM                                 0x8F9A
+#define LOCAL_GL_RGB16_SNORM_EXT                             0x8F9A
 #define LOCAL_GL_RGB2_EXT                                    0x804E
 #define LOCAL_GL_RGB32F                                      0x8815
 #define LOCAL_GL_RGB32F_ARB                                  0x8815
 #define LOCAL_GL_RGB32F_EXT                                  0x8815
 #define LOCAL_GL_RGB32I                                      0x8D83
 #define LOCAL_GL_RGB32I_EXT                                  0x8D83
 #define LOCAL_GL_RGB32UI                                     0x8D71
 #define LOCAL_GL_RGB32UI_EXT                                 0x8D71
@@ -3648,30 +4114,32 @@
 #define LOCAL_GL_RGB8I                                       0x8D8F
 #define LOCAL_GL_RGB8I_EXT                                   0x8D8F
 #define LOCAL_GL_RGB8UI                                      0x8D7D
 #define LOCAL_GL_RGB8UI_EXT                                  0x8D7D
 #define LOCAL_GL_RGB8_EXT                                    0x8051
 #define LOCAL_GL_RGB8_OES                                    0x8051
 #define LOCAL_GL_RGB8_SNORM                                  0x8F96
 #define LOCAL_GL_RGB9_E5                                     0x8C3D
+#define LOCAL_GL_RGB9_E5_APPLE                               0x8C3D
 #define LOCAL_GL_RGB9_E5_EXT                                 0x8C3D
 #define LOCAL_GL_RGBA                                        0x1908
 #define LOCAL_GL_RGBA12                                      0x805A
 #define LOCAL_GL_RGBA12_EXT                                  0x805A
 #define LOCAL_GL_RGBA16                                      0x805B
 #define LOCAL_GL_RGBA16F                                     0x881A
 #define LOCAL_GL_RGBA16F_ARB                                 0x881A
 #define LOCAL_GL_RGBA16F_EXT                                 0x881A
 #define LOCAL_GL_RGBA16I                                     0x8D88
 #define LOCAL_GL_RGBA16I_EXT                                 0x8D88
 #define LOCAL_GL_RGBA16UI                                    0x8D76
 #define LOCAL_GL_RGBA16UI_EXT                                0x8D76
 #define LOCAL_GL_RGBA16_EXT                                  0x805B
 #define LOCAL_GL_RGBA16_SNORM                                0x8F9B
+#define LOCAL_GL_RGBA16_SNORM_EXT                            0x8F9B
 #define LOCAL_GL_RGBA2                                       0x8055
 #define LOCAL_GL_RGBA2_EXT                                   0x8055
 #define LOCAL_GL_RGBA32F                                     0x8814
 #define LOCAL_GL_RGBA32F_ARB                                 0x8814
 #define LOCAL_GL_RGBA32F_EXT                                 0x8814
 #define LOCAL_GL_RGBA32I                                     0x8D82
 #define LOCAL_GL_RGBA32I_EXT                                 0x8D82
 #define LOCAL_GL_RGBA32UI                                    0x8D70
@@ -3716,16 +4184,20 @@
 #define LOCAL_GL_RGB_SCALE                                   0x8573
 #define LOCAL_GL_RGB_SCALE_ARB                               0x8573
 #define LOCAL_GL_RGB_SCALE_EXT                               0x8573
 #define LOCAL_GL_RGB_SNORM                                   0x8F92
 #define LOCAL_GL_RG_EXT                                      0x8227
 #define LOCAL_GL_RG_INTEGER                                  0x8228
 #define LOCAL_GL_RG_SNORM                                    0x8F91
 #define LOCAL_GL_RIGHT                                       0x0407
+#define LOCAL_GL_ROUNDED_RECT2_NV                            0xEA
+#define LOCAL_GL_ROUNDED_RECT4_NV                            0xEC
+#define LOCAL_GL_ROUNDED_RECT8_NV                            0xEE
+#define LOCAL_GL_ROUNDED_RECT_NV                             0xE8
 #define LOCAL_GL_ROUND_NV                                    0x90A4
 #define LOCAL_GL_S                                           0x2000
 #define LOCAL_GL_SAMPLER                                     0x82E6
 #define LOCAL_GL_SAMPLER_1D                                  0x8B5D
 #define LOCAL_GL_SAMPLER_1D_ARB                              0x8B5D
 #define LOCAL_GL_SAMPLER_1D_ARRAY                            0x8DC0
 #define LOCAL_GL_SAMPLER_1D_ARRAY_EXT                        0x8DC0
 #define LOCAL_GL_SAMPLER_1D_ARRAY_SHADOW                     0x8DC3
@@ -3736,39 +4208,46 @@
 #define LOCAL_GL_SAMPLER_2D_ARB                              0x8B5E
 #define LOCAL_GL_SAMPLER_2D_ARRAY                            0x8DC1
 #define LOCAL_GL_SAMPLER_2D_ARRAY_EXT                        0x8DC1
 #define LOCAL_GL_SAMPLER_2D_ARRAY_SHADOW                     0x8DC4
 #define LOCAL_GL_SAMPLER_2D_ARRAY_SHADOW_EXT                 0x8DC4
 #define LOCAL_GL_SAMPLER_2D_ARRAY_SHADOW_NV                  0x8DC4
 #define LOCAL_GL_SAMPLER_2D_MULTISAMPLE                      0x9108
 #define LOCAL_GL_SAMPLER_2D_MULTISAMPLE_ARRAY                0x910B
+#define LOCAL_GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES            0x910B
 #define LOCAL_GL_SAMPLER_2D_RECT                             0x8B63
 #define LOCAL_GL_SAMPLER_2D_RECT_ARB                         0x8B63
 #define LOCAL_GL_SAMPLER_2D_RECT_SHADOW                      0x8B64
 #define LOCAL_GL_SAMPLER_2D_RECT_SHADOW_ARB                  0x8B64
 #define LOCAL_GL_SAMPLER_2D_SHADOW                           0x8B62
 #define LOCAL_GL_SAMPLER_2D_SHADOW_ARB                       0x8B62
 #define LOCAL_GL_SAMPLER_2D_SHADOW_EXT                       0x8B62
 #define LOCAL_GL_SAMPLER_3D                                  0x8B5F
 #define LOCAL_GL_SAMPLER_3D_ARB                              0x8B5F
 #define LOCAL_GL_SAMPLER_3D_OES                              0x8B5F
 #define LOCAL_GL_SAMPLER_BINDING                             0x8919
 #define LOCAL_GL_SAMPLER_BUFFER                              0x8DC2
 #define LOCAL_GL_SAMPLER_BUFFER_AMD                          0x9001
 #define LOCAL_GL_SAMPLER_BUFFER_EXT                          0x8DC2
+#define LOCAL_GL_SAMPLER_BUFFER_OES                          0x8DC2
 #define LOCAL_GL_SAMPLER_CUBE                                0x8B60
 #define LOCAL_GL_SAMPLER_CUBE_ARB                            0x8B60
 #define LOCAL_GL_SAMPLER_CUBE_MAP_ARRAY                      0x900C
 #define LOCAL_GL_SAMPLER_CUBE_MAP_ARRAY_ARB                  0x900C
+#define LOCAL_GL_SAMPLER_CUBE_MAP_ARRAY_EXT                  0x900C
+#define LOCAL_GL_SAMPLER_CUBE_MAP_ARRAY_OES                  0x900C
 #define LOCAL_GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW               0x900D
 #define LOCAL_GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB           0x900D
+#define LOCAL_GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT           0x900D
+#define LOCAL_GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES           0x900D
 #define LOCAL_GL_SAMPLER_CUBE_SHADOW                         0x8DC5
 #define LOCAL_GL_SAMPLER_CUBE_SHADOW_EXT                     0x8DC5
 #define LOCAL_GL_SAMPLER_CUBE_SHADOW_NV                      0x8DC5
+#define LOCAL_GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT                 0x8BE7
 #define LOCAL_GL_SAMPLER_EXTERNAL_OES                        0x8D66
 #define LOCAL_GL_SAMPLER_KHR                                 0x82E6
 #define LOCAL_GL_SAMPLER_OBJECT_AMD                          0x9155
 #define LOCAL_GL_SAMPLER_RENDERBUFFER_NV                     0x8E56
 #define LOCAL_GL_SAMPLES                                     0x80A9
 #define LOCAL_GL_SAMPLES_3DFX                                0x86B4
 #define LOCAL_GL_SAMPLES_ARB                                 0x80A9
 #define LOCAL_GL_SAMPLES_EXT                                 0x80A9
@@ -3789,44 +4268,56 @@
 #define LOCAL_GL_SAMPLE_BUFFERS_EXT                          0x80A8
 #define LOCAL_GL_SAMPLE_BUFFERS_SGIS                         0x80A8
 #define LOCAL_GL_SAMPLE_COVERAGE                             0x80A0
 #define LOCAL_GL_SAMPLE_COVERAGE_ARB                         0x80A0
 #define LOCAL_GL_SAMPLE_COVERAGE_INVERT                      0x80AB
 #define LOCAL_GL_SAMPLE_COVERAGE_INVERT_ARB                  0x80AB
 #define LOCAL_GL_SAMPLE_COVERAGE_VALUE                       0x80AA
 #define LOCAL_GL_SAMPLE_COVERAGE_VALUE_ARB                   0x80AA
+#define LOCAL_GL_SAMPLE_LOCATION_ARB                         0x8E50
+#define LOCAL_GL_SAMPLE_LOCATION_NV                          0x8E50
+#define LOCAL_GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB       0x933F
+#define LOCAL_GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV        0x933F
+#define LOCAL_GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB        0x933E
+#define LOCAL_GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV         0x933E
+#define LOCAL_GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB           0x933D
+#define LOCAL_GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV            0x933D
 #define LOCAL_GL_SAMPLE_MASK                                 0x8E51
 #define LOCAL_GL_SAMPLE_MASK_EXT                             0x80A0
 #define LOCAL_GL_SAMPLE_MASK_INVERT_EXT                      0x80AB
 #define LOCAL_GL_SAMPLE_MASK_INVERT_SGIS                     0x80AB
 #define LOCAL_GL_SAMPLE_MASK_NV                              0x8E51
 #define LOCAL_GL_SAMPLE_MASK_SGIS                            0x80A0
 #define LOCAL_GL_SAMPLE_MASK_VALUE                           0x8E52
 #define LOCAL_GL_SAMPLE_MASK_VALUE_EXT                       0x80AA
 #define LOCAL_GL_SAMPLE_MASK_VALUE_NV                        0x8E52
 #define LOCAL_GL_SAMPLE_MASK_VALUE_SGIS                      0x80AA
 #define LOCAL_GL_SAMPLE_PATTERN_EXT                          0x80AC
 #define LOCAL_GL_SAMPLE_PATTERN_SGIS                         0x80AC
 #define LOCAL_GL_SAMPLE_POSITION                             0x8E50
 #define LOCAL_GL_SAMPLE_POSITION_NV                          0x8E50
 #define LOCAL_GL_SAMPLE_SHADING                              0x8C36
 #define LOCAL_GL_SAMPLE_SHADING_ARB                          0x8C36
+#define LOCAL_GL_SAMPLE_SHADING_OES                          0x8C36
 #define LOCAL_GL_SATURATE_BIT_ATI                            0x00000040
 #define LOCAL_GL_SCALAR_EXT                                  0x87BE
 #define LOCAL_GL_SCALEBIAS_HINT_SGIX                         0x8322
 #define LOCAL_GL_SCALED_RESOLVE_FASTEST_EXT                  0x90BA
 #define LOCAL_GL_SCALED_RESOLVE_NICEST_EXT                   0x90BB
 #define LOCAL_GL_SCALE_BY_FOUR_NV                            0x853F
 #define LOCAL_GL_SCALE_BY_ONE_HALF_NV                        0x8540
 #define LOCAL_GL_SCALE_BY_TWO_NV                             0x853E
 #define LOCAL_GL_SCISSOR_BIT                                 0x00080000
 #define LOCAL_GL_SCISSOR_BOX                                 0x0C10
+#define LOCAL_GL_SCISSOR_COMMAND_NV                          0x0011
 #define LOCAL_GL_SCISSOR_TEST                                0x0C11
+#define LOCAL_GL_SCREEN                                      0x9295
 #define LOCAL_GL_SCREEN_COORDINATES_REND                     0x8490
+#define LOCAL_GL_SCREEN_KHR                                  0x9295
 #define LOCAL_GL_SCREEN_NV                                   0x9295
 #define LOCAL_GL_SECONDARY_COLOR_ARRAY                       0x845E
 #define LOCAL_GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV            0x8F27
 #define LOCAL_GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING        0x889C
 #define LOCAL_GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB    0x889C
 #define LOCAL_GL_SECONDARY_COLOR_ARRAY_EXT                   0x845E
 #define LOCAL_GL_SECONDARY_COLOR_ARRAY_LENGTH_NV             0x8F31
 #define LOCAL_GL_SECONDARY_COLOR_ARRAY_LIST_IBM              103077
@@ -3853,44 +4344,47 @@
 #define LOCAL_GL_SEPARATE_SPECULAR_COLOR_EXT                 0x81FA
 #define LOCAL_GL_SET                                         0x150F
 #define LOCAL_GL_SET_AMD                                     0x874A
 #define LOCAL_GL_SGX_BINARY_IMG                              0x8C0A
 #define LOCAL_GL_SGX_PROGRAM_BINARY_IMG                      0x9130
 #define LOCAL_GL_SHADER                                      0x82E1
 #define LOCAL_GL_SHADER_BINARY_DMP                           0x9250
 #define LOCAL_GL_SHADER_BINARY_FORMATS                       0x8DF8
+#define LOCAL_GL_SHADER_BINARY_FORMAT_SPIR_V_ARB             0x9551
 #define LOCAL_GL_SHADER_BINARY_VIV                           0x8FC4
 #define LOCAL_GL_SHADER_COMPILER                             0x8DFA
 #define LOCAL_GL_SHADER_CONSISTENT_NV                        0x86DD
 #define LOCAL_GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV         0x00000010
 #define LOCAL_GL_SHADER_IMAGE_ACCESS_BARRIER_BIT             0x00000020
 #define LOCAL_GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT         0x00000020
 #define LOCAL_GL_SHADER_IMAGE_ATOMIC                         0x82A6
 #define LOCAL_GL_SHADER_IMAGE_LOAD                           0x82A4
 #define LOCAL_GL_SHADER_IMAGE_STORE                          0x82A5
 #define LOCAL_GL_SHADER_INCLUDE_ARB                          0x8DAE
 #define LOCAL_GL_SHADER_KHR                                  0x82E1
 #define LOCAL_GL_SHADER_OBJECT_ARB                           0x8B48
 #define LOCAL_GL_SHADER_OBJECT_EXT                           0x8B48
 #define LOCAL_GL_SHADER_OPERATION_NV                         0x86DF
+#define LOCAL_GL_SHADER_PIXEL_LOCAL_STORAGE_EXT              0x8F64
 #define LOCAL_GL_SHADER_SOURCE_LENGTH                        0x8B88
 #define LOCAL_GL_SHADER_STORAGE_BARRIER_BIT                  0x00002000
 #define LOCAL_GL_SHADER_STORAGE_BLOCK                        0x92E6
 #define LOCAL_GL_SHADER_STORAGE_BUFFER                       0x90D2
 #define LOCAL_GL_SHADER_STORAGE_BUFFER_BINDING               0x90D3
 #define LOCAL_GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT      0x90DF
 #define LOCAL_GL_SHADER_STORAGE_BUFFER_SIZE                  0x90D5
 #define LOCAL_GL_SHADER_STORAGE_BUFFER_START                 0x90D4
 #define LOCAL_GL_SHADER_TYPE                                 0x8B4F
 #define LOCAL_GL_SHADE_MODEL                                 0x0B54
 #define LOCAL_GL_SHADING_LANGUAGE_VERSION                    0x8B8C
 #define LOCAL_GL_SHADING_LANGUAGE_VERSION_ARB                0x8B8C
 #define LOCAL_GL_SHADOW_AMBIENT_SGIX                         0x80BF
 #define LOCAL_GL_SHADOW_ATTENUATION_EXT                      0x834E
+#define LOCAL_GL_SHARED_EDGE_NV                              0xC0
 #define LOCAL_GL_SHARED_TEXTURE_PALETTE_EXT                  0x81FB
 #define LOCAL_GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS            0x80B0
 #define LOCAL_GL_SHININESS                                   0x1601
 #define LOCAL_GL_SHORT                                       0x1402
 #define LOCAL_GL_SIGNALED                                    0x9119
 #define LOCAL_GL_SIGNALED_APPLE                              0x9119
 #define LOCAL_GL_SIGNED_ALPHA8_NV                            0x8706
 #define LOCAL_GL_SIGNED_ALPHA_NV                             0x8705
@@ -3937,23 +4431,28 @@
 #define LOCAL_GL_SLUMINANCE8_NV                              0x8C47
 #define LOCAL_GL_SLUMINANCE_ALPHA                            0x8C44
 #define LOCAL_GL_SLUMINANCE_ALPHA_EXT                        0x8C44
 #define LOCAL_GL_SLUMINANCE_ALPHA_NV                         0x8C44
 #define LOCAL_GL_SLUMINANCE_EXT                              0x8C46
 #define LOCAL_GL_SLUMINANCE_NV                               0x8C46
 #define LOCAL_GL_SMALL_CCW_ARC_TO_NV                         0x12
 #define LOCAL_GL_SMALL_CW_ARC_TO_NV                          0x14
+#define LOCAL_GL_SMAPHS30_PROGRAM_BINARY_DMP                 0x9251
+#define LOCAL_GL_SMAPHS_PROGRAM_BINARY_DMP                   0x9252
 #define LOCAL_GL_SMOOTH                                      0x1D01
 #define LOCAL_GL_SMOOTH_CUBIC_CURVE_TO_NV                    0x10
 #define LOCAL_GL_SMOOTH_LINE_WIDTH_GRANULARITY               0x0B23
 #define LOCAL_GL_SMOOTH_LINE_WIDTH_RANGE                     0x0B22
 #define LOCAL_GL_SMOOTH_POINT_SIZE_GRANULARITY               0x0B13
 #define LOCAL_GL_SMOOTH_POINT_SIZE_RANGE                     0x0B12
 #define LOCAL_GL_SMOOTH_QUADRATIC_CURVE_TO_NV                0x0E
+#define LOCAL_GL_SM_COUNT_NV                                 0x933B
+#define LOCAL_GL_SOFTLIGHT                                   0x929C
+#define LOCAL_GL_SOFTLIGHT_KHR                               0x929C
 #define LOCAL_GL_SOFTLIGHT_NV                                0x929C
 #define LOCAL_GL_SOURCE0_ALPHA                               0x8588
 #define LOCAL_GL_SOURCE0_ALPHA_ARB                           0x8588
 #define LOCAL_GL_SOURCE0_ALPHA_EXT                           0x8588
 #define LOCAL_GL_SOURCE0_RGB                                 0x8580
 #define LOCAL_GL_SOURCE0_RGB_ARB                             0x8580
 #define LOCAL_GL_SOURCE0_RGB_EXT                             0x8580
 #define LOCAL_GL_SOURCE1_ALPHA                               0x8589
@@ -3968,61 +4467,71 @@
 #define LOCAL_GL_SOURCE2_RGB                                 0x8582
 #define LOCAL_GL_SOURCE2_RGB_ARB                             0x8582
 #define LOCAL_GL_SOURCE2_RGB_EXT                             0x8582
 #define LOCAL_GL_SOURCE3_ALPHA_NV                            0x858B
 #define LOCAL_GL_SOURCE3_RGB_NV                              0x8583
 #define LOCAL_GL_SPARE0_NV                                   0x852E
 #define LOCAL_GL_SPARE0_PLUS_SECONDARY_COLOR_NV              0x8532
 #define LOCAL_GL_SPARE1_NV                                   0x852F
+#define LOCAL_GL_SPARSE_BUFFER_PAGE_SIZE_ARB                 0x82F8
+#define LOCAL_GL_SPARSE_STORAGE_BIT_ARB                      0x0400
 #define LOCAL_GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB  0x91A9
+#define LOCAL_GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT  0x91A9
 #define LOCAL_GL_SPECULAR                                    0x1202
 #define LOCAL_GL_SPHERE_MAP                                  0x2402
+#define LOCAL_GL_SPIR_V_BINARY_ARB                           0x9552
 #define LOCAL_GL_SPOT_CUTOFF                                 0x1206
 #define LOCAL_GL_SPOT_DIRECTION                              0x1204
 #define LOCAL_GL_SPOT_EXPONENT                               0x1205
 #define LOCAL_GL_SPRITE_AXIAL_SGIX                           0x814C
 #define LOCAL_GL_SPRITE_AXIS_SGIX                            0x814A
 #define LOCAL_GL_SPRITE_EYE_ALIGNED_SGIX                     0x814E
 #define LOCAL_GL_SPRITE_MODE_SGIX                            0x8149
 #define LOCAL_GL_SPRITE_OBJECT_ALIGNED_SGIX                  0x814D
 #define LOCAL_GL_SPRITE_SGIX                                 0x8148
 #define LOCAL_GL_SPRITE_TRANSLATION_SGIX                     0x814B
 #define LOCAL_GL_SQUARE_NV                                   0x90A3
+#define LOCAL_GL_SR8_EXT                                     0x8FBD
 #define LOCAL_GL_SRC0_ALPHA                                  0x8588
 #define LOCAL_GL_SRC0_RGB                                    0x8580
 #define LOCAL_GL_SRC1_ALPHA                                  0x8589
+#define LOCAL_GL_SRC1_ALPHA_EXT                              0x8589
 #define LOCAL_GL_SRC1_COLOR                                  0x88F9
+#define LOCAL_GL_SRC1_COLOR_EXT                              0x88F9
 #define LOCAL_GL_SRC1_RGB                                    0x8581
 #define LOCAL_GL_SRC2_ALPHA                                  0x858A
 #define LOCAL_GL_SRC2_RGB                                    0x8582
 #define LOCAL_GL_SRC_ALPHA                                   0x0302
 #define LOCAL_GL_SRC_ALPHA_SATURATE                          0x0308
+#define LOCAL_GL_SRC_ALPHA_SATURATE_EXT                      0x0308
 #define LOCAL_GL_SRC_ATOP_NV                                 0x928E
 #define LOCAL_GL_SRC_COLOR                                   0x0300
 #define LOCAL_GL_SRC_IN_NV                                   0x928A
 #define LOCAL_GL_SRC_NV                                      0x9286
 #define LOCAL_GL_SRC_OUT_NV                                  0x928C
 #define LOCAL_GL_SRC_OVER_NV                                 0x9288
+#define LOCAL_GL_SRG8_EXT                                    0x8FBE
 #define LOCAL_GL_SRGB                                        0x8C40
 #define LOCAL_GL_SRGB8                                       0x8C41
 #define LOCAL_GL_SRGB8_ALPHA8                                0x8C43
 #define LOCAL_GL_SRGB8_ALPHA8_EXT                            0x8C43
 #define LOCAL_GL_SRGB8_EXT                                   0x8C41
 #define LOCAL_GL_SRGB8_NV                                    0x8C41
 #define LOCAL_GL_SRGB_ALPHA                                  0x8C42
 #define LOCAL_GL_SRGB_ALPHA_EXT                              0x8C42
 #define LOCAL_GL_SRGB_DECODE_ARB                             0x8299
 #define LOCAL_GL_SRGB_EXT                                    0x8C40
 #define LOCAL_GL_SRGB_READ                                   0x8297
 #define LOCAL_GL_SRGB_WRITE                                  0x8298
 #define LOCAL_GL_STACK_OVERFLOW                              0x0503
 #define LOCAL_GL_STACK_OVERFLOW_KHR                          0x0503
 #define LOCAL_GL_STACK_UNDERFLOW                             0x0504
 #define LOCAL_GL_STACK_UNDERFLOW_KHR                         0x0504
+#define LOCAL_GL_STANDARD_FONT_FORMAT_NV                     0x936C
 #define LOCAL_GL_STANDARD_FONT_NAME_NV                       0x9072
 #define LOCAL_GL_STATE_RESTORE                               0x8BDC
 #define LOCAL_GL_STATIC_ATI                                  0x8760
 #define LOCAL_GL_STATIC_COPY                                 0x88E6
 #define LOCAL_GL_STATIC_COPY_ARB                             0x88E6
 #define LOCAL_GL_STATIC_DRAW                                 0x88E4
 #define LOCAL_GL_STATIC_DRAW_ARB                             0x88E4
 #define LOCAL_GL_STATIC_READ                                 0x88E5
@@ -4067,46 +4576,54 @@
 #define LOCAL_GL_STENCIL_INDEX1_EXT                          0x8D46
 #define LOCAL_GL_STENCIL_INDEX1_OES                          0x8D46
 #define LOCAL_GL_STENCIL_INDEX4                              0x8D47
 #define LOCAL_GL_STENCIL_INDEX4_EXT                          0x8D47
 #define LOCAL_GL_STENCIL_INDEX4_OES                          0x8D47
 #define LOCAL_GL_STENCIL_INDEX8                              0x8D48
 #define LOCAL_GL_STENCIL_INDEX8_EXT                          0x8D48
 #define LOCAL_GL_STENCIL_INDEX8_OES                          0x8D48
+#define LOCAL_GL_STENCIL_INDEX_OES                           0x1901
 #define LOCAL_GL_STENCIL_OP_VALUE_AMD                        0x874C
 #define LOCAL_GL_STENCIL_PASS_DEPTH_FAIL                     0x0B95
 #define LOCAL_GL_STENCIL_PASS_DEPTH_PASS                     0x0B96
 #define LOCAL_GL_STENCIL_REF                                 0x0B97
+#define LOCAL_GL_STENCIL_REF_COMMAND_NV                      0x000C
 #define LOCAL_GL_STENCIL_RENDERABLE                          0x8288
+#define LOCAL_GL_STENCIL_SAMPLES_NV                          0x932E
 #define LOCAL_GL_STENCIL_TAG_BITS_EXT                        0x88F2
 #define LOCAL_GL_STENCIL_TEST                                0x0B90
 #define LOCAL_GL_STENCIL_TEST_TWO_SIDE_EXT                   0x8910
 #define LOCAL_GL_STENCIL_VALUE_MASK                          0x0B93
 #define LOCAL_GL_STENCIL_WRITEMASK                           0x0B98
 #define LOCAL_GL_STEREO                                      0x0C33
 #define LOCAL_GL_STORAGE_CACHED_APPLE                        0x85BE
 #define LOCAL_GL_STORAGE_CLIENT_APPLE                        0x85B4
 #define LOCAL_GL_STORAGE_PRIVATE_APPLE                       0x85BD
 #define LOCAL_GL_STORAGE_SHARED_APPLE                        0x85BF
 #define LOCAL_GL_STREAM_COPY                                 0x88E2
 #define LOCAL_GL_STREAM_COPY_ARB                             0x88E2
 #define LOCAL_GL_STREAM_DRAW                                 0x88E0
 #define LOCAL_GL_STREAM_DRAW_ARB                             0x88E0
+#define LOCAL_GL_STREAM_RASTERIZATION_AMD                    0x91A0
 #define LOCAL_GL_STREAM_READ                                 0x88E1
 #define LOCAL_GL_STREAM_READ_ARB                             0x88E1
 #define LOCAL_GL_STRICT_DEPTHFUNC_HINT_PGI                   0x1A216
 #define LOCAL_GL_STRICT_LIGHTING_HINT_PGI                    0x1A217
 #define LOCAL_GL_STRICT_SCISSOR_HINT_PGI                     0x1A218
 #define LOCAL_GL_SUBPIXEL_BITS                               0x0D50
+#define LOCAL_GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV           0x9347
+#define LOCAL_GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV           0x9348
 #define LOCAL_GL_SUBSAMPLE_DISTANCE_AMD                      0x883F
 #define LOCAL_GL_SUBTRACT                                    0x84E7
 #define LOCAL_GL_SUBTRACT_ARB                                0x84E7
 #define LOCAL_GL_SUB_ATI                                     0x8965
 #define LOCAL_GL_SUCCESS_NV                                  0x902F
+#define LOCAL_GL_SUPERSAMPLE_SCALE_X_NV                      0x9372
+#define LOCAL_GL_SUPERSAMPLE_SCALE_Y_NV                      0x9373
 #define LOCAL_GL_SURFACE_MAPPED_NV                           0x8700
 #define LOCAL_GL_SURFACE_REGISTERED_NV                       0x86FD
 #define LOCAL_GL_SURFACE_STATE_NV                            0x86EB
 #define LOCAL_GL_SWIZZLE_STQ_ATI                             0x8977
 #define LOCAL_GL_SWIZZLE_STQ_DQ_ATI                          0x8979
 #define LOCAL_GL_SWIZZLE_STRQ_ATI                            0x897A
 #define LOCAL_GL_SWIZZLE_STRQ_DQ_ATI                         0x897B
 #define LOCAL_GL_SWIZZLE_STR_ATI                             0x8976
@@ -4141,37 +4658,58 @@
 #define LOCAL_GL_T4F_C4F_N3F_V4F                             0x2A2D
 #define LOCAL_GL_T4F_V4F                                     0x2A28
 #define LOCAL_GL_TABLE_TOO_LARGE                             0x8031
 #define LOCAL_GL_TABLE_TOO_LARGE_EXT                         0x8031
 #define LOCAL_GL_TANGENT_ARRAY_EXT                           0x8439
 #define LOCAL_GL_TANGENT_ARRAY_POINTER_EXT                   0x8442
 #define LOCAL_GL_TANGENT_ARRAY_STRIDE_EXT                    0x843F
 #define LOCAL_GL_TANGENT_ARRAY_TYPE_EXT                      0x843E
+#define LOCAL_GL_TERMINATE_SEQUENCE_COMMAND_NV               0x0000
 #define LOCAL_GL_TESSELLATION_FACTOR_AMD                     0x9005
 #define LOCAL_GL_TESSELLATION_MODE_AMD                       0x9004
 #define LOCAL_GL_TESS_CONTROL_OUTPUT_VERTICES                0x8E75
+#define LOCAL_GL_TESS_CONTROL_OUTPUT_VERTICES_EXT            0x8E75
+#define LOCAL_GL_TESS_CONTROL_OUTPUT_VERTICES_OES            0x8E75
 #define LOCAL_GL_TESS_CONTROL_PROGRAM_NV                     0x891E
 #define LOCAL_GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV    0x8C74
 #define LOCAL_GL_TESS_CONTROL_SHADER                         0x8E88
 #define LOCAL_GL_TESS_CONTROL_SHADER_BIT                     0x00000008
+#define LOCAL_GL_TESS_CONTROL_SHADER_BIT_EXT                 0x00000008
+#define LOCAL_GL_TESS_CONTROL_SHADER_BIT_OES                 0x00000008
+#define LOCAL_GL_TESS_CONTROL_SHADER_EXT                     0x8E88
+#define LOCAL_GL_TESS_CONTROL_SHADER_OES                     0x8E88
+#define LOCAL_GL_TESS_CONTROL_SHADER_PATCHES_ARB             0x82F1
 #define LOCAL_GL_TESS_CONTROL_SUBROUTINE                     0x92E9
 #define LOCAL_GL_TESS_CONTROL_SUBROUTINE_UNIFORM             0x92EF
 #define LOCAL_GL_TESS_CONTROL_TEXTURE                        0x829C
 #define LOCAL_GL_TESS_EVALUATION_PROGRAM_NV                  0x891F
 #define LOCAL_GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
 #define LOCAL_GL_TESS_EVALUATION_SHADER                      0x8E87
 #define LOCAL_GL_TESS_EVALUATION_SHADER_BIT                  0x00000010
+#define LOCAL_GL_TESS_EVALUATION_SHADER_BIT_EXT              0x00000010
+#define LOCAL_GL_TESS_EVALUATION_SHADER_BIT_OES              0x00000010
+#define LOCAL_GL_TESS_EVALUATION_SHADER_EXT                  0x8E87
+#define LOCAL_GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB      0x82F2
+#define LOCAL_GL_TESS_EVALUATION_SHADER_OES                  0x8E87
 #define LOCAL_GL_TESS_EVALUATION_SUBROUTINE                  0x92EA
 #define LOCAL_GL_TESS_EVALUATION_SUBROUTINE_UNIFORM          0x92F0
 #define LOCAL_GL_TESS_EVALUATION_TEXTURE                     0x829D
 #define LOCAL_GL_TESS_GEN_MODE                               0x8E76
+#define LOCAL_GL_TESS_GEN_MODE_EXT                           0x8E76
+#define LOCAL_GL_TESS_GEN_MODE_OES                           0x8E76
 #define LOCAL_GL_TESS_GEN_POINT_MODE                         0x8E79
+#define LOCAL_GL_TESS_GEN_POINT_MODE_EXT                     0x8E79
+#define LOCAL_GL_TESS_GEN_POINT_MODE_OES                     0x8E79
 #define LOCAL_GL_TESS_GEN_SPACING                            0x8E77
+#define LOCAL_GL_TESS_GEN_SPACING_EXT                        0x8E77
+#define LOCAL_GL_TESS_GEN_SPACING_OES                        0x8E77
 #define LOCAL_GL_TESS_GEN_VERTEX_ORDER                       0x8E78
+#define LOCAL_GL_TESS_GEN_VERTEX_ORDER_EXT                   0x8E78
+#define LOCAL_GL_TESS_GEN_VERTEX_ORDER_OES                   0x8E78
 #define LOCAL_GL_TEXCOORD1_BIT_PGI                           0x10000000
 #define LOCAL_GL_TEXCOORD2_BIT_PGI                           0x20000000
 #define LOCAL_GL_TEXCOORD3_BIT_PGI                           0x40000000
 #define LOCAL_GL_TEXCOORD4_BIT_PGI                           0x80000000
 #define LOCAL_GL_TEXTURE                                     0x1702
 #define LOCAL_GL_TEXTURE0                                    0x84C0
 #define LOCAL_GL_TEXTURE0_ARB                                0x84C0
 #define LOCAL_GL_TEXTURE1                                    0x84C1
@@ -4243,79 +4781,97 @@
 #define LOCAL_GL_TEXTURE_1D_STACK_BINDING_MESAX              0x875D
 #define LOCAL_GL_TEXTURE_1D_STACK_MESAX                      0x8759
 #define LOCAL_GL_TEXTURE_2D                                  0x0DE1
 #define LOCAL_GL_TEXTURE_2D_ARRAY                            0x8C1A
 #define LOCAL_GL_TEXTURE_2D_ARRAY_EXT                        0x8C1A
 #define LOCAL_GL_TEXTURE_2D_BINDING_EXT                      0x8069
 #define LOCAL_GL_TEXTURE_2D_MULTISAMPLE                      0x9100
 #define LOCAL_GL_TEXTURE_2D_MULTISAMPLE_ARRAY                0x9102
+#define LOCAL_GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES            0x9102
 #define LOCAL_GL_TEXTURE_2D_STACK_BINDING_MESAX              0x875E
 #define LOCAL_GL_TEXTURE_2D_STACK_MESAX                      0x875A
 #define LOCAL_GL_TEXTURE_3D                                  0x806F
 #define LOCAL_GL_TEXTURE_3D_BINDING_EXT                      0x806A
 #define LOCAL_GL_TEXTURE_3D_BINDING_OES                      0x806A
 #define LOCAL_GL_TEXTURE_3D_EXT                              0x806F
 #define LOCAL_GL_TEXTURE_3D_OES                              0x806F
 #define LOCAL_GL_TEXTURE_4DSIZE_SGIS                         0x8136
 #define LOCAL_GL_TEXTURE_4D_BINDING_SGIS                     0x814F
 #define LOCAL_GL_TEXTURE_4D_SGIS                             0x8134
 #define LOCAL_GL_TEXTURE_ALPHA_MODULATE_IMG                  0x8C06
 #define LOCAL_GL_TEXTURE_ALPHA_SIZE                          0x805F
 #define LOCAL_GL_TEXTURE_ALPHA_SIZE_EXT                      0x805F
 #define LOCAL_GL_TEXTURE_ALPHA_TYPE                          0x8C13
 #define LOCAL_GL_TEXTURE_ALPHA_TYPE_ARB                      0x8C13
 #define LOCAL_GL_TEXTURE_APPLICATION_MODE_EXT                0x834F
+#define LOCAL_GL_TEXTURE_ASTC_DECODE_PRECISION_EXT           0x8F69
 #define LOCAL_GL_TEXTURE_BASE_LEVEL                          0x813C
 #define LOCAL_GL_TEXTURE_BASE_LEVEL_SGIS                     0x813C
 #define LOCAL_GL_TEXTURE_BINDING_1D                          0x8068
 #define LOCAL_GL_TEXTURE_BINDING_1D_ARRAY                    0x8C1C
 #define LOCAL_GL_TEXTURE_BINDING_1D_ARRAY_EXT                0x8C1C
 #define LOCAL_GL_TEXTURE_BINDING_2D                          0x8069
 #define LOCAL_GL_TEXTURE_BINDING_2D_ARRAY                    0x8C1D
 #define LOCAL_GL_TEXTURE_BINDING_2D_ARRAY_EXT                0x8C1D
 #define LOCAL_GL_TEXTURE_BINDING_2D_MULTISAMPLE              0x9104
 #define LOCAL_GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY        0x9105
+#define LOCAL_GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES    0x9105
 #define LOCAL_GL_TEXTURE_BINDING_3D                          0x806A
 #define LOCAL_GL_TEXTURE_BINDING_3D_OES                      0x806A
 #define LOCAL_GL_TEXTURE_BINDING_BUFFER                      0x8C2C
 #define LOCAL_GL_TEXTURE_BINDING_BUFFER_ARB                  0x8C2C
 #define LOCAL_GL_TEXTURE_BINDING_BUFFER_EXT                  0x8C2C
+#define LOCAL_GL_TEXTURE_BINDING_BUFFER_OES                  0x8C2C
 #define LOCAL_GL_TEXTURE_BINDING_CUBE_MAP                    0x8514
 #define LOCAL_GL_TEXTURE_BINDING_CUBE_MAP_ARB                0x8514
 #define LOCAL_GL_TEXTURE_BINDING_CUBE_MAP_ARRAY              0x900A
 #define LOCAL_GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB          0x900A
+#define LOCAL_GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT          0x900A
+#define LOCAL_GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES          0x900A
 #define LOCAL_GL_TEXTURE_BINDING_CUBE_MAP_EXT                0x8514
 #define LOCAL_GL_TEXTURE_BINDING_CUBE_MAP_OES                0x8514
 #define LOCAL_GL_TEXTURE_BINDING_EXTERNAL_OES                0x8D67
 #define LOCAL_GL_TEXTURE_BINDING_RECTANGLE                   0x84F6
 #define LOCAL_GL_TEXTURE_BINDING_RECTANGLE_ARB               0x84F6
 #define LOCAL_GL_TEXTURE_BINDING_RECTANGLE_NV                0x84F6
 #define LOCAL_GL_TEXTURE_BINDING_RENDERBUFFER_NV             0x8E53
 #define LOCAL_GL_TEXTURE_BIT                                 0x00040000
 #define LOCAL_GL_TEXTURE_BLUE_SIZE                           0x805E
 #define LOCAL_GL_TEXTURE_BLUE_SIZE_EXT                       0x805E
 #define LOCAL_GL_TEXTURE_BLUE_TYPE                           0x8C12
 #define LOCAL_GL_TEXTURE_BLUE_TYPE_ARB                       0x8C12
 #define LOCAL_GL_TEXTURE_BORDER                              0x1005
 #define LOCAL_GL_TEXTURE_BORDER_COLOR                        0x1004
+#define LOCAL_GL_TEXTURE_BORDER_COLOR_EXT                    0x1004
 #define LOCAL_GL_TEXTURE_BORDER_COLOR_NV                     0x1004
+#define LOCAL_GL_TEXTURE_BORDER_COLOR_OES                    0x1004
 #define LOCAL_GL_TEXTURE_BORDER_VALUES_NV                    0x871A
 #define LOCAL_GL_TEXTURE_BUFFER                              0x8C2A
 #define LOCAL_GL_TEXTURE_BUFFER_ARB                          0x8C2A
 #define LOCAL_GL_TEXTURE_BUFFER_BINDING                      0x8C2A
+#define LOCAL_GL_TEXTURE_BUFFER_BINDING_EXT                  0x8C2A
+#define LOCAL_GL_TEXTURE_BUFFER_BINDING_OES                  0x8C2A
 #define LOCAL_GL_TEXTURE_BUFFER_DATA_STORE_BINDING           0x8C2D
 #define LOCAL_GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB       0x8C2D
 #define LOCAL_GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT       0x8C2D
+#define LOCAL_GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES       0x8C2D
 #define LOCAL_GL_TEXTURE_BUFFER_EXT                          0x8C2A
 #define LOCAL_GL_TEXTURE_BUFFER_FORMAT_ARB                   0x8C2E
 #define LOCAL_GL_TEXTURE_BUFFER_FORMAT_EXT                   0x8C2E
+#define LOCAL_GL_TEXTURE_BUFFER_OES                          0x8C2A
 #define LOCAL_GL_TEXTURE_BUFFER_OFFSET                       0x919D
 #define LOCAL_GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT             0x919F
+#define LOCAL_GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT         0x919F
+#define LOCAL_GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES         0x919F
+#define LOCAL_GL_TEXTURE_BUFFER_OFFSET_EXT                   0x919D
+#define LOCAL_GL_TEXTURE_BUFFER_OFFSET_OES                   0x919D
 #define LOCAL_GL_TEXTURE_BUFFER_SIZE                         0x919E
+#define LOCAL_GL_TEXTURE_BUFFER_SIZE_EXT                     0x919E
+#define LOCAL_GL_TEXTURE_BUFFER_SIZE_OES                     0x919E
 #define LOCAL_GL_TEXTURE_CLIPMAP_CENTER_SGIX                 0x8171
 #define LOCAL_GL_TEXTURE_CLIPMAP_DEPTH_SGIX                  0x8176
 #define LOCAL_GL_TEXTURE_CLIPMAP_FRAME_SGIX                  0x8172
 #define LOCAL_GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX             0x8175
 #define LOCAL_GL_TEXTURE_CLIPMAP_OFFSET_SGIX                 0x8173
 #define LOCAL_GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX          0x8174
 #define LOCAL_GL_TEXTURE_COLOR_SAMPLES_NV                    0x9046
 #define LOCAL_GL_TEXTURE_COLOR_TABLE_SGI                     0x80BC
@@ -4360,16 +4916,18 @@
 #define LOCAL_GL_TEXTURE_COORD_ARRAY_TYPE_EXT                0x8089
 #define LOCAL_GL_TEXTURE_COORD_NV                            0x8C79
 #define LOCAL_GL_TEXTURE_COVERAGE_SAMPLES_NV                 0x9045
 #define LOCAL_GL_TEXTURE_CROP_RECT_OES                       0x8B9D
 #define LOCAL_GL_TEXTURE_CUBE_MAP                            0x8513
 #define LOCAL_GL_TEXTURE_CUBE_MAP_ARB                        0x8513
 #define LOCAL_GL_TEXTURE_CUBE_MAP_ARRAY                      0x9009
 #define LOCAL_GL_TEXTURE_CUBE_MAP_ARRAY_ARB                  0x9009
+#define LOCAL_GL_TEXTURE_CUBE_MAP_ARRAY_EXT                  0x9009
+#define LOCAL_GL_TEXTURE_CUBE_MAP_ARRAY_OES                  0x9009
 #define LOCAL_GL_TEXTURE_CUBE_MAP_EXT                        0x8513
 #define LOCAL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X                 0x8516
 #define LOCAL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB             0x8516
 #define LOCAL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT             0x8516
 #define LOCAL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES             0x8516
 #define LOCAL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y                 0x8518
 #define LOCAL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB             0x8518
 #define LOCAL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT             0x8518
@@ -4482,73 +5040,87 @@
 #define LOCAL_GL_TEXTURE_MULTI_BUFFER_HINT_SGIX              0x812E
 #define LOCAL_GL_TEXTURE_NORMAL_EXT                          0x85AF
 #define LOCAL_GL_TEXTURE_NUM_LEVELS_QCOM                     0x8BD9
 #define LOCAL_GL_TEXTURE_OBJECT_VALID_QCOM                   0x8BDB
 #define LOCAL_GL_TEXTURE_POST_SPECULAR_HP                    0x8168
 #define LOCAL_GL_TEXTURE_PRE_SPECULAR_HP                     0x8169
 #define LOCAL_GL_TEXTURE_PRIORITY                            0x8066
 #define LOCAL_GL_TEXTURE_PRIORITY_EXT                        0x8066
+#define LOCAL_GL_TEXTURE_PROTECTED_EXT                       0x8BFA
 #define LOCAL_GL_TEXTURE_RANGE_LENGTH_APPLE                  0x85B7
 #define LOCAL_GL_TEXTURE_RANGE_POINTER_APPLE                 0x85B8
 #define LOCAL_GL_TEXTURE_RECTANGLE                           0x84F5
 #define LOCAL_GL_TEXTURE_RECTANGLE_ARB                       0x84F5
 #define LOCAL_GL_TEXTURE_RECTANGLE_NV                        0x84F5
+#define LOCAL_GL_TEXTURE_REDUCTION_MODE_ARB                  0x9366
 #define LOCAL_GL_TEXTURE_RED_SIZE                            0x805C
 #define LOCAL_GL_TEXTURE_RED_SIZE_EXT                        0x805C
 #define LOCAL_GL_TEXTURE_RED_TYPE                            0x8C10
 #define LOCAL_GL_TEXTURE_RED_TYPE_ARB                        0x8C10
 #define LOCAL_GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV  0x8E54
 #define LOCAL_GL_TEXTURE_RENDERBUFFER_NV                     0x8E55
 #define LOCAL_GL_TEXTURE_RESIDENT                            0x8067
 #define LOCAL_GL_TEXTURE_RESIDENT_EXT                        0x8067
 #define LOCAL_GL_TEXTURE_SAMPLES                             0x9106
 #define LOCAL_GL_TEXTURE_SAMPLES_IMG                         0x9136
 #define LOCAL_GL_TEXTURE_SHADER_NV                           0x86DE
 #define LOCAL_GL_TEXTURE_SHADOW                              0x82A1
 #define LOCAL_GL_TEXTURE_SHARED_SIZE                         0x8C3F
 #define LOCAL_GL_TEXTURE_SHARED_SIZE_EXT                     0x8C3F
 #define LOCAL_GL_TEXTURE_SPARSE_ARB                          0x91A6
+#define LOCAL_GL_TEXTURE_SPARSE_EXT                          0x91A6
 #define LOCAL_GL_TEXTURE_SRGB_DECODE_EXT                     0x8A48
 #define LOCAL_GL_TEXTURE_STACK_DEPTH                         0x0BA5
 #define LOCAL_GL_TEXTURE_STENCIL_SIZE                        0x88F1
 #define LOCAL_GL_TEXTURE_STENCIL_SIZE_EXT                    0x88F1
 #define LOCAL_GL_TEXTURE_STORAGE_HINT_APPLE                  0x85BC
 #define LOCAL_GL_TEXTURE_STORAGE_SPARSE_BIT_AMD              0x00000001
 #define LOCAL_GL_TEXTURE_SWIZZLE_A                           0x8E45
 #define LOCAL_GL_TEXTURE_SWIZZLE_A_EXT                       0x8E45
 #define LOCAL_GL_TEXTURE_SWIZZLE_B                           0x8E44
 #define LOCAL_GL_TEXTURE_SWIZZLE_B_EXT                       0x8E44
 #define LOCAL_GL_TEXTURE_SWIZZLE_G                           0x8E43
 #define LOCAL_GL_TEXTURE_SWIZZLE_G_EXT                       0x8E43
 #define LOCAL_GL_TEXTURE_SWIZZLE_R                           0x8E42
 #define LOCAL_GL_TEXTURE_SWIZZLE_RGBA                        0x8E46
 #define LOCAL_GL_TEXTURE_SWIZZLE_RGBA_EXT                    0x8E46
 #define LOCAL_GL_TEXTURE_SWIZZLE_R_EXT                       0x8E42
+#define LOCAL_GL_TEXTURE_TARGET                              0x1006
 #define LOCAL_GL_TEXTURE_TARGET_QCOM                         0x8BDA
+#define LOCAL_GL_TEXTURE_TILING_EXT                          0x9580
 #define LOCAL_GL_TEXTURE_TOO_LARGE_EXT                       0x8065
 #define LOCAL_GL_TEXTURE_TYPE_QCOM                           0x8BD7
 #define LOCAL_GL_TEXTURE_UNSIGNED_REMAP_MODE_NV              0x888F
 #define LOCAL_GL_TEXTURE_UPDATE_BARRIER_BIT                  0x00000100
 #define LOCAL_GL_TEXTURE_UPDATE_BARRIER_BIT_EXT              0x00000100
 #define LOCAL_GL_TEXTURE_USAGE_ANGLE                         0x93A2
 #define LOCAL_GL_TEXTURE_VIEW                                0x82B5
 #define LOCAL_GL_TEXTURE_VIEW_MIN_LAYER                      0x82DD
+#define LOCAL_GL_TEXTURE_VIEW_MIN_LAYER_EXT                  0x82DD
+#define LOCAL_GL_TEXTURE_VIEW_MIN_LAYER_OES                  0x82DD
 #define LOCAL_GL_TEXTURE_VIEW_MIN_LEVEL                      0x82DB
+#define LOCAL_GL_TEXTURE_VIEW_MIN_LEVEL_EXT                  0x82DB
+#define LOCAL_GL_TEXTURE_VIEW_MIN_LEVEL_OES                  0x82DB
 #define LOCAL_GL_TEXTURE_VIEW_NUM_LAYERS                     0x82DE
+#define LOCAL_GL_TEXTURE_VIEW_NUM_LAYERS_EXT                 0x82DE
+#define LOCAL_GL_TEXTURE_VIEW_NUM_LAYERS_OES                 0x82DE
 #define LOCAL_GL_TEXTURE_VIEW_NUM_LEVELS                     0x82DC
+#define LOCAL_GL_TEXTURE_VIEW_NUM_LEVELS_EXT                 0x82DC
+#define LOCAL_GL_TEXTURE_VIEW_NUM_LEVELS_OES                 0x82DC
 #define LOCAL_GL_TEXTURE_WIDTH                               0x1000
 #define LOCAL_GL_TEXTURE_WIDTH_QCOM                          0x8BD2
 #define LOCAL_GL_TEXTURE_WRAP_Q_SGIS                         0x8137
 #define LOCAL_GL_TEXTURE_WRAP_R                              0x8072
 #define LOCAL_GL_TEXTURE_WRAP_R_EXT                          0x8072
 #define LOCAL_GL_TEXTURE_WRAP_R_OES                          0x8072
 #define LOCAL_GL_TEXTURE_WRAP_S                              0x2802
 #define LOCAL_GL_TEXTURE_WRAP_T                              0x2803
 #define LOCAL_GL_TEXT_FRAGMENT_SHADER_ATI                    0x8200
+#define LOCAL_GL_TILING_TYPES_EXT                            0x9583
 #define LOCAL_GL_TIMEOUT_EXPIRED                             0x911B
 #define LOCAL_GL_TIMEOUT_EXPIRED_APPLE                       0x911B
 #define LOCAL_GL_TIMEOUT_IGNORED                             0xFFFFFFFFFFFFFFFF
 #define LOCAL_GL_TIMEOUT_IGNORED_APPLE                       0xFFFFFFFFFFFFFFFF
 #define LOCAL_GL_TIMESTAMP                                   0x8E28
 #define LOCAL_GL_TIMESTAMP_EXT                               0x8E28
 #define LOCAL_GL_TIME_ELAPSED                                0x88BF
 #define LOCAL_GL_TIME_ELAPSED_EXT                            0x88BF
@@ -4590,21 +5162,23 @@
 #define LOCAL_GL_TRANSFORM_FEEDBACK_BUFFER_SIZE              0x8C85
 #define LOCAL_GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT          0x8C85
 #define LOCAL_GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV           0x8C85
 #define LOCAL_GL_TRANSFORM_FEEDBACK_BUFFER_START             0x8C84
 #define LOCAL_GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT         0x8C84
 #define LOCAL_GL_TRANSFORM_FEEDBACK_BUFFER_START_NV          0x8C84
 #define LOCAL_GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE            0x934C
 #define LOCAL_GL_TRANSFORM_FEEDBACK_NV                       0x8E22
+#define LOCAL_GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB             0x82EC
 #define LOCAL_GL_TRANSFORM_FEEDBACK_PAUSED                   0x8E23
 #define LOCAL_GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN       0x8C88
 #define LOCAL_GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT   0x8C88
 #define LOCAL_GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV    0x8C88
 #define LOCAL_GL_TRANSFORM_FEEDBACK_RECORD_NV                0x8C86
+#define LOCAL_GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB      0x82ED
 #define LOCAL_GL_TRANSFORM_FEEDBACK_VARYING                  0x92F4
 #define LOCAL_GL_TRANSFORM_FEEDBACK_VARYINGS                 0x8C83
 #define LOCAL_GL_TRANSFORM_FEEDBACK_VARYINGS_EXT             0x8C83
 #define LOCAL_GL_TRANSFORM_FEEDBACK_VARYINGS_NV              0x8C83
 #define LOCAL_GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH       0x8C76
 #define LOCAL_GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT   0x8C76
 #define LOCAL_GL_TRANSFORM_HINT_APPLE                        0x85B1
 #define LOCAL_GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE       0x93A0
@@ -4624,30 +5198,35 @@
 #define LOCAL_GL_TRANSPOSE_PROJECTION_MATRIX                 0x84E4
 #define LOCAL_GL_TRANSPOSE_PROJECTION_MATRIX_ARB             0x84E4
 #define LOCAL_GL_TRANSPOSE_TEXTURE_MATRIX                    0x84E5
 #define LOCAL_GL_TRANSPOSE_TEXTURE_MATRIX_ARB                0x84E5
 #define LOCAL_GL_TRIANGLES                                   0x0004
 #define LOCAL_GL_TRIANGLES_ADJACENCY                         0x000C
 #define LOCAL_GL_TRIANGLES_ADJACENCY_ARB                     0x000C
 #define LOCAL_GL_TRIANGLES_ADJACENCY_EXT                     0x000C
+#define LOCAL_GL_TRIANGLES_ADJACENCY_OES                     0x000C
 #define LOCAL_GL_TRIANGLE_FAN                                0x0006
 #define LOCAL_GL_TRIANGLE_LIST_SUN                           0x81D7
 #define LOCAL_GL_TRIANGLE_MESH_SUN                           0x8615
 #define LOCAL_GL_TRIANGLE_STRIP                              0x0005
 #define LOCAL_GL_TRIANGLE_STRIP_ADJACENCY                    0x000D
 #define LOCAL_GL_TRIANGLE_STRIP_ADJACENCY_ARB                0x000D
 #define LOCAL_GL_TRIANGLE_STRIP_ADJACENCY_EXT                0x000D
+#define LOCAL_GL_TRIANGLE_STRIP_ADJACENCY_OES                0x000D
 #define LOCAL_GL_TRIANGULAR_NV                               0x90A5
 #define LOCAL_GL_TRUE                                        1
 #define LOCAL_GL_TYPE                                        0x92FA
 #define LOCAL_GL_UNCORRELATED_NV                             0x9282
 #define LOCAL_GL_UNDEFINED_APPLE                             0x8A1C
 #define LOCAL_GL_UNDEFINED_VERTEX                            0x8260
+#define LOCAL_GL_UNDEFINED_VERTEX_EXT                        0x8260
+#define LOCAL_GL_UNDEFINED_VERTEX_OES                        0x8260
 #define LOCAL_GL_UNIFORM                                     0x92E1
+#define LOCAL_GL_UNIFORM_ADDRESS_COMMAND_NV                  0x000A
 #define LOCAL_GL_UNIFORM_ARRAY_STRIDE                        0x8A3C
 #define LOCAL_GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX         0x92DA
 #define LOCAL_GL_UNIFORM_BARRIER_BIT                         0x00000004
 #define LOCAL_GL_UNIFORM_BARRIER_BIT_EXT                     0x00000004
 #define LOCAL_GL_UNIFORM_BLOCK                               0x92E2
 #define LOCAL_GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS               0x8A42
 #define LOCAL_GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES        0x8A43
 #define LOCAL_GL_UNIFORM_BLOCK_BINDING                       0x8A3F
@@ -4656,45 +5235,53 @@
 #define LOCAL_GL_UNIFORM_BLOCK_NAME_LENGTH                   0x8A41
 #define LOCAL_GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER  0x90EC
 #define LOCAL_GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
 #define LOCAL_GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
 #define LOCAL_GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER     0x84F0
 #define LOCAL_GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER  0x84F1
 #define LOCAL_GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER   0x8A44
 #define LOCAL_GL_UNIFORM_BUFFER                              0x8A11
+#define LOCAL_GL_UNIFORM_BUFFER_ADDRESS_NV                   0x936F
 #define LOCAL_GL_UNIFORM_BUFFER_BINDING                      0x8A28
 #define LOCAL_GL_UNIFORM_BUFFER_BINDING_EXT                  0x8DEF
 #define LOCAL_GL_UNIFORM_BUFFER_EXT                          0x8DEE
+#define LOCAL_GL_UNIFORM_BUFFER_LENGTH_NV                    0x9370
 #define LOCAL_GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT             0x8A34
 #define LOCAL_GL_UNIFORM_BUFFER_SIZE                         0x8A2A
 #define LOCAL_GL_UNIFORM_BUFFER_START                        0x8A29
+#define LOCAL_GL_UNIFORM_BUFFER_UNIFIED_NV                   0x936E
 #define LOCAL_GL_UNIFORM_IS_ROW_MAJOR                        0x8A3E
 #define LOCAL_GL_UNIFORM_MATRIX_STRIDE                       0x8A3D
 #define LOCAL_GL_UNIFORM_NAME_LENGTH                         0x8A39
 #define LOCAL_GL_UNIFORM_OFFSET                              0x8A3B
 #define LOCAL_GL_UNIFORM_SIZE                                0x8A38
 #define LOCAL_GL_UNIFORM_TYPE                                0x8A37
+#define LOCAL_GL_UNKNOWN_CONTEXT_RESET                       0x8255
 #define LOCAL_GL_UNKNOWN_CONTEXT_RESET_ARB                   0x8255
 #define LOCAL_GL_UNKNOWN_CONTEXT_RESET_EXT                   0x8255
+#define LOCAL_GL_UNKNOWN_CONTEXT_RESET_KHR                   0x8255
 #define LOCAL_GL_UNPACK_ALIGNMENT                            0x0CF5
 #define LOCAL_GL_UNPACK_CLIENT_STORAGE_APPLE                 0x85B2
 #define LOCAL_GL_UNPACK_CMYK_HINT_EXT                        0x800F
+#define LOCAL_GL_UNPACK_COLORSPACE_CONVERSION_WEBGL          0x9243
 #define LOCAL_GL_UNPACK_COMPRESSED_BLOCK_DEPTH               0x9129
 #define LOCAL_GL_UNPACK_COMPRESSED_BLOCK_HEIGHT              0x9128
 #define LOCAL_GL_UNPACK_COMPRESSED_BLOCK_SIZE                0x912A
 #define LOCAL_GL_UNPACK_COMPRESSED_BLOCK_WIDTH               0x9127
 #define LOCAL_GL_UNPACK_COMPRESSED_SIZE_SGIX                 0x831A
 #define LOCAL_GL_UNPACK_CONSTANT_DATA_SUNX                   0x81D5
+#define LOCAL_GL_UNPACK_FLIP_Y_WEBGL                         0x9240
 #define LOCAL_GL_UNPACK_IMAGE_DEPTH_SGIS                     0x8133
 #define LOCAL_GL_UNPACK_IMAGE_HEIGHT                         0x806E
 #define LOCAL_GL_UNPACK_IMAGE_HEIGHT_EXT                     0x806E
 #define LOCAL_GL_UNPACK_LSB_FIRST                            0x0CF1
+#define LOCAL_GL_UNPACK_PREMULTIPLY_ALPHA_WEBGL              0x9241
 #define LOCAL_GL_UNPACK_RESAMPLE_OML                         0x8985
-#define LOCAL_GL_UNPACK_RESAMPLE_SGIX                        0x842D
+#define LOCAL_GL_UNPACK_RESAMPLE_SGIX                        0x842F
 #define LOCAL_GL_UNPACK_ROW_BYTES_APPLE                      0x8A16
 #define LOCAL_GL_UNPACK_ROW_LENGTH                           0x0CF2
 #define LOCAL_GL_UNPACK_ROW_LENGTH_EXT                       0x0CF2
 #define LOCAL_GL_UNPACK_SKIP_IMAGES                          0x806D
 #define LOCAL_GL_UNPACK_SKIP_IMAGES_EXT                      0x806D
 #define LOCAL_GL_UNPACK_SKIP_PIXELS                          0x0CF4
 #define LOCAL_GL_UNPACK_SKIP_PIXELS_EXT                      0x0CF4
 #define LOCAL_GL_UNPACK_SKIP_ROWS                            0x0CF3
@@ -4713,36 +5300,41 @@
 #define LOCAL_GL_UNSIGNED_INT                                0x1405
 #define LOCAL_GL_UNSIGNED_INT16_NV                           0x8FF0
 #define LOCAL_GL_UNSIGNED_INT16_VEC2_NV                      0x8FF1
 #define LOCAL_GL_UNSIGNED_INT16_VEC3_NV                      0x8FF2
 #define LOCAL_GL_UNSIGNED_INT16_VEC4_NV                      0x8FF3
 #define LOCAL_GL_UNSIGNED_INT64_AMD                          0x8BC2
 #define LOCAL_GL_UNSIGNED_INT64_ARB                          0x140F
 #define LOCAL_GL_UNSIGNED_INT64_NV                           0x140F
+#define LOCAL_GL_UNSIGNED_INT64_VEC2_ARB                     0x8FF5
 #define LOCAL_GL_UNSIGNED_INT64_VEC2_NV                      0x8FF5
+#define LOCAL_GL_UNSIGNED_INT64_VEC3_ARB                     0x8FF6
 #define LOCAL_GL_UNSIGNED_INT64_VEC3_NV                      0x8FF6
+#define LOCAL_GL_UNSIGNED_INT64_VEC4_ARB                     0x8FF7
 #define LOCAL_GL_UNSIGNED_INT64_VEC4_NV                      0x8FF7
 #define LOCAL_GL_UNSIGNED_INT8_NV                            0x8FEC
 #define LOCAL_GL_UNSIGNED_INT8_VEC2_NV                       0x8FED
 #define LOCAL_GL_UNSIGNED_INT8_VEC3_NV                       0x8FEE
 #define LOCAL_GL_UNSIGNED_INT8_VEC4_NV                       0x8FEF
 #define LOCAL_GL_UNSIGNED_INT_10F_11F_11F_REV                0x8C3B
+#define LOCAL_GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE          0x8C3B
 #define LOCAL_GL_UNSIGNED_INT_10F_11F_11F_REV_EXT            0x8C3B
 #define LOCAL_GL_UNSIGNED_INT_10_10_10_2                     0x8036
 #define LOCAL_GL_UNSIGNED_INT_10_10_10_2_EXT                 0x8036
 #define LOCAL_GL_UNSIGNED_INT_10_10_10_2_OES                 0x8DF6
 #define LOCAL_GL_UNSIGNED_INT_24_8                           0x84FA
 #define LOCAL_GL_UNSIGNED_INT_24_8_EXT                       0x84FA
 #define LOCAL_GL_UNSIGNED_INT_24_8_MESA                      0x8751
 #define LOCAL_GL_UNSIGNED_INT_24_8_NV                        0x84FA
 #define LOCAL_GL_UNSIGNED_INT_24_8_OES                       0x84FA
 #define LOCAL_GL_UNSIGNED_INT_2_10_10_10_REV                 0x8368
 #define LOCAL_GL_UNSIGNED_INT_2_10_10_10_REV_EXT             0x8368
 #define LOCAL_GL_UNSIGNED_INT_5_9_9_9_REV                    0x8C3E
+#define LOCAL_GL_UNSIGNED_INT_5_9_9_9_REV_APPLE              0x8C3E
 #define LOCAL_GL_UNSIGNED_INT_5_9_9_9_REV_EXT                0x8C3E
 #define LOCAL_GL_UNSIGNED_INT_8_24_REV_MESA                  0x8752
 #define LOCAL_GL_UNSIGNED_INT_8_8_8_8                        0x8035
 #define LOCAL_GL_UNSIGNED_INT_8_8_8_8_EXT                    0x8035
 #define LOCAL_GL_UNSIGNED_INT_8_8_8_8_REV                    0x8367
 #define LOCAL_GL_UNSIGNED_INT_8_8_8_8_REV_EXT                0x8367
 #define LOCAL_GL_UNSIGNED_INT_8_8_S8_S8_REV_NV               0x86DB
 #define LOCAL_GL_UNSIGNED_INT_ATOMIC_COUNTER                 0x92DB
@@ -4759,42 +5351,48 @@
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT       0x906B
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_2D_RECT                  0x9065
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT              0x9065
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_3D                       0x9064
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_3D_EXT                   0x9064
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_BUFFER                   0x9067
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_BUFFER_EXT               0x9067
+#define LOCAL_GL_UNSIGNED_INT_IMAGE_BUFFER_OES               0x9067
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_CUBE                     0x9066
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_CUBE_EXT                 0x9066
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY           0x906A
 #define LOCAL_GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT       0x906A
+#define LOCAL_GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES       0x906A
 #define LOCAL_GL_UNSIGNED_INT_S8_S8_8_8_NV                   0x86DA
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_1D                     0x8DD1
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_1D_ARRAY               0x8DD6
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT           0x8DD6
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_1D_EXT                 0x8DD1
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_2D                     0x8DD2
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_2D_ARRAY               0x8DD7
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT           0x8DD7
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_2D_EXT                 0x8DD2
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE         0x910A
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY   0x910D
+#define LOCAL_GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES       0x910D
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_2D_RECT                0x8DD5
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT            0x8DD5
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_3D                     0x8DD3
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_3D_EXT                 0x8DD3
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_BUFFER                 0x8DD8
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD             0x9003
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT             0x8DD8
+#define LOCAL_GL_UNSIGNED_INT_SAMPLER_BUFFER_OES             0x8DD8
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_CUBE                   0x8DD4
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_CUBE_EXT               0x8DD4
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY         0x900F
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB     0x900F
+#define LOCAL_GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT     0x900F
+#define LOCAL_GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES     0x900F
 #define LOCAL_GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV        0x8E58
 #define LOCAL_GL_UNSIGNED_INT_VEC2                           0x8DC6
 #define LOCAL_GL_UNSIGNED_INT_VEC2_EXT                       0x8DC6
 #define LOCAL_GL_UNSIGNED_INT_VEC3                           0x8DC7
 #define LOCAL_GL_UNSIGNED_INT_VEC3_EXT                       0x8DC7
 #define LOCAL_GL_UNSIGNED_INT_VEC4                           0x8DC8
 #define LOCAL_GL_UNSIGNED_INT_VEC4_EXT                       0x8DC8
 #define LOCAL_GL_UNSIGNED_INVERT_NV                          0x8537
@@ -4820,16 +5418,17 @@
 #define LOCAL_GL_UNSIGNED_SHORT_8_8_APPLE                    0x85BA
 #define LOCAL_GL_UNSIGNED_SHORT_8_8_MESA                     0x85BA
 #define LOCAL_GL_UNSIGNED_SHORT_8_8_REV_APPLE                0x85BB
 #define LOCAL_GL_UNSIGNED_SHORT_8_8_REV_MESA                 0x85BB
 #define LOCAL_GL_UPPER_LEFT                                  0x8CA2
 #define LOCAL_GL_USE_MISSING_GLYPH_NV                        0x90AA
 #define LOCAL_GL_UTF16_NV                                    0x909B
 #define LOCAL_GL_UTF8_NV                                     0x909A
+#define LOCAL_GL_UUID_SIZE_EXT                               16
 #define LOCAL_GL_V2F                                         0x2A20
 #define LOCAL_GL_V3F                                         0x2A21
 #define LOCAL_GL_VALIDATE_STATUS                             0x8B83
 #define LOCAL_GL_VARIABLE_A_NV                               0x8523
 #define LOCAL_GL_VARIABLE_B_NV                               0x8524
 #define LOCAL_GL_VARIABLE_C_NV                               0x8525
 #define LOCAL_GL_VARIABLE_D_NV                               0x8526
 #define LOCAL_GL_VARIABLE_E_NV                               0x8527
@@ -4935,16 +5534,17 @@
 #define LOCAL_GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE              0x8A04
 #define LOCAL_GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE               0x8A02
 #define LOCAL_GL_VERTEX_ATTRIB_MAP2_APPLE                    0x8A01
 #define LOCAL_GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE              0x8A07
 #define LOCAL_GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE             0x8A09
 #define LOCAL_GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE              0x8A08
 #define LOCAL_GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE               0x8A06
 #define LOCAL_GL_VERTEX_ATTRIB_RELATIVE_OFFSET               0x82D5
+#define LOCAL_GL_VERTEX_BINDING_BUFFER                       0x8F4F
 #define LOCAL_GL_VERTEX_BINDING_DIVISOR                      0x82D6
 #define LOCAL_GL_VERTEX_BINDING_OFFSET                       0x82D7
 #define LOCAL_GL_VERTEX_BINDING_STRIDE                       0x82D8
 #define LOCAL_GL_VERTEX_BLEND_ARB                            0x86A7
 #define LOCAL_GL_VERTEX_CONSISTENT_HINT_PGI                  0x1A22B
 #define LOCAL_GL_VERTEX_DATA_HINT_PGI                        0x1A22A
 #define LOCAL_GL_VERTEX_ELEMENT_SWIZZLE_AMD                  0x91A4
 #define LOCAL_GL_VERTEX_ID_NV                                0x8C7B
@@ -4968,16 +5568,17 @@
 #define LOCAL_GL_VERTEX_SHADER                               0x8B31
 #define LOCAL_GL_VERTEX_SHADER_ARB                           0x8B31
 #define LOCAL_GL_VERTEX_SHADER_BINDING_EXT                   0x8781
 #define LOCAL_GL_VERTEX_SHADER_BIT                           0x00000001
 #define LOCAL_GL_VERTEX_SHADER_BIT_EXT                       0x00000001
 #define LOCAL_GL_VERTEX_SHADER_EXT                           0x8780
 #define LOCAL_GL_VERTEX_SHADER_INSTRUCTIONS_EXT              0x87CF
 #define LOCAL_GL_VERTEX_SHADER_INVARIANTS_EXT                0x87D1
+#define LOCAL_GL_VERTEX_SHADER_INVOCATIONS_ARB               0x82F0
 #define LOCAL_GL_VERTEX_SHADER_LOCALS_EXT                    0x87D3
 #define LOCAL_GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT           0x87D2
 #define LOCAL_GL_VERTEX_SHADER_OPTIMIZED_EXT                 0x87D4
 #define LOCAL_GL_VERTEX_SHADER_VARIANTS_EXT                  0x87D0
 #define LOCAL_GL_VERTEX_SOURCE_ATI                           0x8774
 #define LOCAL_GL_VERTEX_STATE_PROGRAM_NV                     0x8621
 #define LOCAL_GL_VERTEX_STREAM0_ATI                          0x876C
 #define LOCAL_GL_VERTEX_STREAM1_ATI                          0x876D
@@ -4992,16 +5593,17 @@
 #define LOCAL_GL_VERTEX_TEXTURE                              0x829B
 #define LOCAL_GL_VERTEX_WEIGHTING_EXT                        0x8509
 #define LOCAL_GL_VERTEX_WEIGHT_ARRAY_EXT                     0x850C
 #define LOCAL_GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT             0x8510
 #define LOCAL_GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT                0x850D
 #define LOCAL_GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT              0x850F
 #define LOCAL_GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT                0x850E
 #define LOCAL_GL_VERTICAL_LINE_TO_NV                         0x08
+#define LOCAL_GL_VERTICES_SUBMITTED_ARB                      0x82EE
 #define LOCAL_GL_VIBRANCE_BIAS_NV                            0x8719
 #define LOCAL_GL_VIBRANCE_SCALE_NV                           0x8713
 #define LOCAL_GL_VIDEO_BUFFER_BINDING_NV                     0x9021
 #define LOCAL_GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV             0x902D
 #define LOCAL_GL_VIDEO_BUFFER_NV                             0x9020
 #define LOCAL_GL_VIDEO_BUFFER_PITCH_NV                       0x9028
 #define LOCAL_GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV         0x903B
 #define LOCAL_GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV         0x903A
@@ -5011,18 +5613,43 @@
 #define LOCAL_GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV           0x9026
 #define LOCAL_GL_VIDEO_COLOR_CONVERSION_MATRIX_NV            0x9029
 #define LOCAL_GL_VIDEO_COLOR_CONVERSION_MAX_NV               0x902A
 #define LOCAL_GL_VIDEO_COLOR_CONVERSION_MIN_NV               0x902B
 #define LOCAL_GL_VIDEO_COLOR_CONVERSION_OFFSET_NV            0x902C
 #define LOCAL_GL_VIEWPORT                                    0x0BA2
 #define LOCAL_GL_VIEWPORT_BIT                                0x00000800
 #define LOCAL_GL_VIEWPORT_BOUNDS_RANGE                       0x825D
+#define LOCAL_GL_VIEWPORT_BOUNDS_RANGE_EXT                   0x825D
+#define LOCAL_GL_VIEWPORT_BOUNDS_RANGE_NV                    0x825D
+#define LOCAL_GL_VIEWPORT_BOUNDS_RANGE_OES                   0x825D
+#define LOCAL_GL_VIEWPORT_COMMAND_NV                         0x0010
 #define LOCAL_GL_VIEWPORT_INDEX_PROVOKING_VERTEX             0x825F
+#define LOCAL_GL_VIEWPORT_INDEX_PROVOKING_VERTEX_EXT         0x825F
+#define LOCAL_GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV          0x825F
+#define LOCAL_GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES         0x825F
+#define LOCAL_GL_VIEWPORT_POSITION_W_SCALE_NV                0x937C
+#define LOCAL_GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV        0x937D
+#define LOCAL_GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV        0x937E
 #define LOCAL_GL_VIEWPORT_SUBPIXEL_BITS                      0x825C
+#define LOCAL_GL_VIEWPORT_SUBPIXEL_BITS_EXT                  0x825C
+#define LOCAL_GL_VIEWPORT_SUBPIXEL_BITS_NV                   0x825C
+#define LOCAL_GL_VIEWPORT_SUBPIXEL_BITS_OES                  0x825C
+#define LOCAL_GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV              0x9357
+#define LOCAL_GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV              0x9351
+#define LOCAL_GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV              0x9353
+#define LOCAL_GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV              0x9355
+#define LOCAL_GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV              0x9356
+#define LOCAL_GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV              0x9350
+#define LOCAL_GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV              0x9352
+#define LOCAL_GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV              0x9354
+#define LOCAL_GL_VIEWPORT_SWIZZLE_W_NV                       0x935B
+#define LOCAL_GL_VIEWPORT_SWIZZLE_X_NV                       0x9358
+#define LOCAL_GL_VIEWPORT_SWIZZLE_Y_NV                       0x9359
+#define LOCAL_GL_VIEWPORT_SWIZZLE_Z_NV                       0x935A
 #define LOCAL_GL_VIEW_CLASS_128_BITS                         0x82C4
 #define LOCAL_GL_VIEW_CLASS_16_BITS                          0x82CA
 #define LOCAL_GL_VIEW_CLASS_24_BITS                          0x82C9
 #define LOCAL_GL_VIEW_CLASS_32_BITS                          0x82C8
 #define LOCAL_GL_VIEW_CLASS_48_BITS                          0x82C7
 #define LOCAL_GL_VIEW_CLASS_64_BITS                          0x82C6
 #define LOCAL_GL_VIEW_CLASS_8_BITS                           0x82CB
 #define LOCAL_GL_VIEW_CLASS_96_BITS                          0x82C5
@@ -5031,41 +5658,50 @@
 #define LOCAL_GL_VIEW_CLASS_RGTC1_RED                        0x82D0
 #define LOCAL_GL_VIEW_CLASS_RGTC2_RG                         0x82D1
 #define LOCAL_GL_VIEW_CLASS_S3TC_DXT1_RGB                    0x82CC
 #define LOCAL_GL_VIEW_CLASS_S3TC_DXT1_RGBA                   0x82CD
 #define LOCAL_GL_VIEW_CLASS_S3TC_DXT3_RGBA                   0x82CE
 #define LOCAL_GL_VIEW_CLASS_S3TC_DXT5_RGBA                   0x82CF
 #define LOCAL_GL_VIEW_COMPATIBILITY_CLASS                    0x82B6
 #define LOCAL_GL_VIRTUAL_PAGE_SIZE_INDEX_ARB                 0x91A7
+#define LOCAL_GL_VIRTUAL_PAGE_SIZE_INDEX_EXT                 0x91A7
 #define LOCAL_GL_VIRTUAL_PAGE_SIZE_X_AMD                     0x9195
 #define LOCAL_GL_VIRTUAL_PAGE_SIZE_X_ARB                     0x9195
+#define LOCAL_GL_VIRTUAL_PAGE_SIZE_X_EXT                     0x9195
 #define LOCAL_GL_VIRTUAL_PAGE_SIZE_Y_AMD                     0x9196
 #define LOCAL_GL_VIRTUAL_PAGE_SIZE_Y_ARB                     0x9196
+#define LOCAL_GL_VIRTUAL_PAGE_SIZE_Y_EXT                     0x9196
 #define LOCAL_GL_VIRTUAL_PAGE_SIZE_Z_AMD                     0x9197
 #define LOCAL_GL_VIRTUAL_PAGE_SIZE_Z_ARB                     0x9197
+#define LOCAL_GL_VIRTUAL_PAGE_SIZE_Z_EXT                     0x9197
 #define LOCAL_GL_VIVIDLIGHT_NV                               0x92A6
 #define LOCAL_GL_VOLATILE_APPLE                              0x8A1A
 #define LOCAL_GL_WAIT_FAILED                                 0x911D
 #define LOCAL_GL_WAIT_FAILED_APPLE                           0x911D
+#define LOCAL_GL_WARPS_PER_SM_NV                             0x933A
+#define LOCAL_GL_WARP_SIZE_NV                                0x9339
+#define LOCAL_GL_WEIGHTED_AVERAGE_ARB                        0x9367
 #define LOCAL_GL_WEIGHT_ARRAY_ARB                            0x86AD
 #define LOCAL_GL_WEIGHT_ARRAY_BUFFER_BINDING                 0x889E
 #define LOCAL_GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB             0x889E
 #define LOCAL_GL_WEIGHT_ARRAY_BUFFER_BINDING_OES             0x889E
 #define LOCAL_GL_WEIGHT_ARRAY_OES                            0x86AD
 #define LOCAL_GL_WEIGHT_ARRAY_POINTER_ARB                    0x86AC
 #define LOCAL_GL_WEIGHT_ARRAY_POINTER_OES                    0x86AC
 #define LOCAL_GL_WEIGHT_ARRAY_SIZE_ARB                       0x86AB
 #define LOCAL_GL_WEIGHT_ARRAY_SIZE_OES                       0x86AB
 #define LOCAL_GL_WEIGHT_ARRAY_STRIDE_ARB                     0x86AA
 #define LOCAL_GL_WEIGHT_ARRAY_STRIDE_OES                     0x86AA
 #define LOCAL_GL_WEIGHT_ARRAY_TYPE_ARB                       0x86A9
 #define LOCAL_GL_WEIGHT_ARRAY_TYPE_OES                       0x86A9
 #define LOCAL_GL_WEIGHT_SUM_UNITY_ARB                        0x86A6
 #define LOCAL_GL_WIDE_LINE_HINT_PGI                          0x1A222
+#define LOCAL_GL_WINDOW_RECTANGLE_EXT                        0x8F12
+#define LOCAL_GL_WINDOW_RECTANGLE_MODE_EXT                   0x8F13
 #define LOCAL_GL_WRAP_BORDER_SUN                             0x81D4
 #define LOCAL_GL_WRITEONLY_RENDERING_QCOM                    0x8823
 #define LOCAL_GL_WRITE_DISCARD_NV                            0x88BE
 #define LOCAL_GL_WRITE_ONLY                                  0x88B9
 #define LOCAL_GL_WRITE_ONLY_ARB                              0x88B9
 #define LOCAL_GL_WRITE_ONLY_OES                              0x88B9
 #define LOCAL_GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV            0x887A
 #define LOCAL_GL_WRITE_PIXEL_DATA_RANGE_NV                   0x8878
@@ -5086,16 +5722,17 @@
 #define LOCAL_GL_Z400_BINARY_AMD                             0x8740
 #define LOCAL_GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV    0x9036
 #define LOCAL_GL_Z4Y12Z4CB12Z4CR12_444_NV                    0x9037
 #define LOCAL_GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV               0x9035
 #define LOCAL_GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV    0x9034
 #define LOCAL_GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV               0x9033
 #define LOCAL_GL_ZERO                                        0
 #define LOCAL_GL_ZERO_EXT                                    0x87DD
+#define LOCAL_GL_ZERO_TO_ONE                                 0x935F
 #define LOCAL_GL_ZOOM_X                                      0x0D16
 #define LOCAL_GL_ZOOM_Y                                      0x0D17
 #define LOCAL_GL_Z_EXT                                       0x87D7
 
 
 // EGL
 #define LOCAL_EGL_ALPHA_FORMAT                               0x3088
 #define LOCAL_EGL_ALPHA_FORMAT_NONPRE                        0x308B
@@ -5106,20 +5743,23 @@
 #define LOCAL_EGL_AUTO_STEREO_NV                             0x3136
 #define LOCAL_EGL_BACK_BUFFER                                0x3084
 #define LOCAL_EGL_BAD_ACCESS                                 0x3002
 #define LOCAL_EGL_BAD_ALLOC                                  0x3003
 #define LOCAL_EGL_BAD_ATTRIBUTE                              0x3004
 #define LOCAL_EGL_BAD_CONFIG                                 0x3005
 #define LOCAL_EGL_BAD_CONTEXT                                0x3006
 #define LOCAL_EGL_BAD_CURRENT_SURFACE                        0x3007
+#define LOCAL_EGL_BAD_DEVICE_EXT                             0x322B
 #define LOCAL_EGL_BAD_DISPLAY                                0x3008
 #define LOCAL_EGL_BAD_MATCH                                  0x3009
 #define LOCAL_EGL_BAD_NATIVE_PIXMAP                          0x300A
 #define LOCAL_EGL_BAD_NATIVE_WINDOW                          0x300B
+#define LOCAL_EGL_BAD_OUTPUT_LAYER_EXT                       0x322D
+#define LOCAL_EGL_BAD_OUTPUT_PORT_EXT                        0x322E
 #define LOCAL_EGL_BAD_PARAMETER                              0x300C
 #define LOCAL_EGL_BAD_STATE_KHR                              0x321C
 #define LOCAL_EGL_BAD_STREAM_KHR                             0x321B
 #define LOCAL_EGL_BAD_SURFACE                                0x300D
 #define LOCAL_EGL_BIND_TO_TEXTURE_RGB                        0x3039
 #define LOCAL_EGL_BIND_TO_TEXTURE_RGBA                       0x303A
 #define LOCAL_EGL_BITMAP_ORIGIN_KHR                          0x30C8
 #define LOCAL_EGL_BITMAP_PITCH_KHR                           0x30C7
@@ -5127,257 +5767,431 @@
 #define LOCAL_EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR               0x30CB
 #define LOCAL_EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR              0x30CA
 #define LOCAL_EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR          0x30CD
 #define LOCAL_EGL_BITMAP_PIXEL_RED_OFFSET_KHR                0x30C9
 #define LOCAL_EGL_BITMAP_PIXEL_SIZE_KHR                      0x3110
 #define LOCAL_EGL_BITMAP_POINTER_KHR                         0x30C6
 #define LOCAL_EGL_BLUE_SIZE                                  0x3022
 #define LOCAL_EGL_BUFFER_AGE_EXT                             0x313D
+#define LOCAL_EGL_BUFFER_AGE_KHR                             0x313D
 #define LOCAL_EGL_BUFFER_COUNT_NV                            0x321D
 #define LOCAL_EGL_BUFFER_DESTROYED                           0x3095
 #define LOCAL_EGL_BUFFER_PRESERVED                           0x3094
 #define LOCAL_EGL_BUFFER_SIZE                                0x3020
 #define LOCAL_EGL_CLIENT_APIS                                0x308D
 #define LOCAL_EGL_CLIENT_PIXMAP_POINTER_HI                   0x8F74
+#define LOCAL_EGL_CL_EVENT_HANDLE                            0x309C
 #define LOCAL_EGL_CL_EVENT_HANDLE_KHR                        0x309C
 #define LOCAL_EGL_COLORSPACE                                 0x3087
 #define LOCAL_EGL_COLORSPACE_LINEAR                          0x308A
 #define LOCAL_EGL_COLORSPACE_sRGB                            0x3089
 #define LOCAL_EGL_COLOR_ARGB_HI                              0x8F73
 #define LOCAL_EGL_COLOR_BUFFER_TYPE                          0x303F
+#define LOCAL_EGL_COLOR_COMPONENT_TYPE_EXT                   0x3339
+#define LOCAL_EGL_COLOR_COMPONENT_TYPE_FIXED_EXT             0x333A
+#define LOCAL_EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT             0x333B
 #define LOCAL_EGL_COLOR_FORMAT_HI                            0x8F70
 #define LOCAL_EGL_COLOR_RGBA_HI                              0x8F72
 #define LOCAL_EGL_COLOR_RGB_HI                               0x8F71
+#define LOCAL_EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT           0x3462
+#define LOCAL_EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT           0x3463
+#define LOCAL_EGL_CONDITION_SATISFIED                        0x30F6
 #define LOCAL_EGL_CONDITION_SATISFIED_KHR                    0x30F6
 #define LOCAL_EGL_CONDITION_SATISFIED_NV                     0x30EC
 #define LOCAL_EGL_CONFIG_CAVEAT                              0x3027
 #define LOCAL_EGL_CONFIG_ID                                  0x3028
 #define LOCAL_EGL_CONFORMANT                                 0x3042
 #define LOCAL_EGL_CONFORMANT_KHR                             0x3042
 #define LOCAL_EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR          0x321E
 #define LOCAL_EGL_CONSUMER_FRAME_KHR                         0x3213
 #define LOCAL_EGL_CONSUMER_LATENCY_USEC_KHR                  0x3210
+#define LOCAL_EGL_CONSUMER_MAX_FRAME_HINT_NV                 0x3338
+#define LOCAL_EGL_CONSUMER_METADATA_NV                       0x3254
 #define LOCAL_EGL_CONTEXT_CLIENT_TYPE                        0x3097
 #define LOCAL_EGL_CONTEXT_CLIENT_VERSION                     0x3098
 #define LOCAL_EGL_CONTEXT_FLAGS_KHR                          0x30FC
 #define LOCAL_EGL_CONTEXT_LOST                               0x300E
+#define LOCAL_EGL_CONTEXT_MAJOR_VERSION                      0x3098
 #define LOCAL_EGL_CONTEXT_MAJOR_VERSION_KHR                  0x3098
+#define LOCAL_EGL_CONTEXT_MINOR_VERSION                      0x30FB
 #define LOCAL_EGL_CONTEXT_MINOR_VERSION_KHR                  0x30FB
+#define LOCAL_EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT   0x00000002
 #define LOCAL_EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR       0x00000002
+#define LOCAL_EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT            0x00000001
 #define LOCAL_EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR        0x00000001
+#define LOCAL_EGL_CONTEXT_OPENGL_DEBUG                       0x31B0
 #define LOCAL_EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR               0x00000001
+#define LOCAL_EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE          0x31B1
 #define LOCAL_EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR  0x00000002
+#define LOCAL_EGL_CONTEXT_OPENGL_NO_ERROR_KHR                0x31B3
+#define LOCAL_EGL_CONTEXT_OPENGL_PROFILE_MASK                0x30FD
 #define LOCAL_EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR            0x30FD
+#define LOCAL_EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY 0x31BD
 #define LOCAL_EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT     0x3138
 #define LOCAL_EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR     0x31BD
+#define LOCAL_EGL_CONTEXT_OPENGL_ROBUST_ACCESS               0x31B2
 #define LOCAL_EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR       0x00000004
 #define LOCAL_EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT           0x30BF
 #define LOCAL_EGL_CONTEXT_PRIORITY_HIGH_IMG                  0x3101
 #define LOCAL_EGL_CONTEXT_PRIORITY_LEVEL_IMG                 0x3100
 #define LOCAL_EGL_CONTEXT_PRIORITY_LOW_IMG                   0x3103
 #define LOCAL_EGL_CONTEXT_PRIORITY_MEDIUM_IMG                0x3102
+#define LOCAL_EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR         0x2098
+#define LOCAL_EGL_CONTEXT_RELEASE_BEHAVIOR_KHR               0x2097
+#define LOCAL_EGL_CONTEXT_RELEASE_BEHAVIOR_NONE_KHR          0
 #define LOCAL_EGL_CORE_NATIVE_ENGINE                         0x305B
 #define LOCAL_EGL_COVERAGE_BUFFERS_NV                        0x30E0
 #define LOCAL_EGL_COVERAGE_SAMPLES_NV                        0x30E1
 #define LOCAL_EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV         0x3132
 #define LOCAL_EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV            0x3133
 #define LOCAL_EGL_COVERAGE_SAMPLE_RESOLVE_NV                 0x3131
+#define LOCAL_EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT       0x3360
+#define LOCAL_EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT       0x3361
+#define LOCAL_EGL_CUDA_DEVICE_NV                             0x323A
+#define LOCAL_EGL_CUDA_EVENT_HANDLE_NV                       0x323B
+#define LOCAL_EGL_D3D11_DEVICE_ANGLE                         0x33A1
+#define LOCAL_EGL_D3D9_DEVICE_ANGLE                          0x33A0
 #define LOCAL_EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE          0x3200
-#define LOCAL_EGL_DXGI_KEYED_MUTEX_ANGLE                     0x33A2
-#define LOCAL_EGL_DEFAULT_DISPLAY                            ((EGLNativeDisplayType)0)
+#define LOCAL_EGL_DEBUG_CALLBACK_KHR                         0x33B8
+#define LOCAL_EGL_DEBUG_MSG_CRITICAL_KHR                     0x33B9
+#define LOCAL_EGL_DEBUG_MSG_ERROR_KHR                        0x33BA
+#define LOCAL_EGL_DEBUG_MSG_INFO_KHR                         0x33BC
+#define LOCAL_EGL_DEBUG_MSG_WARN_KHR                         0x33BB
+#define LOCAL_EGL_DEFAULT_DISPLAY                            EGL_CAST(EGLNativeDisplayType,0)
 #define LOCAL_EGL_DEPTH_ENCODING_NONE_NV                     0
 #define LOCAL_EGL_DEPTH_ENCODING_NONLINEAR_NV                0x30E3
 #define LOCAL_EGL_DEPTH_ENCODING_NV                          0x30E2
 #define LOCAL_EGL_DEPTH_SIZE                                 0x3025
+#define LOCAL_EGL_DEVICE_EXT                                 0x322C
 #define LOCAL_EGL_DISCARD_SAMPLES_ARM                        0x3286
 #define LOCAL_EGL_DISPLAY_SCALING                            10000
 #define LOCAL_EGL_DMA_BUF_PLANE0_FD_EXT                      0x3272
+#define LOCAL_EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT             0x3444
+#define LOCAL_EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT             0x3443
 #define LOCAL_EGL_DMA_BUF_PLANE0_OFFSET_EXT                  0x3273
 #define LOCAL_EGL_DMA_BUF_PLANE0_PITCH_EXT                   0x3274
 #define LOCAL_EGL_DMA_BUF_PLANE1_FD_EXT                      0x3275
+#define LOCAL_EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT             0x3446
+#define LOCAL_EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT             0x3445
 #define LOCAL_EGL_DMA_BUF_PLANE1_OFFSET_EXT                  0x3276
 #define LOCAL_EGL_DMA_BUF_PLANE1_PITCH_EXT                   0x3277
 #define LOCAL_EGL_DMA_BUF_PLANE2_FD_EXT                      0x3278
+#define LOCAL_EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT             0x3448
+#define LOCAL_EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT             0x3447
 #define LOCAL_EGL_DMA_BUF_PLANE2_OFFSET_EXT                  0x3279
 #define LOCAL_EGL_DMA_BUF_PLANE2_PITCH_EXT                   0x327A
-#define LOCAL_EGL_DONT_CARE                                  ((EGLint)-1)
+#define LOCAL_EGL_DMA_BUF_PLANE3_FD_EXT                      0x3440
+#define LOCAL_EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT             0x344A
+#define LOCAL_EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT             0x3449
+#define LOCAL_EGL_DMA_BUF_PLANE3_OFFSET_EXT                  0x3441
+#define LOCAL_EGL_DMA_BUF_PLANE3_PITCH_EXT                   0x3442
+#define LOCAL_EGL_DONT_CARE                                  EGL_CAST(EGLint,-1)
 #define LOCAL_EGL_DRAW                                       0x3059
 #define LOCAL_EGL_DRM_BUFFER_FORMAT_ARGB32_MESA              0x31D2
 #define LOCAL_EGL_DRM_BUFFER_FORMAT_MESA                     0x31D0
 #define LOCAL_EGL_DRM_BUFFER_MESA                            0x31D3
 #define LOCAL_EGL_DRM_BUFFER_STRIDE_MESA                     0x31D4
 #define LOCAL_EGL_DRM_BUFFER_USE_MESA                        0x31D1
 #define LOCAL_EGL_DRM_BUFFER_USE_SCANOUT_MESA                0x00000001
 #define LOCAL_EGL_DRM_BUFFER_USE_SHARE_MESA                  0x00000002
+#define LOCAL_EGL_DRM_CONNECTOR_EXT                          0x3236
+#define LOCAL_EGL_DRM_CRTC_EXT                               0x3234
+#define LOCAL_EGL_DRM_DEVICE_FILE_EXT                        0x3233
+#define LOCAL_EGL_DRM_PLANE_EXT                              0x3235
 #define LOCAL_EGL_EXTENSIONS                                 0x3055
+#define LOCAL_EGL_EXTERNAL_REF_ID_EXT                        0x3461
 #define LOCAL_EGL_FALSE                                      0
+#define LOCAL_EGL_FIXED_SIZE_ANGLE                           0x3201
+#define LOCAL_EGL_FOREVER                                    0xFFFFFFFFFFFFFFFF
 #define LOCAL_EGL_FOREVER_KHR                                0xFFFFFFFFFFFFFFFF
 #define LOCAL_EGL_FOREVER_NV                                 0xFFFFFFFFFFFFFFFF
 #define LOCAL_EGL_FORMAT_RGBA_8888_EXACT_KHR                 0x30C2
 #define LOCAL_EGL_FORMAT_RGBA_8888_KHR                       0x30C3
 #define LOCAL_EGL_FORMAT_RGB_565_EXACT_KHR                   0x30C0
 #define LOCAL_EGL_FORMAT_RGB_565_KHR                         0x30C1
 #define LOCAL_EGL_FRAMEBUFFER_TARGET_ANDROID                 0x3147
+#define LOCAL_EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID          0x314C
+#define LOCAL_EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV    0x334C
+#define LOCAL_EGL_GL_COLORSPACE                              0x309D
+#define LOCAL_EGL_GL_COLORSPACE_BT2020_LINEAR_EXT            0x333F
+#define LOCAL_EGL_GL_COLORSPACE_BT2020_PQ_EXT                0x3340
+#define LOCAL_EGL_GL_COLORSPACE_DISPLAY_P3_EXT               0x3363
+#define LOCAL_EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT        0x3362
 #define LOCAL_EGL_GL_COLORSPACE_KHR                          0x309D
+#define LOCAL_EGL_GL_COLORSPACE_LINEAR                       0x308A
 #define LOCAL_EGL_GL_COLORSPACE_LINEAR_KHR                   0x308A
+#define LOCAL_EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT             0x3350
+#define LOCAL_EGL_GL_COLORSPACE_SRGB                         0x3089
 #define LOCAL_EGL_GL_COLORSPACE_SRGB_KHR                     0x3089
+#define LOCAL_EGL_GL_RENDERBUFFER                            0x30B9
 #define LOCAL_EGL_GL_RENDERBUFFER_KHR                        0x30B9
+#define LOCAL_EGL_GL_TEXTURE_2D                              0x30B1
 #define LOCAL_EGL_GL_TEXTURE_2D_KHR                          0x30B1
+#define LOCAL_EGL_GL_TEXTURE_3D                              0x30B2
 #define LOCAL_EGL_GL_TEXTURE_3D_KHR                          0x30B2
+#define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X             0x30B4
 #define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR         0x30B4
+#define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y             0x30B6
 #define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR         0x30B6
+#define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z             0x30B8
 #define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR         0x30B8
+#define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X             0x30B3
 #define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR         0x30B3
+#define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y             0x30B5
 #define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR         0x30B5
+#define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z             0x30B7
 #define LOCAL_EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR         0x30B7
+#define LOCAL_EGL_GL_TEXTURE_LEVEL                           0x30BC
 #define LOCAL_EGL_GL_TEXTURE_LEVEL_KHR                       0x30BC
+#define LOCAL_EGL_GL_TEXTURE_ZOFFSET                         0x30BD
 #define LOCAL_EGL_GL_TEXTURE_ZOFFSET_KHR                     0x30BD
 #define LOCAL_EGL_GREEN_SIZE                                 0x3023
 #define LOCAL_EGL_HEIGHT                                     0x3056
 #define LOCAL_EGL_HORIZONTAL_RESOLUTION                      0x3090
+#define LOCAL_EGL_IMAGE_PRESERVED                            0x30D2
 #define LOCAL_EGL_IMAGE_PRESERVED_KHR                        0x30D2
 #define LOCAL_EGL_INTEROP_BIT_KHR                            0x0010
 #define LOCAL_EGL_ITU_REC2020_EXT                            0x3281
 #define LOCAL_EGL_ITU_REC601_EXT                             0x327F
 #define LOCAL_EGL_ITU_REC709_EXT                             0x3280
 #define LOCAL_EGL_LARGEST_PBUFFER                            0x3058
 #define LOCAL_EGL_LEVEL                                      0x3029
 #define LOCAL_EGL_LINUX_DMA_BUF_EXT                          0x3270
 #define LOCAL_EGL_LINUX_DRM_FOURCC_EXT                       0x3271
 #define LOCAL_EGL_LOCK_SURFACE_BIT_KHR                       0x0080
 #define LOCAL_EGL_LOCK_USAGE_HINT_KHR                        0x30C5
+#define LOCAL_EGL_LOSE_CONTEXT_ON_RESET                      0x31BF
 #define LOCAL_EGL_LOSE_CONTEXT_ON_RESET_EXT                  0x31BF
 #define LOCAL_EGL_LOSE_CONTEXT_ON_RESET_KHR                  0x31BF
 #define LOCAL_EGL_LOWER_LEFT_KHR                             0x30CE
 #define LOCAL_EGL_LUMINANCE_BUFFER                           0x308F
 #define LOCAL_EGL_LUMINANCE_SIZE                             0x303D
 #define LOCAL_EGL_MAP_PRESERVE_PIXELS_KHR                    0x30C4
 #define LOCAL_EGL_MATCH_FORMAT_KHR                           0x3043
 #define LOCAL_EGL_MATCH_NATIVE_PIXMAP                        0x3041
 #define LOCAL_EGL_MAX_PBUFFER_HEIGHT                         0x302A
 #define LOCAL_EGL_MAX_PBUFFER_PIXELS                         0x302B
 #define LOCAL_EGL_MAX_PBUFFER_WIDTH                          0x302C
+#define LOCAL_EGL_MAX_STREAM_METADATA_BLOCKS_NV              0x3250
+#define LOCAL_EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV          0x3251
+#define LOCAL_EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV          0x3252
 #define LOCAL_EGL_MAX_SWAP_INTERVAL                          0x303C
+#define LOCAL_EGL_METADATA0_SIZE_NV                          0x3255
+#define LOCAL_EGL_METADATA0_TYPE_NV                          0x3259
+#define LOCAL_EGL_METADATA1_SIZE_NV                          0x3256
+#define LOCAL_EGL_METADATA1_TYPE_NV                          0x325A
+#define LOCAL_EGL_METADATA2_SIZE_NV                          0x3257
+#define LOCAL_EGL_METADATA2_TYPE_NV                          0x325B
+#define LOCAL_EGL_METADATA3_SIZE_NV                          0x3258
+#define LOCAL_EGL_METADATA3_TYPE_NV                          0x325C
+#define LOCAL_EGL_METADATA_SCALING_EXT                       50000
 #define LOCAL_EGL_MIN_SWAP_INTERVAL                          0x303B
 #define LOCAL_EGL_MIPMAP_LEVEL                               0x3083
 #define LOCAL_EGL_MIPMAP_TEXTURE                             0x3082
 #define LOCAL_EGL_MULTISAMPLE_RESOLVE                        0x3099
 #define LOCAL_EGL_MULTISAMPLE_RESOLVE_BOX                    0x309B
 #define LOCAL_EGL_MULTISAMPLE_RESOLVE_BOX_BIT                0x0200
 #define LOCAL_EGL_MULTISAMPLE_RESOLVE_DEFAULT                0x309A
 #define LOCAL_EGL_MULTIVIEW_VIEW_COUNT_EXT                   0x3134
+#define LOCAL_EGL_MUTABLE_RENDER_BUFFER_BIT_KHR              0x1000
 #define LOCAL_EGL_NATIVE_BUFFER_ANDROID                      0x3140
+#define LOCAL_EGL_NATIVE_BUFFER_MULTIPLANE_SEPARATE_IMG      0x3105
+#define LOCAL_EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG             0x3106
+#define LOCAL_EGL_NATIVE_BUFFER_TIZEN                        0x32A0
+#define LOCAL_EGL_NATIVE_BUFFER_USAGE_ANDROID                0x3143
+#define LOCAL_EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID  0x00000001
+#define LOCAL_EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID       0x00000002
+#define LOCAL_EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID    0x00000004
 #define LOCAL_EGL_NATIVE_PIXMAP_KHR                          0x30B0
 #define LOCAL_EGL_NATIVE_RENDERABLE                          0x302D
+#define LOCAL_EGL_NATIVE_SURFACE_TIZEN                       0x32A1
 #define LOCAL_EGL_NATIVE_VISUAL_ID                           0x302E
 #define LOCAL_EGL_NATIVE_VISUAL_TYPE                         0x302F
 #define LOCAL_EGL_NONE                                       0x3038
 #define LOCAL_EGL_NON_CONFORMANT_CONFIG                      0x3051
 #define LOCAL_EGL_NOT_INITIALIZED                            0x3001
-#define LOCAL_EGL_NO_CONTEXT                                 ((EGLContext)0)
-#define LOCAL_EGL_NO_DISPLAY                                 ((EGLDisplay)0)
-#define LOCAL_EGL_NO_FILE_DESCRIPTOR_KHR                     ((EGLNativeFileDescriptorKHR)(-1))
-#define LOCAL_EGL_NO_IMAGE_KHR                               ((EGLImageKHR)0)
+#define LOCAL_EGL_NO_CONFIG_KHR                              EGL_CAST(EGLConfig,0)
+#define LOCAL_EGL_NO_CONTEXT                                 EGL_CAST(EGLContext,0)
+#define LOCAL_EGL_NO_DEVICE_EXT                              EGL_CAST(EGLDeviceEXT,0)
+#define LOCAL_EGL_NO_DISPLAY                                 EGL_CAST(EGLDisplay,0)
+#define LOCAL_EGL_NO_FILE_DESCRIPTOR_KHR                     EGL_CAST(EGLNativeFileDescriptorKHR,-1)
+#define LOCAL_EGL_NO_IMAGE                                   EGL_CAST(EGLImage,0)
+#define LOCAL_EGL_NO_IMAGE_KHR                               EGL_CAST(EGLImageKHR,0)
 #define LOCAL_EGL_NO_NATIVE_FENCE_FD_ANDROID                 -1
+#define LOCAL_EGL_NO_OUTPUT_LAYER_EXT                        EGL_CAST(EGLOutputLayerEXT,0)
+#define LOCAL_EGL_NO_OUTPUT_PORT_EXT                         EGL_CAST(EGLOutputPortEXT,0)
+#define LOCAL_EGL_NO_RESET_NOTIFICATION                      0x31BE
 #define LOCAL_EGL_NO_RESET_NOTIFICATION_EXT                  0x31BE
 #define LOCAL_EGL_NO_RESET_NOTIFICATION_KHR                  0x31BE
-#define LOCAL_EGL_NO_STREAM_KHR                              ((EGLStreamKHR)0)
-#define LOCAL_EGL_NO_SURFACE                                 ((EGLSurface)0)
-#define LOCAL_EGL_NO_SYNC_KHR                                ((EGLSyncKHR)0)
-#define LOCAL_EGL_NO_SYNC_NV                                 ((EGLSyncNV)0)
+#define LOCAL_EGL_NO_STREAM_KHR                              EGL_CAST(EGLStreamKHR,0)
+#define LOCAL_EGL_NO_SURFACE                                 EGL_CAST(EGLSurface,0)
+#define LOCAL_EGL_NO_SYNC                                    EGL_CAST(EGLSync,0)
+#define LOCAL_EGL_NO_SYNC_KHR                                EGL_CAST(EGLSyncKHR,0)
+#define LOCAL_EGL_NO_SYNC_NV                                 EGL_CAST(EGLSyncNV,0)
 #define LOCAL_EGL_NO_TEXTURE                                 0x305C
+#define LOCAL_EGL_OBJECT_CONTEXT_KHR                         0x33B2
+#define LOCAL_EGL_OBJECT_DISPLAY_KHR                         0x33B1
+#define LOCAL_EGL_OBJECT_IMAGE_KHR                           0x33B4
+#define LOCAL_EGL_OBJECT_STREAM_KHR                          0x33B6
+#define LOCAL_EGL_OBJECT_SURFACE_KHR                         0x33B3
+#define LOCAL_EGL_OBJECT_SYNC_KHR                            0x33B5
+#define LOCAL_EGL_OBJECT_THREAD_KHR                          0x33B0
 #define LOCAL_EGL_OPENGL_API                                 0x30A2
 #define LOCAL_EGL_OPENGL_BIT                                 0x0008
 #define LOCAL_EGL_OPENGL_ES2_BIT                             0x0004
+#define LOCAL_EGL_OPENGL_ES3_BIT                             0x00000040
 #define LOCAL_EGL_OPENGL_ES3_BIT_KHR                         0x00000040
 #define LOCAL_EGL_OPENGL_ES_API                              0x30A0
 #define LOCAL_EGL_OPENGL_ES_BIT                              0x0001
 #define LOCAL_EGL_OPENMAX_IL_BIT_KHR                         0x0020
 #define LOCAL_EGL_OPENVG_API                                 0x30A1
 #define LOCAL_EGL_OPENVG_BIT                                 0x0002
 #define LOCAL_EGL_OPENVG_IMAGE                               0x3096
+#define LOCAL_EGL_OPENWF_DEVICE_ID_EXT                       0x3237
+#define LOCAL_EGL_OPENWF_PIPELINE_ID_EXT                     0x3238
+#define LOCAL_EGL_OPENWF_PORT_ID_EXT                         0x3239
 #define LOCAL_EGL_OPTIMAL_FORMAT_BIT_KHR                     0x0100
 #define LOCAL_EGL_PBUFFER_BIT                                0x0001
 #define LOCAL_EGL_PBUFFER_IMAGE_BIT_TAO                      0x0008
 #define LOCAL_EGL_PBUFFER_PALETTE_IMAGE_BIT_TAO              0x0010
+#define LOCAL_EGL_PENDING_FRAME_NV                           0x3329
+#define LOCAL_EGL_PENDING_METADATA_NV                        0x3328
 #define LOCAL_EGL_PIXEL_ASPECT_RATIO                         0x3092
 #define LOCAL_EGL_PIXMAP_BIT                                 0x0002
+#define LOCAL_EGL_PLATFORM_ANDROID_KHR                       0x3141
+#define LOCAL_EGL_PLATFORM_DEVICE_EXT                        0x313F
+#define LOCAL_EGL_PLATFORM_GBM_KHR                           0x31D7
 #define LOCAL_EGL_PLATFORM_GBM_MESA                          0x31D7
+#define LOCAL_EGL_PLATFORM_SURFACELESS_MESA                  0x31DD
 #define LOCAL_EGL_PLATFORM_WAYLAND_EXT                       0x31D8
+#define LOCAL_EGL_PLATFORM_WAYLAND_KHR                       0x31D8
 #define LOCAL_EGL_PLATFORM_X11_EXT                           0x31D5
+#define LOCAL_EGL_PLATFORM_X11_KHR                           0x31D5
 #define LOCAL_EGL_PLATFORM_X11_SCREEN_EXT                    0x31D6
+#define LOCAL_EGL_PLATFORM_X11_SCREEN_KHR                    0x31D6
 #define LOCAL_EGL_POST_SUB_BUFFER_SUPPORTED_NV               0x30BE
+#define LOCAL_EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT             0x3460
 #define LOCAL_EGL_PRODUCER_FRAME_KHR                         0x3212
+#define LOCAL_EGL_PRODUCER_MAX_FRAME_HINT_NV                 0x3337
+#define LOCAL_EGL_PRODUCER_METADATA_NV                       0x3253
 #define LOCAL_EGL_PROTECTED_CONTENT_EXT                      0x32C0
 #define LOCAL_EGL_READ                                       0x305A
 #define LOCAL_EGL_READ_SURFACE_BIT_KHR                       0x0001
 #define LOCAL_EGL_RECORDABLE_ANDROID                         0x3142
 #define LOCAL_EGL_RED_SIZE                                   0x3024
 #define LOCAL_EGL_RENDERABLE_TYPE                            0x3040
 #define LOCAL_EGL_RENDER_BUFFER                              0x3086
 #define LOCAL_EGL_RGB_BUFFER                                 0x308E
 #define LOCAL_EGL_SAMPLES                                    0x3031
 #define LOCAL_EGL_SAMPLE_BUFFERS                             0x3032
 #define LOCAL_EGL_SAMPLE_RANGE_HINT_EXT                      0x327C
 #define LOCAL_EGL_SHARED_IMAGE_NOK                           0x30DA
+#define LOCAL_EGL_SIGNALED                                   0x30F2
 #define LOCAL_EGL_SIGNALED_KHR                               0x30F2
 #define LOCAL_EGL_SIGNALED_NV                                0x30E8
 #define LOCAL_EGL_SINGLE_BUFFER                              0x3085
 #define LOCAL_EGL_SLOW_CONFIG                                0x3050
+#define LOCAL_EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT           0x3345
+#define LOCAL_EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT           0x3346
+#define LOCAL_EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT           0x3343
+#define LOCAL_EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT           0x3344
+#define LOCAL_EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT           0x3341
+#define LOCAL_EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT           0x3342
+#define LOCAL_EGL_SMPTE2086_MAX_LUMINANCE_EXT                0x3349
+#define LOCAL_EGL_SMPTE2086_MIN_LUMINANCE_EXT                0x334A
+#define LOCAL_EGL_SMPTE2086_WHITE_POINT_X_EXT                0x3347
+#define LOCAL_EGL_SMPTE2086_WHITE_POINT_Y_EXT                0x3348
+#define LOCAL_EGL_SOCKET_HANDLE_NV                           0x324C
+#define LOCAL_EGL_SOCKET_TYPE_INET_NV                        0x324F
+#define LOCAL_EGL_SOCKET_TYPE_NV                             0x324D
+#define LOCAL_EGL_SOCKET_TYPE_UNIX_NV                        0x324E
 #define LOCAL_EGL_STENCIL_SIZE                               0x3026
 #define LOCAL_EGL_STREAM_BIT_KHR                             0x0800
+#define LOCAL_EGL_STREAM_CONSUMER_NV                         0x3248
+#define LOCAL_EGL_STREAM_CROSS_DISPLAY_NV                    0x334E
+#define LOCAL_EGL_STREAM_CROSS_OBJECT_NV                     0x334D
+#define LOCAL_EGL_STREAM_CROSS_PARTITION_NV                  0x323F
+#define LOCAL_EGL_STREAM_CROSS_PROCESS_NV                    0x3245
+#define LOCAL_EGL_STREAM_CROSS_SYSTEM_NV                     0x334F
+#define LOCAL_EGL_STREAM_ENDPOINT_NV                         0x3243
 #define LOCAL_EGL_STREAM_FIFO_LENGTH_KHR                     0x31FC
+#define LOCAL_EGL_STREAM_FIFO_SYNCHRONOUS_NV                 0x3336
+#define LOCAL_EGL_STREAM_LOCAL_NV                            0x3244
+#define LOCAL_EGL_STREAM_PRODUCER_NV                         0x3247
+#define LOCAL_EGL_STREAM_PROTOCOL_FD_NV                      0x3246
+#define LOCAL_EGL_STREAM_PROTOCOL_NV                         0x3242
+#define LOCAL_EGL_STREAM_PROTOCOL_SOCKET_NV                  0x324B
 #define LOCAL_EGL_STREAM_STATE_CONNECTING_KHR                0x3216
 #define LOCAL_EGL_STREAM_STATE_CREATED_KHR                   0x3215
 #define LOCAL_EGL_STREAM_STATE_DISCONNECTED_KHR              0x321A
 #define LOCAL_EGL_STREAM_STATE_EMPTY_KHR                     0x3217
+#define LOCAL_EGL_STREAM_STATE_INITIALIZING_NV               0x3240
 #define LOCAL_EGL_STREAM_STATE_KHR                           0x3214
 #define LOCAL_EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR       0x3218
 #define LOCAL_EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR       0x3219
 #define LOCAL_EGL_STREAM_TIME_CONSUMER_KHR                   0x31FE
 #define LOCAL_EGL_STREAM_TIME_NOW_KHR                        0x31FD
+#define LOCAL_EGL_STREAM_TIME_PENDING_NV                     0x332A
 #define LOCAL_EGL_STREAM_TIME_PRODUCER_KHR                   0x31FF
+#define LOCAL_EGL_STREAM_TYPE_NV                             0x3241
 #define LOCAL_EGL_SUCCESS                                    0x3000
+#define LOCAL_EGL_SUPPORT_RESET_NV                           0x3334
+#define LOCAL_EGL_SUPPORT_REUSE_NV                           0x3335
 #define LOCAL_EGL_SURFACE_TYPE                               0x3033
 #define LOCAL_EGL_SWAP_BEHAVIOR                              0x3093
 #define LOCAL_EGL_SWAP_BEHAVIOR_PRESERVED_BIT                0x0400
+#define LOCAL_EGL_SWAP_INTERVAL_EXT                          0x322F
+#define LOCAL_EGL_SYNC_CL_EVENT                              0x30FE
+#define LOCAL_EGL_SYNC_CL_EVENT_COMPLETE                     0x30FF
 #define LOCAL_EGL_SYNC_CL_EVENT_COMPLETE_KHR                 0x30FF
 #define LOCAL_EGL_SYNC_CL_EVENT_KHR                          0x30FE
+#define LOCAL_EGL_SYNC_CONDITION                             0x30F8
 #define LOCAL_EGL_SYNC_CONDITION_KHR                         0x30F8
 #define LOCAL_EGL_SYNC_CONDITION_NV                          0x30EE
+#define LOCAL_EGL_SYNC_CUDA_EVENT_COMPLETE_NV                0x323D
+#define LOCAL_EGL_SYNC_CUDA_EVENT_NV                         0x323C
+#define LOCAL_EGL_SYNC_FENCE                                 0x30F9
 #define LOCAL_EGL_SYNC_FENCE_KHR                             0x30F9
 #define LOCAL_EGL_SYNC_FENCE_NV                              0x30EF
+#define LOCAL_EGL_SYNC_FLUSH_COMMANDS_BIT                    0x0001
 #define LOCAL_EGL_SYNC_FLUSH_COMMANDS_BIT_KHR                0x0001
 #define LOCAL_EGL_SYNC_FLUSH_COMMANDS_BIT_NV                 0x0001
 #define LOCAL_EGL_SYNC_NATIVE_FENCE_ANDROID                  0x3144
 #define LOCAL_EGL_SYNC_NATIVE_FENCE_FD_ANDROID               0x3145
 #define LOCAL_EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID         0x3146
 #define LOCAL_EGL_SYNC_NEW_FRAME_NV                          0x321F
+#define LOCAL_EGL_SYNC_PRIOR_COMMANDS_COMPLETE               0x30F0
 #define LOCAL_EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR           0x30F0
 #define LOCAL_EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV            0x30E6
+#define LOCAL_EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM  0x328A
 #define LOCAL_EGL_SYNC_REUSABLE_KHR                          0x30FA
+#define LOCAL_EGL_SYNC_STATUS                                0x30F1
 #define LOCAL_EGL_SYNC_STATUS_KHR                            0x30F1
 #define LOCAL_EGL_SYNC_STATUS_NV                             0x30E7
+#define LOCAL_EGL_SYNC_TYPE                                  0x30F7
 #define LOCAL_EGL_SYNC_TYPE_KHR                              0x30F7
 #define LOCAL_EGL_SYNC_TYPE_NV                               0x30ED
 #define LOCAL_EGL_TEXTURE_2D                                 0x305F
 #define LOCAL_EGL_TEXTURE_FORMAT                             0x3080
 #define LOCAL_EGL_TEXTURE_RGB                                0x305D
 #define LOCAL_EGL_TEXTURE_RGBA                               0x305E
 #define LOCAL_EGL_TEXTURE_TARGET                             0x3081
+#define LOCAL_EGL_TIMEOUT_EXPIRED                            0x30F5
 #define LOCAL_EGL_TIMEOUT_EXPIRED_KHR                        0x30F5
 #define LOCAL_EGL_TIMEOUT_EXPIRED_NV                         0x30EB
+#define LOCAL_EGL_TRACK_REFERENCES_KHR                       0x3352
 #define LOCAL_EGL_TRANSPARENT_BLUE_VALUE                     0x3035
 #define LOCAL_EGL_TRANSPARENT_GREEN_VALUE                    0x3036
 #define LOCAL_EGL_TRANSPARENT_RED_VALUE                      0x3037
 #define LOCAL_EGL_TRANSPARENT_RGB                            0x3052
 #define LOCAL_EGL_TRANSPARENT_TYPE                           0x3034
 #define LOCAL_EGL_TRUE                                       1
-#define LOCAL_EGL_UNKNOWN                                    ((EGLint)-1)
+#define LOCAL_EGL_UNKNOWN                                    EGL_CAST(EGLint,-1)
+#define LOCAL_EGL_UNSIGNALED                                 0x30F3
 #define LOCAL_EGL_UNSIGNALED_KHR                             0x30F3
 #define LOCAL_EGL_UNSIGNALED_NV                              0x30E9
 #define LOCAL_EGL_UPPER_LEFT_KHR                             0x30CF
 #define LOCAL_EGL_VENDOR                                     0x3053
 #define LOCAL_EGL_VERSION                                    0x3054
 #define LOCAL_EGL_VERTICAL_RESOLUTION                        0x3091
 #define LOCAL_EGL_VG_ALPHA_FORMAT                            0x3088
 #define LOCAL_EGL_VG_ALPHA_FORMAT_NONPRE                     0x308B
@@ -5388,23 +6202,52 @@
 #define LOCAL_EGL_VG_COLORSPACE_LINEAR                       0x308A
 #define LOCAL_EGL_VG_COLORSPACE_LINEAR_BIT                   0x0020
 #define LOCAL_EGL_VG_COLORSPACE_LINEAR_BIT_KHR               0x0020
 #define LOCAL_EGL_VG_COLORSPACE_sRGB                         0x3089
 #define LOCAL_EGL_VG_PARENT_IMAGE_KHR                        0x30BA
 #define LOCAL_EGL_WIDTH                                      0x3057
 #define LOCAL_EGL_WINDOW_BIT                                 0x0004
 #define LOCAL_EGL_WRITE_SURFACE_BIT_KHR                      0x0002
+#define LOCAL_EGL_YUV_BUFFER_EXT                             0x3300
 #define LOCAL_EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT      0x327D
 #define LOCAL_EGL_YUV_CHROMA_SITING_0_5_EXT                  0x3285
 #define LOCAL_EGL_YUV_CHROMA_SITING_0_EXT                    0x3284
 #define LOCAL_EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT        0x327E
 #define LOCAL_EGL_YUV_COLOR_SPACE_HINT_EXT                   0x327B
+#define LOCAL_EGL_YUV_CSC_STANDARD_2020_EXT                  0x330D
+#define LOCAL_EGL_YUV_CSC_STANDARD_601_EXT                   0x330B
+#define LOCAL_EGL_YUV_CSC_STANDARD_709_EXT                   0x330C
+#define LOCAL_EGL_YUV_CSC_STANDARD_EXT                       0x330A
+#define LOCAL_EGL_YUV_DEPTH_RANGE_EXT                        0x3317
+#define LOCAL_EGL_YUV_DEPTH_RANGE_FULL_EXT                   0x3319
+#define LOCAL_EGL_YUV_DEPTH_RANGE_LIMITED_EXT                0x3318
 #define LOCAL_EGL_YUV_FULL_RANGE_EXT                         0x3282
 #define LOCAL_EGL_YUV_NARROW_RANGE_EXT                       0x3283
+#define LOCAL_EGL_YUV_NUMBER_OF_PLANES_EXT                   0x3311
+#define LOCAL_EGL_YUV_ORDER_AYUV_EXT                         0x3308
+#define LOCAL_EGL_YUV_ORDER_EXT                              0x3301
+#define LOCAL_EGL_YUV_ORDER_UYVY_EXT                         0x3305
+#define LOCAL_EGL_YUV_ORDER_VYUY_EXT                         0x3307
+#define LOCAL_EGL_YUV_ORDER_YUV_EXT                          0x3302
+#define LOCAL_EGL_YUV_ORDER_YUYV_EXT                         0x3304
+#define LOCAL_EGL_YUV_ORDER_YVU_EXT                          0x3303
+#define LOCAL_EGL_YUV_ORDER_YVYU_EXT                         0x3306
+#define LOCAL_EGL_YUV_PLANE0_TEXTURE_UNIT_NV                 0x332C
+#define LOCAL_EGL_YUV_PLANE1_TEXTURE_UNIT_NV                 0x332D
+#define LOCAL_EGL_YUV_PLANE2_TEXTURE_UNIT_NV                 0x332E
+#define LOCAL_EGL_YUV_PLANE_BPP_0_EXT                        0x331B
+#define LOCAL_EGL_YUV_PLANE_BPP_10_EXT                       0x331D
+#define LOCAL_EGL_YUV_PLANE_BPP_8_EXT                        0x331C
+#define LOCAL_EGL_YUV_PLANE_BPP_EXT                          0x331A
+#define LOCAL_EGL_YUV_SUBSAMPLE_4_2_0_EXT                    0x3313
+#define LOCAL_EGL_YUV_SUBSAMPLE_4_2_2_EXT                    0x3314
+#define LOCAL_EGL_YUV_SUBSAMPLE_4_4_4_EXT                    0x3315
+#define LOCAL_EGL_YUV_SUBSAMPLE_EXT                          0x3312
+#define LOCAL_EGL_Y_INVERTED_NOK                             0x307F
 
 
 // GLX
 #define LOCAL_GLX_3DFX_FULLSCREEN_MODE_MESA                  0x2
 #define LOCAL_GLX_3DFX_WINDOW_MODE_MESA                      0x1
 #define LOCAL_GLX_ACCUM_ALPHA_SIZE                           17
 #define LOCAL_GLX_ACCUM_BLUE_SIZE                            16
 #define LOCAL_GLX_ACCUM_BUFFER_BIT                           0x00000080
@@ -5462,17 +6305,21 @@
 #define LOCAL_GLX_CONTEXT_CORE_PROFILE_BIT_ARB               0x00000001
 #define LOCAL_GLX_CONTEXT_DEBUG_BIT_ARB                      0x00000001
 #define LOCAL_GLX_CONTEXT_ES2_PROFILE_BIT_EXT                0x00000004
 #define LOCAL_GLX_CONTEXT_ES_PROFILE_BIT_EXT                 0x00000004
 #define LOCAL_GLX_CONTEXT_FLAGS_ARB                          0x2094
 #define LOCAL_GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB         0x00000002
 #define LOCAL_GLX_CONTEXT_MAJOR_VERSION_ARB                  0x2091
 #define LOCAL_GLX_CONTEXT_MINOR_VERSION_ARB                  0x2092
+#define LOCAL_GLX_CONTEXT_OPENGL_NO_ERROR_ARB                0x31B3
 #define LOCAL_GLX_CONTEXT_PROFILE_MASK_ARB                   0x9126
+#define LOCAL_GLX_CONTEXT_RELEASE_BEHAVIOR_ARB               0x2097
+#define LOCAL_GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB         0x2098
+#define LOCAL_GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB          0
 #define LOCAL_GLX_CONTEXT_RESET_ISOLATION_BIT_ARB            0x00000008
 #define LOCAL_GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB    0x8256
 #define LOCAL_GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB              0x00000004
 #define LOCAL_GLX_COPY_COMPLETE_INTEL                        0x8181
 #define LOCAL_GLX_COVERAGE_SAMPLES_NV                        100001
 #define LOCAL_GLX_DAMAGED                                    0x8020
 #define LOCAL_GLX_DAMAGED_SGIX                               0x8020
 #define LOCAL_GLX_DEPTH_BUFFER_BIT                           0x00000020
@@ -5499,16 +6346,17 @@
 #define LOCAL_GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT               0x20B2
 #define LOCAL_GLX_FRONT_EXT                                  0x20DE
 #define LOCAL_GLX_FRONT_LEFT_BUFFER_BIT                      0x00000001
 #define LOCAL_GLX_FRONT_LEFT_BUFFER_BIT_SGIX                 0x00000001
 #define LOCAL_GLX_FRONT_LEFT_EXT                             0x20DE
 #define LOCAL_GLX_FRONT_RIGHT_BUFFER_BIT                     0x00000002
 #define LOCAL_GLX_FRONT_RIGHT_BUFFER_BIT_SGIX                0x00000002
 #define LOCAL_GLX_FRONT_RIGHT_EXT                            0x20DF
+#define LOCAL_GLX_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV    0x20F7
 #define LOCAL_GLX_GPU_CLOCK_AMD                              0x21A4
 #define LOCAL_GLX_GPU_FASTEST_TARGET_GPUS_AMD                0x21A2
 #define LOCAL_GLX_GPU_NUM_PIPES_AMD                          0x21A5
 #define LOCAL_GLX_GPU_NUM_RB_AMD                             0x21A7
 #define LOCAL_GLX_GPU_NUM_SIMD_AMD                           0x21A6
 #define LOCAL_GLX_GPU_NUM_SPI_AMD                            0x21A8
 #define LOCAL_GLX_GPU_OPENGL_VERSION_STRING_AMD              0x1F02
 #define LOCAL_GLX_GPU_RAM_AMD                                0x21A3
@@ -5562,16 +6410,28 @@
 #define LOCAL_GLX_PIXMAP_BIT                                 0x00000002
 #define LOCAL_GLX_PIXMAP_BIT_SGIX                            0x00000002
 #define LOCAL_GLX_PRESERVED_CONTENTS                         0x801B
 #define LOCAL_GLX_PRESERVED_CONTENTS_SGIX                    0x801B
 #define LOCAL_GLX_PSEUDO_COLOR                               0x8004
 #define LOCAL_GLX_PSEUDO_COLOR_EXT                           0x8004
 #define LOCAL_GLX_PbufferClobber                             0
 #define LOCAL_GLX_RED_SIZE                                   8
+#define LOCAL_GLX_RENDERER_ACCELERATED_MESA                  0x8186
+#define LOCAL_GLX_RENDERER_DEVICE_ID_MESA                    0x8184
+#define LOCAL_GLX_RENDERER_ID_MESA                           0x818E
+#define LOCAL_GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA 0x818B
+#define LOCAL_GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA  0x818A
+#define LOCAL_GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA   0x818D
+#define LOCAL_GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA    0x818C
+#define LOCAL_GLX_RENDERER_PREFERRED_PROFILE_MESA            0x8189
+#define LOCAL_GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA  0x8188
+#define LOCAL_GLX_RENDERER_VENDOR_ID_MESA                    0x8183
+#define LOCAL_GLX_RENDERER_VERSION_MESA                      0x8185
+#define LOCAL_GLX_RENDERER_VIDEO_MEMORY_MESA                 0x8187
 #define LOCAL_GLX_RENDER_TYPE                                0x8011
 #define LOCAL_GLX_RENDER_TYPE_SGIX                           0x8011
 #define LOCAL_GLX_RGBA                                       4
 #define LOCAL_GLX_RGBA_BIT                                   0x00000001
 #define LOCAL_GLX_RGBA_BIT_SGIX                              0x00000001
 #define LOCAL_GLX_RGBA_FLOAT_BIT_ARB                         0x00000004
 #define LOCAL_GLX_RGBA_FLOAT_TYPE_ARB                        0x20B9
 #define LOCAL_GLX_RGBA_TYPE                                  0x8014
@@ -5597,16 +6457,19 @@
 #define LOCAL_GLX_STATIC_COLOR                               0x8005
 #define LOCAL_GLX_STATIC_COLOR_EXT                           0x8005
 #define LOCAL_GLX_STATIC_GRAY                                0x8007
 #define LOCAL_GLX_STATIC_GRAY_EXT                            0x8007
 #define LOCAL_GLX_STENCIL_BUFFER_BIT                         0x00000040
 #define LOCAL_GLX_STENCIL_BUFFER_BIT_SGIX                    0x00000040
 #define LOCAL_GLX_STENCIL_SIZE                               13
 #define LOCAL_GLX_STEREO                                     6
+#define LOCAL_GLX_STEREO_NOTIFY_EXT                          0x00000000
+#define LOCAL_GLX_STEREO_NOTIFY_MASK_EXT                     0x00000001
+#define LOCAL_GLX_STEREO_TREE_EXT                            0x20F5
 #define LOCAL_GLX_SWAP_COPY_OML                              0x8062
 #define LOCAL_GLX_SWAP_EXCHANGE_OML                          0x8061
 #define LOCAL_GLX_SWAP_INTERVAL_EXT                          0x20F1
 #define LOCAL_GLX_SWAP_METHOD_OML                            0x8060
 #define LOCAL_GLX_SWAP_UNDEFINED_OML                         0x8063
 #define LOCAL_GLX_SYNC_FRAME_SGIX                            0x00000000
 #define LOCAL_GLX_SYNC_SWAP_SGIX                             0x00000001
 #define LOCAL_GLX_TEXTURE_1D_BIT_EXT                         0x00000001
@@ -5636,16 +6499,17 @@
 #define LOCAL_GLX_TRANSPARENT_RGB_EXT                        0x8008
 #define LOCAL_GLX_TRANSPARENT_TYPE                           0x23
 #define LOCAL_GLX_TRANSPARENT_TYPE_EXT                       0x23
 #define LOCAL_GLX_TRUE_COLOR                                 0x8002
 #define LOCAL_GLX_TRUE_COLOR_EXT                             0x8002
 #define LOCAL_GLX_UNIQUE_ID_NV                               0x20CE
 #define LOCAL_GLX_USE_GL                                     1
 #define LOCAL_GLX_VENDOR                                     0x1
+#define LOCAL_GLX_VENDOR_NAMES_EXT                           0x20F6
 #define LOCAL_GLX_VERSION                                    0x2
 #define LOCAL_GLX_VIDEO_OUT_ALPHA_NV                         0x20C4
 #define LOCAL_GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV               0x20C6
 #define LOCAL_GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV               0x20C7
 #define LOCAL_GLX_VIDEO_OUT_COLOR_NV                         0x20C3
 #define LOCAL_GLX_VIDEO_OUT_DEPTH_NV                         0x20C5
 #define LOCAL_GLX_VIDEO_OUT_FIELD_1_NV                       0x20C9
 #define LOCAL_GLX_VIDEO_OUT_FIELD_2_NV                       0x20CA
@@ -5663,16 +6527,17 @@
 #define LOCAL_GLX_WINDOW_BIT_SGIX                            0x00000001
 #define LOCAL_GLX_WINDOW_SGIX                                0x8022
 #define LOCAL_GLX_X_RENDERABLE                               0x8012
 #define LOCAL_GLX_X_RENDERABLE_SGIX                          0x8012
 #define LOCAL_GLX_X_VISUAL_TYPE                              0x22
 #define LOCAL_GLX_X_VISUAL_TYPE_EXT                          0x22
 #define LOCAL_GLX_Y_INVERTED_EXT                             0x20D4
 
+
 // WGL
 #define LOCAL_WGL_ACCELERATION_ARB                           0x2003
 #define LOCAL_WGL_ACCELERATION_EXT                           0x2003
 #define LOCAL_WGL_ACCESS_READ_ONLY_NV                        0x00000000
 #define LOCAL_WGL_ACCESS_READ_WRITE_NV                       0x00000001
 #define LOCAL_WGL_ACCESS_WRITE_DISCARD_NV                    0x00000002
 #define LOCAL_WGL_ACCUM_ALPHA_BITS_ARB                       0x2021
 #define LOCAL_WGL_ACCUM_ALPHA_BITS_EXT                       0x2021
@@ -5715,30 +6580,37 @@
 #define LOCAL_WGL_BIND_TO_TEXTURE_RGB_ARB                    0x2070
 #define LOCAL_WGL_BIND_TO_VIDEO_RGBA_NV                      0x20C1
 #define LOCAL_WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV             0x20C2
 #define LOCAL_WGL_BIND_TO_VIDEO_RGB_NV                       0x20C0
 #define LOCAL_WGL_BLUE_BITS_ARB                              0x2019
 #define LOCAL_WGL_BLUE_BITS_EXT                              0x2019
 #define LOCAL_WGL_BLUE_SHIFT_ARB                             0x201A
 #define LOCAL_WGL_BLUE_SHIFT_EXT                             0x201A
+#define LOCAL_WGL_COLORSPACE_EXT                             0x3087
+#define LOCAL_WGL_COLORSPACE_LINEAR_EXT                      0x308A
+#define LOCAL_WGL_COLORSPACE_SRGB_EXT                        0x3089
 #define LOCAL_WGL_COLOR_BITS_ARB                             0x2014
 #define LOCAL_WGL_COLOR_BITS_EXT                             0x2014
 #define LOCAL_WGL_COLOR_SAMPLES_NV                           0x20B9
 #define LOCAL_WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB      0x00000002
 #define LOCAL_WGL_CONTEXT_CORE_PROFILE_BIT_ARB               0x00000001
 #define LOCAL_WGL_CONTEXT_DEBUG_BIT_ARB                      0x00000001
 #define LOCAL_WGL_CONTEXT_ES2_PROFILE_BIT_EXT                0x00000004
 #define LOCAL_WGL_CONTEXT_ES_PROFILE_BIT_EXT                 0x00000004
 #define LOCAL_WGL_CONTEXT_FLAGS_ARB                          0x2094
 #define LOCAL_WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB         0x00000002
 #define LOCAL_WGL_CONTEXT_LAYER_PLANE_ARB                    0x2093
 #define LOCAL_WGL_CONTEXT_MAJOR_VERSION_ARB                  0x2091
 #define LOCAL_WGL_CONTEXT_MINOR_VERSION_ARB                  0x2092
+#define LOCAL_WGL_CONTEXT_OPENGL_NO_ERROR_ARB                0x31B3
 #define LOCAL_WGL_CONTEXT_PROFILE_MASK_ARB                   0x9126
+#define LOCAL_WGL_CONTEXT_RELEASE_BEHAVIOR_ARB               0x2097
+#define LOCAL_WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB         0x2098
+#define LOCAL_WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB          0
 #define LOCAL_WGL_CONTEXT_RESET_ISOLATION_BIT_ARB            0x00000008
 #define LOCAL_WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB    0x8256
 #define LOCAL_WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB              0x00000004
 #define LOCAL_WGL_COVERAGE_SAMPLES_NV                        0x2042
 #define LOCAL_WGL_CUBE_MAP_FACE_ARB                          0x207C
 #define LOCAL_WGL_DEPTH_BITS_ARB                             0x2022
 #define LOCAL_WGL_DEPTH_BITS_EXT                             0x2022
 #define LOCAL_WGL_DEPTH_BUFFER_BIT_ARB                       0x00000004
@@ -5943,9 +6815,11 @@
 #define LOCAL_WGL_VIDEO_OUT_COLOR_NV                         0x20C3
 #define LOCAL_WGL_VIDEO_OUT_DEPTH_NV                         0x20C5
 #define LOCAL_WGL_VIDEO_OUT_FIELD_1                          0x20C9
 #define LOCAL_WGL_VIDEO_OUT_FIELD_2                          0x20CA
 #define LOCAL_WGL_VIDEO_OUT_FRAME                            0x20C8
 #define LOCAL_WGL_VIDEO_OUT_STACKED_FIELDS_1_2               0x20CB
 #define LOCAL_WGL_VIDEO_OUT_STACKED_FIELDS_2_1               0x20CC
 
+
+
 #endif // GLCONSTS_H_
--- a/gfx/gl/GLDefs.h
+++ b/gfx/gl/GLDefs.h
@@ -4,46 +4,27 @@
 
 #if !defined(LOCALGL_H_)
 #define LOCALGL_H_
 
 #include "GLTypes.h"
 #include "GLConsts.h"
 
 // TODO: use official constant names instead of followed ones.
+
 // IMG_texture_compression_pvrtc
 #define LOCAL_GL_COMPRESSED_RGB_PVRTC_4BPPV1            0x8C00
 #define LOCAL_GL_COMPRESSED_RGB_PVRTC_2BPPV1            0x8C01
 #define LOCAL_GL_COMPRESSED_RGBA_PVRTC_4BPPV1           0x8C02
 #define LOCAL_GL_COMPRESSED_RGBA_PVRTC_2BPPV1           0x8C03
 
 // OES_EGL_image_external
 #define LOCAL_GL_TEXTURE_EXTERNAL                       0x8D65
 #define LOCAL_GL_TEXTURE_BINDING_EXTERNAL               0x8D67
 
-// EGL_KHR_fence_sync
-#define LOCAL_EGL_SYNC_FENCE                            0x30F9
-#define LOCAL_EGL_SYNC_TYPE                             0x30F7
-#define LOCAL_EGL_SYNC_STATUS                           0x30F1
-#define LOCAL_EGL_SYNC_CONDITION                        0x30F8
-#define LOCAL_EGL_SIGNALED                              0x30F2
-#define LOCAL_EGL_UNSIGNALED                            0x30F3
-#define LOCAL_EGL_SYNC_PRIOR_COMMANDS_COMPLETE          0x30F0
-#define LOCAL_EGL_SYNC_FLUSH_COMMANDS_BIT               0x0001
-#define LOCAL_EGL_FOREVER                               0xFFFFFFFFFFFFFFFFull
-#define LOCAL_EGL_TIMEOUT_EXPIRED                       0x30F5
-#define LOCAL_EGL_CONDITION_SATISFIED                   0x30F6
-#define LOCAL_EGL_SUCCESS                               0x3000
-
-// EGL_KHR_gl_texture_2D_image
-#define LOCAL_EGL_GL_TEXTURE_2D                         0x30B1
-
-// EGL_KHR_image_base (not supplied by EGL_KHR_image!)
-#define LOCAL_EGL_IMAGE_PRESERVED                       0x30D2
-
 // AMD_compressed_ATC_texture
 #define LOCAL_GL_ATC_RGB                                0x8C92
 #define LOCAL_GL_ATC_RGBA_EXPLICIT_ALPHA                0x8C93
 #define LOCAL_GL_ATC_RGBA_INTERPOLATED_ALPHA            0x87EE
 
 // EGL_ANDROID_image_crop
 #define LOCAL_EGL_IMAGE_CROP_LEFT_ANDROID               0x3148
 #define LOCAL_EGL_IMAGE_CROP_TOP_ANDROID                0x3149
@@ -52,16 +33,22 @@
 
 // EGL_ANGLE_platform_angle
 #define LOCAL_EGL_PLATFORM_ANGLE_ANGLE                      0x3202
 #define LOCAL_EGL_PLATFORM_ANGLE_TYPE_ANGLE                 0x3203
 #define LOCAL_EGL_PLATFORM_ANGLE_MAX_VERSION_MAJOR_ANGLE    0x3204
 #define LOCAL_EGL_PLATFORM_ANGLE_MAX_VERSION_MINOR_ANGLE    0x3205
 #define LOCAL_EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE         0x3206
 
+// EGL_ANGLE_keyed_mutex
+#define LOCAL_EGL_DXGI_KEYED_MUTEX_ANGLE                     0x33A2
+
+// EGL_ANGLE_stream_producer_d3d_texture_nv12
+#define LOCAL_EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE           0x33AB
+
 // EGL_ANGLE_platform_angle_d3d
 #define LOCAL_EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE              0x3207
 #define LOCAL_EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE             0x3208
 #define LOCAL_EGL_PLATFORM_ANGLE_DEVICE_TYPE_ANGLE            0x3209
 #define LOCAL_EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE   0x320A
 #define LOCAL_EGL_PLATFORM_ANGLE_DEVICE_TYPE_WARP_ANGLE       0x320B
 #define LOCAL_EGL_PLATFORM_ANGLE_DEVICE_TYPE_REFERENCE_ANGLE  0x320C
 #define LOCAL_EGL_PLATFORM_ANGLE_ENABLE_AUTOMATIC_TRIM_ANGLE  0x320F
@@ -70,24 +57,17 @@
 #define LOCAL_EGL_D3D11_ELSE_D3D9_DISPLAY_ANGLE         ((EGLNativeDisplayType)-2)
 #define LOCAL_EGL_D3D11_ONLY_DISPLAY_ANGLE              ((EGLNativeDisplayType)-3)
 
 // WGL_NV_DX_interop
 #define LOCAL_WGL_ACCESS_READ_ONLY                      0x0000
 #define LOCAL_WGL_ACCESS_READ_WRITE                     0x0001
 #define LOCAL_WGL_ACCESS_WRITE_DISCARD                  0x0002
 
-// GL_KHR_robustness
-#define LOCAL_GL_CONTEXT_ROBUST_ACCESS                  0x90F3
-
 // Others
 #define LOCAL_EGL_PRESERVED_RESOURCES                   0x3030
 #define LOCAL_EGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_EXT 0x3138
-#define LOCAL_GL_RESET_NOTIFICATION_STRATEGY            0x8256
-#define LOCAL_GL_LOSE_CONTEXT_ON_RESET                  0x8252
-#define LOCAL_GL_NO_RESET_NOTIFICATION                  0x8261
-#define LOCAL_GL_CONTEXT_LOST                           0x9242
 #define LOCAL_GL_CONTEXT_FLAGS_ARB                      0x2094
 #define LOCAL_GL_CONTEXT_CORE_PROFILE_BIT_ARB           0x00000001
 #define LOCAL_GL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB  0x00000002
 #define LOCAL_GL_CONTEXT_ROBUST_ACCESS_BIT_ARB          0x00000004
 
 #endif