Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h

Issue 247283005: Update GPU command buffer auto formatting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Remove mojo/ change. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
11 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 11 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
12 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 12 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
13 13
14 static const GLES2Util::EnumToString enum_to_string_table[] = { 14 static const GLES2Util::EnumToString enum_to_string_table[] = {
15 {0x78EC, "GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM", }, 15 {
16 {0x8825, "GL_DRAW_BUFFER0_EXT", }, 16 0x78EC, "GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM",
17 {0x0BC1, "GL_ALPHA_TEST_FUNC_QCOM", }, 17 },
18 {0x884C, "GL_TEXTURE_COMPARE_MODE_EXT", }, 18 {
19 {0x0BC2, "GL_ALPHA_TEST_REF_QCOM", }, 19 0x8825, "GL_DRAW_BUFFER0_EXT",
20 {0x884D, "GL_TEXTURE_COMPARE_FUNC_EXT", }, 20 },
21 {0x884E, "GL_COMPARE_REF_TO_TEXTURE_EXT", }, 21 {
22 {0x93A1, "GL_BGRA8_EXT", }, 22 0x0BC1, "GL_ALPHA_TEST_FUNC_QCOM",
23 {0, "GL_FALSE", }, 23 },
24 {0x00400000, "GL_STENCIL_BUFFER_BIT6_QCOM", }, 24 {
25 {0x9138, "GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG", }, 25 0x884C, "GL_TEXTURE_COMPARE_MODE_EXT",
26 {0x8FC4, "GL_SHADER_BINARY_VIV", }, 26 },
27 {0x9130, "GL_SGX_PROGRAM_BINARY_IMG", }, 27 {
28 {0x9133, "GL_RENDERBUFFER_SAMPLES_IMG", }, 28 0x0BC2, "GL_ALPHA_TEST_REF_QCOM",
29 {0x82E0, "GL_BUFFER_KHR", }, 29 },
30 {0x9135, "GL_MAX_SAMPLES_IMG", }, 30 {
31 {0x9134, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG", }, 31 0x884D, "GL_TEXTURE_COMPARE_FUNC_EXT",
32 {0x9137, "GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG", }, 32 },
33 {0x9136, "GL_TEXTURE_SAMPLES_IMG", }, 33 {
34 {0x00000020, "GL_COLOR_BUFFER_BIT5_QCOM", }, 34 0x884E, "GL_COMPARE_REF_TO_TEXTURE_EXT",
35 {0x0008, "GL_MAP_INVALIDATE_BUFFER_BIT_EXT", }, 35 },
36 {0x0BC0, "GL_ALPHA_TEST_QCOM", }, 36 {
37 {0x0006, "GL_TRIANGLE_FAN", }, 37 0x93A1, "GL_BGRA8_EXT",
38 {0x0004, "GL_TRIANGLES", }, 38 },
39 {0x0005, "GL_TRIANGLE_STRIP", }, 39 {
40 {0x0002, "GL_LINE_LOOP", }, 40 0, "GL_FALSE",
41 {0x0003, "GL_LINE_STRIP", }, 41 },
42 {0x0000, "GL_POINTS", }, 42 {
43 {0x0001, "GL_LINES", }, 43 0x00400000, "GL_STENCIL_BUFFER_BIT6_QCOM",
44 {0x78F0, "GL_IMAGE_ROWBYTES_CHROMIUM", }, 44 },
45 {0x88B8, "GL_READ_ONLY", }, 45 {
46 {0x88B9, "GL_WRITE_ONLY_OES", }, 46 0x9138, "GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG",
47 {0x8211, "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT", }, 47 },
48 {0x8210, "GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT", }, 48 {
49 {0x8741, "GL_PROGRAM_BINARY_LENGTH_OES", }, 49 0x8FC4, "GL_SHADER_BINARY_VIV",
50 {0x8740, "GL_Z400_BINARY_AMD", }, 50 },
51 {0x8192, "GL_GENERATE_MIPMAP_HINT", }, 51 {
52 {0x8A54, "GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT", }, 52 0x9130, "GL_SGX_PROGRAM_BINARY_IMG",
53 {0x8A55, "GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT", }, 53 },
54 {0x8A56, "GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT", }, 54 {
55 {0x8A57, "GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT", }, 55 0x9133, "GL_RENDERBUFFER_SAMPLES_IMG",
56 {0x8A51, "GL_RGB_RAW_422_APPLE", }, 56 },
57 {0x87F9, "GL_3DC_X_AMD", }, 57 {
58 {0x8A53, "GL_SYNC_OBJECT_APPLE", }, 58 0x82E0, "GL_BUFFER_KHR",
59 {0x8DF8, "GL_SHADER_BINARY_FORMATS", }, 59 },
60 {0x8DF9, "GL_NUM_SHADER_BINARY_FORMATS", }, 60 {
61 {0x826D, "GL_DEBUG_GROUP_STACK_DEPTH_KHR", }, 61 0x9135, "GL_MAX_SAMPLES_IMG",
62 {0x826B, "GL_DEBUG_SEVERITY_NOTIFICATION_KHR", }, 62 },
63 {0x826C, "GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR", }, 63 {
64 {0x8B59, "GL_BOOL_VEC4", }, 64 0x9134, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG",
65 {0x826A, "GL_DEBUG_TYPE_POP_GROUP_KHR", }, 65 },
66 {0x8B57, "GL_BOOL_VEC2", }, 66 {
67 {0x8DF1, "GL_MEDIUM_FLOAT", }, 67 0x9137, "GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG",
68 {0x8B55, "GL_INT_VEC4", }, 68 },
69 {0x8B54, "GL_INT_VEC3", }, 69 {
70 {0x8DF4, "GL_MEDIUM_INT", }, 70 0x9136, "GL_TEXTURE_SAMPLES_IMG",
71 {0x8DF5, "GL_HIGH_INT", }, 71 },
72 {0x8B51, "GL_FLOAT_VEC3", }, 72 {
73 {0x8B50, "GL_FLOAT_VEC2", }, 73 0x00000020, "GL_COLOR_BUFFER_BIT5_QCOM",
74 {0x806F, "GL_TEXTURE_3D_OES", }, 74 },
75 {0x92E0, "GL_DEBUG_OUTPUT_KHR", }, 75 {
76 {0x806A, "GL_TEXTURE_BINDING_3D_OES", }, 76 0x0008, "GL_MAP_INVALIDATE_BUFFER_BIT_EXT",
77 {0x8CE3, "GL_COLOR_ATTACHMENT3_EXT", }, 77 },
78 {0x1904, "GL_GREEN_NV", }, 78 {
79 {0x928D, "GL_DST_OUT_NV", }, 79 0x0BC0, "GL_ALPHA_TEST_QCOM",
80 {0x8069, "GL_TEXTURE_BINDING_2D", }, 80 },
81 {0x8261, "GL_NO_RESET_NOTIFICATION_EXT", }, 81 {
82 {0x8DFA, "GL_SHADER_COMPILER", }, 82 0x0006, "GL_TRIANGLE_FAN",
83 {0x8DFB, "GL_MAX_VERTEX_UNIFORM_VECTORS", }, 83 },
84 {0x8DFC, "GL_MAX_VARYING_VECTORS", }, 84 {
85 {0x8B5C, "GL_FLOAT_MAT4", }, 85 0x0004, "GL_TRIANGLES",
86 {0x8B5B, "GL_FLOAT_MAT3", }, 86 },
87 {0x8268, "GL_DEBUG_TYPE_MARKER_KHR", }, 87 {
88 {0x8269, "GL_DEBUG_TYPE_PUSH_GROUP_KHR", }, 88 0x0005, "GL_TRIANGLE_STRIP",
89 {0x1905, "GL_BLUE_NV", }, 89 },
90 {0x87FF, "GL_PROGRAM_BINARY_FORMATS_OES", }, 90 {
91 {0x87FE, "GL_NUM_PROGRAM_BINARY_FORMATS_OES", }, 91 0x0002, "GL_LINE_LOOP",
92 {0x2600, "GL_NEAREST", }, 92 },
93 {0x2601, "GL_LINEAR", }, 93 {
94 {0x8C03, "GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG", }, 94 0x0003, "GL_LINE_STRIP",
95 {0x9242, "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM", }, 95 },
96 {0x88BA, "GL_READ_WRITE", }, 96 {
97 {0x88BB, "GL_BUFFER_ACCESS_OES", }, 97 0x0000, "GL_POINTS",
98 {0x88BC, "GL_BUFFER_MAPPED_OES", }, 98 },
99 {0x88BD, "GL_BUFFER_MAP_POINTER_OES", }, 99 {
100 {0x88BF, "GL_TIME_ELAPSED_EXT", }, 100 0x0001, "GL_LINES",
101 {0x0C10, "GL_SCISSOR_BOX", }, 101 },
102 {0x0C11, "GL_SCISSOR_TEST", }, 102 {
103 {0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM", }, 103 0x78F0, "GL_IMAGE_ROWBYTES_CHROMIUM",
104 {0x8A48, "GL_TEXTURE_SRGB_DECODE_EXT", }, 104 },
105 {0x300E, "GL_CONTEXT_LOST", }, 105 {
106 {0x02000000, "GL_MULTISAMPLE_BUFFER_BIT1_QCOM", }, 106 0x88B8, "GL_READ_ONLY",
107 {0x8C2F, "GL_ANY_SAMPLES_PASSED_EXT", }, 107 },
108 {0x8BD2, "GL_TEXTURE_WIDTH_QCOM", }, 108 {
109 {0x8BD3, "GL_TEXTURE_HEIGHT_QCOM", }, 109 0x88B9, "GL_WRITE_ONLY_OES",
110 {0x8BD4, "GL_TEXTURE_DEPTH_QCOM", }, 110 },
111 {0x8BD5, "GL_TEXTURE_INTERNAL_FORMAT_QCOM", }, 111 {
112 {0x8BD6, "GL_TEXTURE_FORMAT_QCOM", }, 112 0x8211, "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT",
113 {0x8BD7, "GL_TEXTURE_TYPE_QCOM", }, 113 },
114 {0x8B8D, "GL_CURRENT_PROGRAM", }, 114 {
115 {0x8BD9, "GL_TEXTURE_NUM_LEVELS_QCOM", }, 115 0x8210, "GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT",
116 {0x00200000, "GL_STENCIL_BUFFER_BIT5_QCOM", }, 116 },
117 {0x8B8A, "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH", }, 117 {
118 {0x8B8B, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES", }, 118 0x8741, "GL_PROGRAM_BINARY_LENGTH_OES",
119 {0x8B8C, "GL_SHADING_LANGUAGE_VERSION", }, 119 },
120 {0x8BDA, "GL_TEXTURE_TARGET_QCOM", }, 120 {
121 {0x8BDB, "GL_TEXTURE_OBJECT_VALID_QCOM", }, 121 0x8740, "GL_Z400_BINARY_AMD",
122 {0x8BDC, "GL_STATE_RESTORE", }, 122 },
123 {0x8B88, "GL_SHADER_SOURCE_LENGTH", }, 123 {
124 {0x8B89, "GL_ACTIVE_ATTRIBUTES", }, 124 0x8192, "GL_GENERATE_MIPMAP_HINT",
125 {0x93C9, "GL_COMPRESSED_RGBA_ASTC_6x6x6_OES", }, 125 },
126 {0x93C8, "GL_COMPRESSED_RGBA_ASTC_6x6x5_OES", }, 126 {
127 {0x8B84, "GL_INFO_LOG_LENGTH", }, 127 0x8A54, "GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT",
128 {0x8B85, "GL_ATTACHED_SHADERS", }, 128 },
129 {0x8B86, "GL_ACTIVE_UNIFORMS", }, 129 {
130 {0x8B87, "GL_ACTIVE_UNIFORM_MAX_LENGTH", }, 130 0x8A55, "GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT",
131 {0x8B80, "GL_DELETE_STATUS", }, 131 },
132 {0x8B81, "GL_COMPILE_STATUS", }, 132 {
133 {0x8B82, "GL_LINK_STATUS", }, 133 0x8A56, "GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT",
134 {0x8B83, "GL_VALIDATE_STATUS", }, 134 },
135 {0x8D48, "GL_STENCIL_INDEX8", }, 135 {
136 {0x8D46, "GL_STENCIL_INDEX1_OES", }, 136 0x8A57, "GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT",
137 {0x8D47, "GL_STENCIL_INDEX4_OES", }, 137 },
138 {0x8D44, "GL_RENDERBUFFER_INTERNAL_FORMAT", }, 138 {
139 {0x00000100, "GL_DEPTH_BUFFER_BIT", }, 139 0x8A51, "GL_RGB_RAW_422_APPLE",
140 {0x8D42, "GL_RENDERBUFFER_WIDTH", }, 140 },
141 {0x8D43, "GL_RENDERBUFFER_HEIGHT", }, 141 {
142 {0x8D40, "GL_FRAMEBUFFER", }, 142 0x87F9, "GL_3DC_X_AMD",
143 {0x8D41, "GL_RENDERBUFFER", }, 143 },
144 {0x0BD0, "GL_DITHER", }, 144 {
145 {0x93D3, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR", }, 145 0x8A53, "GL_SYNC_OBJECT_APPLE",
146 {0x1801, "GL_DEPTH_EXT", }, 146 },
147 {0x1800, "GL_COLOR_EXT", }, 147 {
148 {0x1802, "GL_STENCIL_EXT", }, 148 0x8DF8, "GL_SHADER_BINARY_FORMATS",
149 {0x0B21, "GL_LINE_WIDTH", }, 149 },
150 {0x81A5, "GL_DEPTH_COMPONENT16", }, 150 {
151 {0x81A6, "GL_DEPTH_COMPONENT24_OES", }, 151 0x8DF9, "GL_NUM_SHADER_BINARY_FORMATS",
152 {0x81A7, "GL_DEPTH_COMPONENT32_OES", }, 152 },
153 {0x88FE, "GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE", }, 153 {
154 {0x8B6A, "GL_FLOAT_MAT4x3_NV", }, 154 0x826D, "GL_DEBUG_GROUP_STACK_DEPTH_KHR",
155 {0x93D0, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR", }, 155 },
156 {0x9143, "GL_MAX_DEBUG_MESSAGE_LENGTH_KHR", }, 156 {
157 {0x9144, "GL_MAX_DEBUG_LOGGED_MESSAGES_KHR", }, 157 0x826B, "GL_DEBUG_SEVERITY_NOTIFICATION_KHR",
158 {0x9145, "GL_DEBUG_LOGGED_MESSAGES_KHR", }, 158 },
159 {0x9146, "GL_DEBUG_SEVERITY_HIGH_KHR", }, 159 {
160 {0x9147, "GL_DEBUG_SEVERITY_MEDIUM_KHR", }, 160 0x826C, "GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR",
161 {0x9148, "GL_DEBUG_SEVERITY_LOW_KHR", }, 161 },
162 {0x9260, "GL_GCCSO_SHADER_BINARY_FJ", }, 162 {
163 {0x8F60, "GL_MALI_SHADER_BINARY_ARM", }, 163 0x8B59, "GL_BOOL_VEC4",
164 {0x8F61, "GL_MALI_PROGRAM_BINARY_ARM", }, 164 },
165 {0x87EE, "GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD", }, 165 {
166 {0x822B, "GL_RG8_EXT", }, 166 0x826A, "GL_DEBUG_TYPE_POP_GROUP_KHR",
167 {0x822F, "GL_RG16F_EXT", }, 167 },
168 {0x822D, "GL_R16F_EXT", }, 168 {
169 {0x822E, "GL_R32F_EXT", }, 169 0x8B57, "GL_BOOL_VEC2",
170 {1, "GL_ES_VERSION_2_0", }, 170 },
171 {0x84F9, "GL_DEPTH_STENCIL_OES", }, 171 {
172 {0x8368, "GL_UNSIGNED_INT_2_10_10_10_REV_EXT", }, 172 0x8DF1, "GL_MEDIUM_FLOAT",
173 {0x8819, "GL_LUMINANCE_ALPHA32F_EXT", }, 173 },
174 {0x8818, "GL_LUMINANCE32F_EXT", }, 174 {
175 {0x8363, "GL_UNSIGNED_SHORT_5_6_5", }, 175 0x8B55, "GL_INT_VEC4",
176 {0x8814, "GL_RGBA32F_EXT", }, 176 },
177 {0x84F2, "GL_ALL_COMPLETED_NV", }, 177 {
178 {0x8816, "GL_ALPHA32F_EXT", }, 178 0x8B54, "GL_INT_VEC3",
179 {0x84F4, "GL_FENCE_CONDITION_NV", }, 179 },
180 {0x8366, "GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT", }, 180 {
181 {0x8365, "GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT", }, 181 0x8DF4, "GL_MEDIUM_INT",
182 {0x84F7, "GL_COMMANDS_COMPLETED_CHROMIUM", }, 182 },
183 {0x881E, "GL_LUMINANCE16F_EXT", }, 183 {
184 {0x84FA, "GL_UNSIGNED_INT_24_8_OES", }, 184 0x8DF5, "GL_HIGH_INT",
185 {0x881F, "GL_LUMINANCE_ALPHA16F_EXT", }, 185 },
186 {0x881A, "GL_RGBA16F_EXT", }, 186 {
187 {0x84FE, "GL_TEXTURE_MAX_ANISOTROPY_EXT", }, 187 0x8B51, "GL_FLOAT_VEC3",
188 {0x0901, "GL_CCW", }, 188 },
189 {0x0900, "GL_CW", }, 189 {
190 {0x8229, "GL_R8_EXT", }, 190 0x8B50, "GL_FLOAT_VEC2",
191 {0x9283, "GL_DISJOINT_NV", }, 191 },
192 {0x8227, "GL_RG_EXT", }, 192 {
193 {0x8B66, "GL_FLOAT_MAT2x4_NV", }, 193 0x806F, "GL_TEXTURE_3D_OES",
194 {0x8B67, "GL_FLOAT_MAT3x2_NV", }, 194 },
195 {0x8B65, "GL_FLOAT_MAT2x3_NV", }, 195 {
196 {0x8B62, "GL_SAMPLER_2D_SHADOW_EXT", }, 196 0x92E0, "GL_DEBUG_OUTPUT_KHR",
197 {0x8B63, "GL_SAMPLER_2D_RECT_ARB", }, 197 },
198 {0x8B60, "GL_SAMPLER_CUBE", }, 198 {
199 {0x00001000, "GL_DEPTH_BUFFER_BIT4_QCOM", }, 199 0x806A, "GL_TEXTURE_BINDING_3D_OES",
200 {0x8B68, "GL_FLOAT_MAT3x4_NV", }, 200 },
201 {0x83F0, "GL_COMPRESSED_RGB_S3TC_DXT1_EXT", }, 201 {
202 {0x00000080, "GL_COLOR_BUFFER_BIT7_QCOM", }, 202 0x8CE3, "GL_COLOR_ATTACHMENT3_EXT",
203 {0x88F0, "GL_DEPTH24_STENCIL8_OES", }, 203 },
204 {0x80A0, "GL_SAMPLE_COVERAGE", }, 204 {
205 {0x928F, "GL_DST_ATOP_NV", }, 205 0x1904, "GL_GREEN_NV",
206 {0x80A9, "GL_SAMPLES", }, 206 },
207 {0x80A8, "GL_SAMPLE_BUFFERS", }, 207 {
208 {0x0D55, "GL_ALPHA_BITS", }, 208 0x928D, "GL_DST_OUT_NV",
209 {0x0D54, "GL_BLUE_BITS", }, 209 },
210 {0x0D57, "GL_STENCIL_BITS", }, 210 {
211 {0x0D56, "GL_DEPTH_BITS", }, 211 0x8069, "GL_TEXTURE_BINDING_2D",
212 {0x8CD5, "GL_FRAMEBUFFER_COMPLETE", }, 212 },
213 {0x0D50, "GL_SUBPIXEL_BITS", }, 213 {
214 {0x0D53, "GL_GREEN_BITS", }, 214 0x8261, "GL_NO_RESET_NOTIFICATION_EXT",
215 {0x0D52, "GL_RED_BITS", }, 215 },
216 {0x8037, "GL_POLYGON_OFFSET_FILL", }, 216 {
217 {0x928C, "GL_SRC_OUT_NV", }, 217 0x8DFA, "GL_SHADER_COMPILER",
218 {0x8034, "GL_UNSIGNED_SHORT_5_5_5_1", }, 218 },
219 {0x8033, "GL_UNSIGNED_SHORT_4_4_4_4", }, 219 {
220 {0x928B, "GL_DST_IN_NV", }, 220 0x8DFB, "GL_MAX_VERTEX_UNIFORM_VECTORS",
221 {0x0305, "GL_ONE_MINUS_DST_ALPHA", }, 221 },
222 {0x0304, "GL_DST_ALPHA", }, 222 {
223 {0x0307, "GL_ONE_MINUS_DST_COLOR", }, 223 0x8DFC, "GL_MAX_VARYING_VECTORS",
224 {0x0306, "GL_DST_COLOR", }, 224 },
225 {0x0301, "GL_ONE_MINUS_SRC_COLOR", }, 225 {
226 {0x0300, "GL_SRC_COLOR", }, 226 0x8B5C, "GL_FLOAT_MAT4",
227 {0x0303, "GL_ONE_MINUS_SRC_ALPHA", }, 227 },
228 {0x0302, "GL_SRC_ALPHA", }, 228 {
229 {0x0308, "GL_SRC_ALPHA_SATURATE", }, 229 0x8B5B, "GL_FLOAT_MAT3",
230 {0x2A00, "GL_POLYGON_OFFSET_UNITS", }, 230 },
231 {0xFFFFFFFF, "GL_ALL_SHADER_BITS_EXT", }, 231 {
232 {0x00800000, "GL_STENCIL_BUFFER_BIT7_QCOM", }, 232 0x8268, "GL_DEBUG_TYPE_MARKER_KHR",
233 {0x8C4D, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV", }, 233 },
234 {0x00020000, "GL_STENCIL_BUFFER_BIT1_QCOM", }, 234 {
235 {0x8D00, "GL_DEPTH_ATTACHMENT", }, 235 0x8269, "GL_DEBUG_TYPE_PUSH_GROUP_KHR",
236 {0x8FA0, "GL_PERFMON_GLOBAL_MODE_QCOM", }, 236 },
237 {0x8815, "GL_RGB32F_EXT", }, 237 {
238 {0x813D, "GL_TEXTURE_MAX_LEVEL_APPLE", }, 238 0x1905, "GL_BLUE_NV",
239 {0x8DFD, "GL_MAX_FRAGMENT_UNIFORM_VECTORS", }, 239 },
240 {0x8CDD, "GL_FRAMEBUFFER_UNSUPPORTED", }, 240 {
241 {0x8CDF, "GL_MAX_COLOR_ATTACHMENTS_EXT", }, 241 0x87FF, "GL_PROGRAM_BINARY_FORMATS_OES",
242 {0x90F3, "GL_CONTEXT_ROBUST_ACCESS_EXT", }, 242 },
243 {0x90F2, "GL_MAX_MULTIVIEW_BUFFERS_EXT", }, 243 {
244 {0x90F1, "GL_MULTIVIEW_EXT", }, 244 0x87FE, "GL_NUM_PROGRAM_BINARY_FORMATS_OES",
245 {0x90F0, "GL_COLOR_ATTACHMENT_EXT", }, 245 },
246 {0x803C, "GL_ALPHA8_OES", }, 246 {
247 {0x84F5, "GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM", }, 247 0x2600, "GL_NEAREST",
248 {0x882A, "GL_DRAW_BUFFER5_EXT", }, 248 },
249 {0x80AA, "GL_SAMPLE_COVERAGE_VALUE", }, 249 {
250 {0x84F6, "GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM", }, 250 0x2601, "GL_LINEAR",
251 {0x80AB, "GL_SAMPLE_COVERAGE_INVERT", }, 251 },
252 {0x8C41, "GL_SRGB8_NV", }, 252 {
253 {0x8C40, "GL_SRGB_EXT", }, 253 0x8C03, "GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG",
254 {0x882B, "GL_DRAW_BUFFER6_EXT", }, 254 },
255 {0x8C17, "GL_UNSIGNED_NORMALIZED_EXT", }, 255 {
256 {0x8A4A, "GL_SKIP_DECODE_EXT", }, 256 0x9242, "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM",
257 {0x8A4F, "GL_PROGRAM_PIPELINE_OBJECT_EXT", }, 257 },
258 {0x882C, "GL_DRAW_BUFFER7_EXT", }, 258 {
259 {0x0010, "GL_MAP_FLUSH_EXPLICIT_BIT_EXT", }, 259 0x88BA, "GL_READ_WRITE",
260 {0x882D, "GL_DRAW_BUFFER8_EXT", }, 260 },
261 {0x8F37, "GL_COPY_WRITE_BUFFER_NV", }, 261 {
262 {0x8F36, "GL_COPY_READ_BUFFER_NV", }, 262 0x88BB, "GL_BUFFER_ACCESS_OES",
263 {0x84FF, "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT", }, 263 },
264 {0x6000, "GL_TEXTURE_POOL_CHROMIUM", }, 264 {
265 {0x0B74, "GL_DEPTH_FUNC", }, 265 0x88BC, "GL_BUFFER_MAPPED_OES",
266 {0x8A49, "GL_DECODE_EXT", }, 266 },
267 {0x881B, "GL_RGB16F_EXT", }, 267 {
268 {0x0B71, "GL_DEPTH_TEST", }, 268 0x88BD, "GL_BUFFER_MAP_POINTER_OES",
269 {0x0B70, "GL_DEPTH_RANGE", }, 269 },
270 {0x0B73, "GL_DEPTH_CLEAR_VALUE", }, 270 {
271 {0x0B72, "GL_DEPTH_WRITEMASK", }, 271 0x88BF, "GL_TIME_ELAPSED_EXT",
272 {0x85BA, "GL_UNSIGNED_SHORT_8_8_APPLE", }, 272 },
273 {0x882E, "GL_DRAW_BUFFER9_EXT", }, 273 {
274 {0x6001, "GL_TEXTURE_POOL_MANAGED_CHROMIUM", }, 274 0x0C10, "GL_SCISSOR_BOX",
275 {0x8073, "GL_MAX_3D_TEXTURE_SIZE_OES", }, 275 },
276 {0x8072, "GL_TEXTURE_WRAP_R_OES", }, 276 {
277 {0x9289, "GL_DST_OVER_NV", }, 277 0x0C11, "GL_SCISSOR_TEST",
278 {0x882F, "GL_DRAW_BUFFER10_EXT", }, 278 },
279 {0x8074, "GL_VERTEX_ARRAY_KHR", }, 279 {
280 {0x80E1, "GL_BGRA_EXT", }, 280 0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM",
281 {0x8ED7, "GL_COVERAGE_AUTOMATIC_NV", }, 281 },
282 {0x8ED6, "GL_COVERAGE_EDGE_FRAGMENTS_NV", }, 282 {
283 {0x8ED5, "GL_COVERAGE_ALL_FRAGMENTS_NV", }, 283 0x8A48, "GL_TEXTURE_SRGB_DECODE_EXT",
284 {0x8ED4, "GL_COVERAGE_SAMPLES_NV", }, 284 },
285 {0x8ED3, "GL_COVERAGE_BUFFERS_NV", }, 285 {
286 {0x8ED2, "GL_COVERAGE_ATTACHMENT_NV", }, 286 0x300E, "GL_CONTEXT_LOST",
287 {0x8ED1, "GL_COVERAGE_COMPONENT4_NV", }, 287 },
288 {0x8ED0, "GL_COVERAGE_COMPONENT_NV", }, 288 {
289 {0x9288, "GL_SRC_OVER_NV", }, 289 0x02000000, "GL_MULTISAMPLE_BUFFER_BIT1_QCOM",
290 {0x800B, "GL_FUNC_REVERSE_SUBTRACT", }, 290 },
291 {0x00000400, "GL_STENCIL_BUFFER_BIT", }, 291 {
292 {0x800A, "GL_FUNC_SUBTRACT", }, 292 0x8C2F, "GL_ANY_SAMPLES_PASSED_EXT",
293 {0x8E2C, "GL_DEPTH_COMPONENT16_NONLINEAR_NV", }, 293 },
294 {0x889F, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", }, 294 {
295 {0x8219, "GL_FRAMEBUFFER_UNDEFINED_OES", }, 295 0x8BD2, "GL_TEXTURE_WIDTH_QCOM",
296 {0x8E22, "GL_TRANSFORM_FEEDBACK", }, 296 },
297 {0x8E28, "GL_TIMESTAMP_EXT", }, 297 {
298 {0x8006, "GL_FUNC_ADD", }, 298 0x8BD3, "GL_TEXTURE_HEIGHT_QCOM",
299 {0x8007, "GL_MIN_EXT", }, 299 },
300 {0x8004, "GL_ONE_MINUS_CONSTANT_ALPHA", }, 300 {
301 {0x8005, "GL_BLEND_COLOR", }, 301 0x8BD4, "GL_TEXTURE_DEPTH_QCOM",
302 {0x8002, "GL_ONE_MINUS_CONSTANT_COLOR", }, 302 },
303 {0x8003, "GL_CONSTANT_ALPHA", }, 303 {
304 {0x8001, "GL_CONSTANT_COLOR", }, 304 0x8BD5, "GL_TEXTURE_INTERNAL_FORMAT_QCOM",
305 {0x0204, "GL_GREATER", }, 305 },
306 {0x0205, "GL_NOTEQUAL", }, 306 {
307 {0x0206, "GL_GEQUAL", }, 307 0x8BD6, "GL_TEXTURE_FORMAT_QCOM",
308 {0x0207, "GL_ALWAYS", }, 308 },
309 {0x0200, "GL_NEVER", }, 309 {
310 {0x0201, "GL_LESS", }, 310 0x8BD7, "GL_TEXTURE_TYPE_QCOM",
311 {0x0202, "GL_EQUAL", }, 311 },
312 {0x0203, "GL_LEQUAL", }, 312 {
313 {0x2901, "GL_REPEAT", }, 313 0x8B8D, "GL_CURRENT_PROGRAM",
314 {0x92A0, "GL_EXCLUSION_NV", }, 314 },
315 {0x93D8, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR", }, 315 {
316 {0x93D9, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR", }, 316 0x8BD9, "GL_TEXTURE_NUM_LEVELS_QCOM",
317 {0x8FB2, "GL_GPU_OPTIMIZED_QCOM", }, 317 },
318 {0x190A, "GL_LUMINANCE_ALPHA", }, 318 {
319 {0x8FB0, "GL_BINNING_CONTROL_HINT_QCOM", }, 319 0x00200000, "GL_STENCIL_BUFFER_BIT5_QCOM",
320 {0x92A1, "GL_CONTRAST_NV", }, 320 },
321 {0x1E00, "GL_KEEP", }, 321 {
322 {0x1E01, "GL_REPLACE", }, 322 0x8B8A, "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH",
323 {0x1E02, "GL_INCR", }, 323 },
324 {0x1E03, "GL_DECR", }, 324 {
325 {0x93D6, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR", }, 325 0x8B8B, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES",
326 {0x93D7, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR", }, 326 },
327 {0x93D4, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR", }, 327 {
328 {0x93D5, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR", }, 328 0x8B8C, "GL_SHADING_LANGUAGE_VERSION",
329 {0x0BE2, "GL_BLEND", }, 329 },
330 {0x84CB, "GL_TEXTURE11", }, 330 {
331 {0x8D55, "GL_RENDERBUFFER_STENCIL_SIZE", }, 331 0x8BDA, "GL_TEXTURE_TARGET_QCOM",
332 {0x8D54, "GL_RENDERBUFFER_DEPTH_SIZE", }, 332 },
333 {0x8D57, "GL_MAX_SAMPLES_ANGLE", }, 333 {
334 {0x8D56, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE", }, 334 0x8BDB, "GL_TEXTURE_OBJECT_VALID_QCOM",
335 {0x8D51, "GL_RENDERBUFFER_GREEN_SIZE", }, 335 },
336 {0x8D50, "GL_RENDERBUFFER_RED_SIZE", }, 336 {
337 {0x8D53, "GL_RENDERBUFFER_ALPHA_SIZE", }, 337 0x8BDC, "GL_STATE_RESTORE",
338 {0x8D52, "GL_RENDERBUFFER_BLUE_SIZE", }, 338 },
339 {0x92A6, "GL_VIVIDLIGHT_NV", }, 339 {
340 {0x00080000, "GL_STENCIL_BUFFER_BIT3_QCOM", }, 340 0x8B88, "GL_SHADER_SOURCE_LENGTH",
341 {0x92A7, "GL_LINEARLIGHT_NV", }, 341 },
342 {0x886A, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED", }, 342 {
343 {0x0C01, "GL_DRAW_BUFFER_EXT", }, 343 0x8B89, "GL_ACTIVE_ATTRIBUTES",
344 {0x93C7, "GL_COMPRESSED_RGBA_ASTC_6x5x5_OES", }, 344 },
345 {0x8B5F, "GL_SAMPLER_3D_OES", }, 345 {
346 {0x8B95, "GL_PALETTE8_RGB8_OES", }, 346 0x93C9, "GL_COMPRESSED_RGBA_ASTC_6x6x6_OES",
347 {0x9250, "GL_SHADER_BINARY_DMP", }, 347 },
348 {0x10000000, "GL_MULTISAMPLE_BUFFER_BIT4_QCOM", }, 348 {
349 {0x8C92, "GL_ATC_RGB_AMD", }, 349 0x93C8, "GL_COMPRESSED_RGBA_ASTC_6x6x5_OES",
350 {0x9154, "GL_VERTEX_ARRAY_OBJECT_EXT", }, 350 },
351 {0x9153, "GL_QUERY_OBJECT_EXT", }, 351 {
352 {0x8864, "GL_QUERY_COUNTER_BITS_EXT", }, 352 0x8B84, "GL_INFO_LOG_LENGTH",
353 {0x9151, "GL_BUFFER_OBJECT_EXT", }, 353 },
354 {0x8C93, "GL_ATC_RGBA_EXPLICIT_ALPHA_AMD", }, 354 {
355 {0x00000002, "GL_CONTEXT_FLAG_DEBUG_BIT_KHR", }, 355 0x8B85, "GL_ATTACHED_SHADERS",
356 {0x00000001, "GL_SYNC_FLUSH_COMMANDS_BIT_APPLE", }, 356 },
357 {0x9248, "GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM", }, 357 {
358 {0x00000004, "GL_COLOR_BUFFER_BIT2_QCOM", }, 358 0x8B86, "GL_ACTIVE_UNIFORMS",
359 {0x1702, "GL_TEXTURE", }, 359 },
360 {0x00000008, "GL_COLOR_BUFFER_BIT3_QCOM", }, 360 {
361 {0x8B58, "GL_BOOL_VEC3", }, 361 0x8B87, "GL_ACTIVE_UNIFORM_MAX_LENGTH",
362 {0x8828, "GL_DRAW_BUFFER3_EXT", }, 362 },
363 {0x8DF0, "GL_LOW_FLOAT", }, 363 {
364 {0x1906, "GL_ALPHA", }, 364 0x8B80, "GL_DELETE_STATUS",
365 {0x1907, "GL_RGB", }, 365 },
366 {0x8FBB, "GL_GPU_DISJOINT_EXT", }, 366 {
367 {0x1902, "GL_DEPTH_COMPONENT", }, 367 0x8B81, "GL_COMPILE_STATUS",
368 {0x8B56, "GL_BOOL", }, 368 },
369 {0x93DB, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR", }, 369 {
370 {0x8B9B, "GL_IMPLEMENTATION_COLOR_READ_FORMAT", }, 370 0x8B82, "GL_LINK_STATUS",
371 {0x8B9A, "GL_IMPLEMENTATION_COLOR_READ_TYPE", }, 371 },
372 {0x93DA, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR", }, 372 {
373 {0x1908, "GL_RGBA", }, 373 0x8B83, "GL_VALIDATE_STATUS",
374 {0x8DF2, "GL_HIGH_FLOAT", }, 374 },
375 {0x93DD, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR", }, 375 {
376 {0x8827, "GL_DRAW_BUFFER2_EXT", }, 376 0x8D48, "GL_STENCIL_INDEX8",
377 {0x9243, "GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM", }, 377 },
378 {0x8DF3, "GL_LOW_INT", }, 378 {
379 {0x82E8, "GL_MAX_LABEL_LENGTH_KHR", }, 379 0x8D46, "GL_STENCIL_INDEX1_OES",
380 {0x82E6, "GL_SAMPLER_KHR", }, 380 },
381 {0x0C02, "GL_READ_BUFFER_EXT", }, 381 {
382 {0x82E3, "GL_QUERY_KHR", }, 382 0x8D47, "GL_STENCIL_INDEX4_OES",
383 {0x82E2, "GL_PROGRAM_KHR", }, 383 },
384 {0x82E1, "GL_SHADER_KHR", }, 384 {
385 {0x8B52, "GL_FLOAT_VEC4", }, 385 0x8D44, "GL_RENDERBUFFER_INTERNAL_FORMAT",
386 {0x9240, "GL_UNPACK_FLIP_Y_CHROMIUM", }, 386 },
387 {0x8DF6, "GL_UNSIGNED_INT_10_10_10_2_OES", }, 387 {
388 {0x8230, "GL_RG32F_EXT", }, 388 0x00000100, "GL_DEPTH_BUFFER_BIT",
389 {0x8DF7, "GL_INT_10_10_10_2_OES", }, 389 },
390 {0x9246, "GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM", }, 390 {
391 {0x8B69, "GL_FLOAT_MAT4x2_NV", }, 391 0x8D42, "GL_RENDERBUFFER_WIDTH",
392 {0x812D, "GL_CLAMP_TO_BORDER_NV", }, 392 },
393 {0x812F, "GL_CLAMP_TO_EDGE", }, 393 {
394 {0x86A3, "GL_COMPRESSED_TEXTURE_FORMATS", }, 394 0x8D43, "GL_RENDERBUFFER_HEIGHT",
395 {0x9244, "GL_BIND_GENERATES_RESOURCE_CHROMIUM", }, 395 },
396 {0x86A2, "GL_NUM_COMPRESSED_TEXTURE_FORMATS", }, 396 {
397 {0x0CF3, "GL_UNPACK_SKIP_ROWS_EXT", }, 397 0x8D40, "GL_FRAMEBUFFER",
398 {0x0CF2, "GL_UNPACK_ROW_LENGTH_EXT", }, 398 },
399 {0x140C, "GL_FIXED", }, 399 {
400 {0x8008, "GL_MAX_EXT", }, 400 0x8D41, "GL_RENDERBUFFER",
401 {0x0CF5, "GL_UNPACK_ALIGNMENT", }, 401 },
402 {0x0CF4, "GL_UNPACK_SKIP_PIXELS_EXT", }, 402 {
403 {0x8009, "GL_BLEND_EQUATION", }, 403 0x0BD0, "GL_DITHER",
404 {0x1401, "GL_UNSIGNED_BYTE", }, 404 },
405 {0x1400, "GL_BYTE", }, 405 {
406 {0x1403, "GL_UNSIGNED_SHORT", }, 406 0x93D3, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR",
407 {0x1402, "GL_SHORT", }, 407 },
408 {0x1405, "GL_UNSIGNED_INT", }, 408 {
409 {0x1404, "GL_INT", }, 409 0x1801, "GL_DEPTH_EXT",
410 {0x1406, "GL_FLOAT", }, 410 },
411 {0x8043, "GL_LUMINANCE4_ALPHA4_OES", }, 411 {
412 {0x8040, "GL_LUMINANCE8_OES", }, 412 0x1800, "GL_COLOR_EXT",
413 {0x8045, "GL_LUMINANCE8_ALPHA8_OES", }, 413 },
414 {0x8CD1, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME", }, 414 {
415 {0x00040000, "GL_STENCIL_BUFFER_BIT2_QCOM", }, 415 0x1802, "GL_STENCIL_EXT",
416 {0x8CD0, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE", }, 416 },
417 {0x8CE4, "GL_COLOR_ATTACHMENT4_EXT", }, 417 {
418 {0x8CD3, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", }, 418 0x0B21, "GL_LINE_WIDTH",
419 {0x929E, "GL_DIFFERENCE_NV", }, 419 },
420 {0x0B90, "GL_STENCIL_TEST", }, 420 {
421 {0x8CD2, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", }, 421 0x81A5, "GL_DEPTH_COMPONENT16",
422 {0x881C, "GL_ALPHA16F_EXT", }, 422 },
423 {0x928E, "GL_SRC_ATOP_NV", }, 423 {
424 {0x8CD4, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES", }, 424 0x81A6, "GL_DEPTH_COMPONENT24_OES",
425 {0x9298, "GL_LIGHTEN_NV", }, 425 },
426 {0x8CD7, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT", }, 426 {
427 {0x9112, "GL_OBJECT_TYPE_APPLE", }, 427 0x81A7, "GL_DEPTH_COMPONENT32_OES",
428 {0x8038, "GL_POLYGON_OFFSET_FACTOR", }, 428 },
429 {0x851A, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z", }, 429 {
430 {0x851C, "GL_MAX_CUBE_MAP_TEXTURE_SIZE", }, 430 0x88FE, "GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE",
431 {0x8CD9, "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS", }, 431 },
432 {0x84CC, "GL_TEXTURE12", }, 432 {
433 {0x0BA2, "GL_VIEWPORT", }, 433 0x8B6A, "GL_FLOAT_MAT4x3_NV",
434 {0x84CA, "GL_TEXTURE10", }, 434 },
435 {0x84CF, "GL_TEXTURE15", }, 435 {
436 {0x84CE, "GL_TEXTURE14", }, 436 0x93D0, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR",
437 {0x84CD, "GL_TEXTURE13", }, 437 },
438 {0x9115, "GL_SYNC_FLAGS_APPLE", }, 438 {
439 {0x9286, "GL_SRC_NV", }, 439 0x9143, "GL_MAX_DEBUG_MESSAGE_LENGTH_KHR",
440 {0x83F3, "GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE", }, 440 },
441 {0x83F2, "GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE", }, 441 {
442 {0x83F1, "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT", }, 442 0x9144, "GL_MAX_DEBUG_LOGGED_MESSAGES_KHR",
443 {0x9114, "GL_SYNC_STATUS_APPLE", }, 443 },
444 {0x8C0A, "GL_SGX_BINARY_IMG", }, 444 {
445 {0x9285, "GL_BLEND_ADVANCED_COHERENT_NV", }, 445 0x9145, "GL_DEBUG_LOGGED_MESSAGES_KHR",
446 {0x911C, "GL_CONDITION_SATISFIED_APPLE", }, 446 },
447 {0x911B, "GL_TIMEOUT_EXPIRED_APPLE", }, 447 {
448 {0x911A, "GL_ALREADY_SIGNALED_APPLE", }, 448 0x9146, "GL_DEBUG_SEVERITY_HIGH_KHR",
449 {0x9284, "GL_CONJOINT_NV", }, 449 },
450 {0x911D, "GL_WAIT_FAILED_APPLE", }, 450 {
451 {0x929A, "GL_COLORBURN_NV", }, 451 0x9147, "GL_DEBUG_SEVERITY_MEDIUM_KHR",
452 {0x929B, "GL_HARDLIGHT_NV", }, 452 },
453 {0x929C, "GL_SOFTLIGHT_NV", }, 453 {
454 {0x846D, "GL_ALIASED_POINT_SIZE_RANGE", }, 454 0x9148, "GL_DEBUG_SEVERITY_LOW_KHR",
455 {0x846E, "GL_ALIASED_LINE_WIDTH_RANGE", }, 455 },
456 {0x929F, "GL_MINUS_NV", }, 456 {
457 {0x9282, "GL_UNCORRELATED_NV", }, 457 0x9260, "GL_GCCSO_SHADER_BINARY_FJ",
458 {0x9113, "GL_SYNC_CONDITION_APPLE", }, 458 },
459 {0x93A4, "GL_PACK_REVERSE_ROW_ORDER_ANGLE", }, 459 {
460 {0x9111, "GL_MAX_SERVER_WAIT_TIMEOUT_APPLE", }, 460 0x8F60, "GL_MALI_SHADER_BINARY_ARM",
461 {0x93A6, "GL_PROGRAM_BINARY_ANGLE", }, 461 },
462 {0x9117, "GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE", }, 462 {
463 {0x93A0, "GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE", }, 463 0x8F61, "GL_MALI_PROGRAM_BINARY_ARM",
464 {0x93A3, "GL_FRAMEBUFFER_ATTACHMENT_ANGLE", }, 464 },
465 {0x93A2, "GL_TEXTURE_USAGE_ANGLE", }, 465 {
466 {0x8802, "GL_STENCIL_BACK_PASS_DEPTH_FAIL", }, 466 0x87EE, "GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD",
467 {0x9119, "GL_SIGNALED_APPLE", }, 467 },
468 {0x9118, "GL_UNSIGNALED_APPLE", }, 468 {
469 {0x9294, "GL_MULTIPLY_NV", }, 469 0x822B, "GL_RG8_EXT",
470 {0x9295, "GL_SCREEN_NV", }, 470 },
471 {0x9296, "GL_OVERLAY_NV", }, 471 {
472 {0x9297, "GL_DARKEN_NV", }, 472 0x822F, "GL_RG16F_EXT",
473 {0x0020, "GL_MAP_UNSYNCHRONIZED_BIT_EXT", }, 473 },
474 {0x8C01, "GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG", }, 474 {
475 {0x8C00, "GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG", }, 475 0x822D, "GL_R16F_EXT",
476 {0x8A52, "GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT", }, 476 },
477 {0x8C02, "GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG", }, 477 {
478 {0x84C9, "GL_TEXTURE9", }, 478 0x822E, "GL_R32F_EXT",
479 {0x84C8, "GL_TEXTURE8", }, 479 },
480 {0x8869, "GL_MAX_VERTEX_ATTRIBS", }, 480 {
481 {0x84C3, "GL_TEXTURE3", }, 481 1, "GL_ES_VERSION_2_0",
482 {0x84C2, "GL_TEXTURE2", }, 482 },
483 {0x84C1, "GL_TEXTURE1", }, 483 {
484 {0x84C0, "GL_TEXTURE0", }, 484 0x84F9, "GL_DEPTH_STENCIL_OES",
485 {0x84C7, "GL_TEXTURE7", }, 485 },
486 {0x84C6, "GL_TEXTURE6", }, 486 {
487 {0x84C5, "GL_TEXTURE5", }, 487 0x8368, "GL_UNSIGNED_INT_2_10_10_10_REV_EXT",
488 {0x8803, "GL_STENCIL_BACK_PASS_DEPTH_PASS", }, 488 },
489 {0x928A, "GL_SRC_IN_NV", }, 489 {
490 {0x8518, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y", }, 490 0x8819, "GL_LUMINANCE_ALPHA32F_EXT",
491 {0x8519, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z", }, 491 },
492 {0x8514, "GL_TEXTURE_BINDING_CUBE_MAP", }, 492 {
493 {0x8515, "GL_TEXTURE_CUBE_MAP_POSITIVE_X", }, 493 0x8818, "GL_LUMINANCE32F_EXT",
494 {0x8516, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X", }, 494 },
495 {0x8517, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y", }, 495 {
496 {0x8513, "GL_TEXTURE_CUBE_MAP", }, 496 0x8363, "GL_UNSIGNED_SHORT_5_6_5",
497 {0x8626, "GL_CURRENT_VERTEX_ATTRIB", }, 497 },
498 {0x92B1, "GL_PLUS_CLAMPED_NV", }, 498 {
499 {0x92B0, "GL_HSL_LUMINOSITY_NV", }, 499 0x8814, "GL_RGBA32F_EXT",
500 {0x92B3, "GL_MINUS_CLAMPED_NV", }, 500 },
501 {0x92B2, "GL_PLUS_CLAMPED_ALPHA_NV", }, 501 {
502 {0x8765, "GL_BUFFER_USAGE", }, 502 0x84F2, "GL_ALL_COMPLETED_NV",
503 {0x8764, "GL_BUFFER_SIZE", }, 503 },
504 {0x8B99, "GL_PALETTE8_RGB5_A1_OES", }, 504 {
505 {0x0503, "GL_STACK_OVERFLOW_KHR", }, 505 0x8816, "GL_ALPHA32F_EXT",
506 {0x0502, "GL_INVALID_OPERATION", }, 506 },
507 {0x0501, "GL_INVALID_VALUE", }, 507 {
508 {0x0500, "GL_INVALID_ENUM", }, 508 0x84F4, "GL_FENCE_CONDITION_NV",
509 {64, "GL_MAILBOX_SIZE_CHROMIUM", }, 509 },
510 {0x0506, "GL_INVALID_FRAMEBUFFER_OPERATION", }, 510 {
511 {0x0505, "GL_OUT_OF_MEMORY", }, 511 0x8366, "GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT",
512 {0x0504, "GL_STACK_UNDERFLOW_KHR", }, 512 },
513 {0x0B44, "GL_CULL_FACE", }, 513 {
514 {0x8B5E, "GL_SAMPLER_2D", }, 514 0x8365, "GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT",
515 {0x0B46, "GL_FRONT_FACE", }, 515 },
516 {0x8FB3, "GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM", }, 516 {
517 {0x824A, "GL_DEBUG_SOURCE_APPLICATION_KHR", }, 517 0x84F7, "GL_COMMANDS_COMPLETED_CHROMIUM",
518 {0x824B, "GL_DEBUG_SOURCE_OTHER_KHR", }, 518 },
519 {0x824C, "GL_DEBUG_TYPE_ERROR_KHR", }, 519 {
520 {0x824D, "GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR", }, 520 0x881E, "GL_LUMINANCE16F_EXT",
521 {0x824E, "GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR", }, 521 },
522 {0x824F, "GL_DEBUG_TYPE_PORTABILITY_KHR", }, 522 {
523 {0x8B31, "GL_VERTEX_SHADER", }, 523 0x84FA, "GL_UNSIGNED_INT_24_8_OES",
524 {0x8B30, "GL_FRAGMENT_SHADER", }, 524 },
525 {0x8FB1, "GL_CPU_OPTIMIZED_QCOM", }, 525 {
526 {0x93D2, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR", }, 526 0x881F, "GL_LUMINANCE_ALPHA16F_EXT",
527 {0x8B5A, "GL_FLOAT_MAT2", }, 527 },
528 {0x84D8, "GL_TEXTURE24", }, 528 {
529 {0x84D9, "GL_TEXTURE25", }, 529 0x881A, "GL_RGBA16F_EXT",
530 {0x84D6, "GL_TEXTURE22", }, 530 },
531 {0x84D7, "GL_TEXTURE23", }, 531 {
532 {0x84D4, "GL_TEXTURE20", }, 532 0x84FE, "GL_TEXTURE_MAX_ANISOTROPY_EXT",
533 {0x0D05, "GL_PACK_ALIGNMENT", }, 533 },
534 {0x84D2, "GL_TEXTURE18", }, 534 {
535 {0x84D3, "GL_TEXTURE19", }, 535 0x0901, "GL_CCW",
536 {0x84D0, "GL_TEXTURE16", }, 536 },
537 {0x84D1, "GL_TEXTURE17", }, 537 {
538 {0x93D1, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR", }, 538 0x0900, "GL_CW",
539 {0x84DF, "GL_TEXTURE31", }, 539 },
540 {0x8B97, "GL_PALETTE8_R5_G6_B5_OES", }, 540 {
541 {0x84DD, "GL_TEXTURE29", }, 541 0x8229, "GL_R8_EXT",
542 {0x84DE, "GL_TEXTURE30", }, 542 },
543 {0x84DB, "GL_TEXTURE27", }, 543 {
544 {0x84DC, "GL_TEXTURE28", }, 544 0x9283, "GL_DISJOINT_NV",
545 {0x6002, "GL_TEXTURE_POOL_UNMANAGED_CHROMIUM", }, 545 },
546 {0x84DA, "GL_TEXTURE26", }, 546 {
547 {0x8242, "GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR", }, 547 0x8227, "GL_RG_EXT",
548 {0x8243, "GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR", }, 548 },
549 {0x8244, "GL_DEBUG_CALLBACK_FUNCTION_KHR", }, 549 {
550 {0x8245, "GL_DEBUG_CALLBACK_USER_PARAM_KHR", }, 550 0x8B66, "GL_FLOAT_MAT2x4_NV",
551 {0x8246, "GL_DEBUG_SOURCE_API_KHR", }, 551 },
552 {0x8247, "GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR", }, 552 {
553 {0x8248, "GL_DEBUG_SOURCE_SHADER_COMPILER_KHR", }, 553 0x8B67, "GL_FLOAT_MAT3x2_NV",
554 {0x8249, "GL_DEBUG_SOURCE_THIRD_PARTY_KHR", }, 554 },
555 {0x8B94, "GL_PALETTE4_RGB5_A1_OES", }, 555 {
556 {0x00000040, "GL_COLOR_BUFFER_BIT6_QCOM", }, 556 0x8B65, "GL_FLOAT_MAT2x3_NV",
557 {0x8645, "GL_VERTEX_ATTRIB_ARRAY_POINTER", }, 557 },
558 {0x8865, "GL_CURRENT_QUERY_EXT", }, 558 {
559 {0x8866, "GL_QUERY_RESULT_EXT", }, 559 0x8B62, "GL_SAMPLER_2D_SHADOW_EXT",
560 {0x8867, "GL_QUERY_RESULT_AVAILABLE_EXT", }, 560 },
561 {0x08000000, "GL_MULTISAMPLE_BUFFER_BIT3_QCOM", }, 561 {
562 {0x87FA, "GL_3DC_XY_AMD", }, 562 0x8B63, "GL_SAMPLER_2D_RECT_ARB",
563 {0x84C4, "GL_TEXTURE4", }, 563 },
564 {0x85B5, "GL_VERTEX_ARRAY_BINDING_OES", }, 564 {
565 {0x8D6A, "GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT", }, 565 0x8B60, "GL_SAMPLER_CUBE",
566 {0x8D6C, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT", }, 566 },
567 {0x8252, "GL_LOSE_CONTEXT_ON_RESET_EXT", }, 567 {
568 {0x8C4C, "GL_COMPRESSED_SRGB_S3TC_DXT1_NV", }, 568 0x00001000, "GL_DEPTH_BUFFER_BIT4_QCOM",
569 {0x8C4E, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV", }, 569 },
570 {0x1102, "GL_NICEST", }, 570 {
571 {0x8C4F, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV", }, 571 0x8B68, "GL_FLOAT_MAT3x4_NV",
572 {0x93E9, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES", }, 572 },
573 {0x93E8, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES", }, 573 {
574 {0x8C43, "GL_SRGB8_ALPHA8_EXT", }, 574 0x83F0, "GL_COMPRESSED_RGB_S3TC_DXT1_EXT",
575 {0x8C42, "GL_SRGB_ALPHA_EXT", }, 575 },
576 {0x8C45, "GL_SLUMINANCE8_ALPHA8_NV", }, 576 {
577 {0x8C44, "GL_SLUMINANCE_ALPHA_NV", }, 577 0x00000080, "GL_COLOR_BUFFER_BIT7_QCOM",
578 {0x8C47, "GL_SLUMINANCE8_NV", }, 578 },
579 {0x8C46, "GL_SLUMINANCE_NV", }, 579 {
580 {0x93E1, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES", }, 580 0x88F0, "GL_DEPTH24_STENCIL8_OES",
581 {0x93E0, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES", }, 581 },
582 {0x93E3, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES", }, 582 {
583 {0x93E2, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES", }, 583 0x80A0, "GL_SAMPLE_COVERAGE",
584 {0x93E5, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES", }, 584 },
585 {0x93E4, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES", }, 585 {
586 {0x93E7, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES", }, 586 0x928F, "GL_DST_ATOP_NV",
587 {0x93E6, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES", }, 587 },
588 {0x8D68, "GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES", }, 588 {
589 {0x85BB, "GL_UNSIGNED_SHORT_8_8_REV_APPLE", }, 589 0x80A9, "GL_SAMPLES",
590 {0x8D61, "GL_HALF_FLOAT_OES", }, 590 },
591 {0x8D62, "GL_RGB565", }, 591 {
592 {0x8D64, "GL_ETC1_RGB8_OES", }, 592 0x80A8, "GL_SAMPLE_BUFFERS",
593 {0x8D65, "GL_TEXTURE_EXTERNAL_OES", }, 593 },
594 {0x8D66, "GL_SAMPLER_EXTERNAL_OES", }, 594 {
595 {0x8D67, "GL_TEXTURE_BINDING_EXTERNAL_OES", }, 595 0x0D55, "GL_ALPHA_BITS",
596 {0x04000000, "GL_MULTISAMPLE_BUFFER_BIT2_QCOM", }, 596 },
597 {0x8CEE, "GL_COLOR_ATTACHMENT14_EXT", }, 597 {
598 {0x2800, "GL_TEXTURE_MAG_FILTER", }, 598 0x0D54, "GL_BLUE_BITS",
599 {0x2801, "GL_TEXTURE_MIN_FILTER", }, 599 },
600 {0x2802, "GL_TEXTURE_WRAP_S", }, 600 {
601 {0x2803, "GL_TEXTURE_WRAP_T", }, 601 0x0D57, "GL_STENCIL_BITS",
602 {0x2703, "GL_LINEAR_MIPMAP_LINEAR", }, 602 },
603 {0x8B98, "GL_PALETTE8_RGBA4_OES", }, 603 {
604 {0x84F3, "GL_FENCE_STATUS_NV", }, 604 0x0D56, "GL_DEPTH_BITS",
605 {0x2702, "GL_NEAREST_MIPMAP_LINEAR", }, 605 },
606 {0x1F03, "GL_EXTENSIONS", }, 606 {
607 {0x1F02, "GL_VERSION", }, 607 0x8CD5, "GL_FRAMEBUFFER_COMPLETE",
608 {0x1F01, "GL_RENDERER", }, 608 },
609 {0x1F00, "GL_VENDOR", }, 609 {
610 {0x9247, "GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM", }, 610 0x0D50, "GL_SUBPIXEL_BITS",
611 {0x2701, "GL_LINEAR_MIPMAP_NEAREST", }, 611 },
612 {0x9245, "GL_OVERLAY_TRANSFORM_NONE_CHROMIUM", }, 612 {
613 {0x92B4, "GL_INVERT_OVG_NV", }, 613 0x0D53, "GL_GREEN_BITS",
614 {0x9249, "GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM", }, 614 },
615 {0x0B94, "GL_STENCIL_FAIL", }, 615 {
616 {0x8B4C, "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS", }, 616 0x0D52, "GL_RED_BITS",
617 {0x8B4D, "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS", }, 617 },
618 {0x8B4F, "GL_SHADER_TYPE", }, 618 {
619 {0x00004000, "GL_COLOR_BUFFER_BIT", }, 619 0x8037, "GL_POLYGON_OFFSET_FILL",
620 {0x00000010, "GL_COLOR_BUFFER_BIT4_QCOM", }, 620 },
621 {0x8834, "GL_DRAW_BUFFER15_EXT", }, 621 {
622 {0x8833, "GL_DRAW_BUFFER14_EXT", }, 622 0x928C, "GL_SRC_OUT_NV",
623 {0x8832, "GL_DRAW_BUFFER13_EXT", }, 623 },
624 {0x8831, "GL_DRAW_BUFFER12_EXT", }, 624 {
625 {0x8830, "GL_DRAW_BUFFER11_EXT", }, 625 0x8034, "GL_UNSIGNED_SHORT_5_5_5_1",
626 {0x8DC5, "GL_SAMPLER_CUBE_SHADOW_NV", }, 626 },
627 {0x93B8, "GL_COMPRESSED_RGBA_ASTC_10x5_KHR", }, 627 {
628 {0x9241, "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM", }, 628 0x8033, "GL_UNSIGNED_SHORT_4_4_4_4",
629 {0x00010000, "GL_STENCIL_BUFFER_BIT0_QCOM", }, 629 },
630 {0x0B93, "GL_STENCIL_VALUE_MASK", }, 630 {
631 {0x0B92, "GL_STENCIL_FUNC", }, 631 0x928B, "GL_DST_IN_NV",
632 {0x0B91, "GL_STENCIL_CLEAR_VALUE", }, 632 },
633 {0x883D, "GL_BLEND_EQUATION_ALPHA", }, 633 {
634 {0x0B97, "GL_STENCIL_REF", }, 634 0x0305, "GL_ONE_MINUS_DST_ALPHA",
635 {0x0B96, "GL_STENCIL_PASS_DEPTH_PASS", }, 635 },
636 {0x0B95, "GL_STENCIL_PASS_DEPTH_FAIL", }, 636 {
637 {0x2700, "GL_NEAREST_MIPMAP_NEAREST", }, 637 0x0304, "GL_DST_ALPHA",
638 {0x0B98, "GL_STENCIL_WRITEMASK", }, 638 },
639 {0x8B40, "GL_PROGRAM_OBJECT_EXT", }, 639 {
640 {0x1004, "GL_TEXTURE_BORDER_COLOR_NV", }, 640 0x0307, "GL_ONE_MINUS_DST_COLOR",
641 {0x8B48, "GL_SHADER_OBJECT_EXT", }, 641 },
642 {0x912F, "GL_TEXTURE_IMMUTABLE_FORMAT_EXT", }, 642 {
643 {0x924A, "GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM", }, 643 0x0306, "GL_DST_COLOR",
644 {0x20000000, "GL_MULTISAMPLE_BUFFER_BIT5_QCOM", }, 644 },
645 {0x0DE1, "GL_TEXTURE_2D", }, 645 {
646 {0x80C9, "GL_BLEND_SRC_RGB", }, 646 0x0301, "GL_ONE_MINUS_SRC_COLOR",
647 {0x80C8, "GL_BLEND_DST_RGB", }, 647 },
648 {0x8059, "GL_RGB10_A2_EXT", }, 648 {
649 {0x8058, "GL_RGBA8_OES", }, 649 0x0300, "GL_SRC_COLOR",
650 {0x8B93, "GL_PALETTE4_RGBA4_OES", }, 650 },
651 {0x00002000, "GL_DEPTH_BUFFER_BIT5_QCOM", }, 651 {
652 {0x8051, "GL_RGB8_OES", }, 652 0x0303, "GL_ONE_MINUS_SRC_ALPHA",
653 {0x8052, "GL_RGB10_EXT", }, 653 },
654 {0x8CAB, "GL_RENDERBUFFER_SAMPLES_ANGLE", }, 654 {
655 {0x8057, "GL_RGB5_A1", }, 655 0x0302, "GL_SRC_ALPHA",
656 {0x8056, "GL_RGBA4", }, 656 },
657 {0x150A, "GL_INVERT", }, 657 {
658 {0x01000000, "GL_MULTISAMPLE_BUFFER_BIT0_QCOM", }, 658 0x0308, "GL_SRC_ALPHA_SATURATE",
659 {0x78ED, "GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM", }, 659 },
660 {0x78EE, "GL_PIXEL_PACK_TRANSFER_BUFFER_BINDING_CHROMIUM", }, 660 {
661 {0x78EF, "GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM", }, 661 0x2A00, "GL_POLYGON_OFFSET_UNITS",
662 {0x0B45, "GL_CULL_FACE_MODE", }, 662 },
663 {0x8B92, "GL_PALETTE4_R5_G6_B5_OES", }, 663 {
664 {0x00100000, "GL_STENCIL_BUFFER_BIT4_QCOM", }, 664 0xFFFFFFFF, "GL_ALL_SHADER_BITS_EXT",
665 {0x9299, "GL_COLORDODGE_NV", }, 665 },
666 {0x8D20, "GL_STENCIL_ATTACHMENT", }, 666 {
667 {0x8B91, "GL_PALETTE4_RGBA8_OES", }, 667 0x00800000, "GL_STENCIL_BUFFER_BIT7_QCOM",
668 {0x00000200, "GL_DEPTH_BUFFER_BIT1_QCOM", }, 668 },
669 {0x00008000, "GL_COVERAGE_BUFFER_BIT_NV", }, 669 {
670 {0x1506, "GL_XOR_NV", }, 670 0x8C4D, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV",
671 {0x8CA8, "GL_READ_FRAMEBUFFER_ANGLE", }, 671 },
672 {0x8CA9, "GL_DRAW_FRAMEBUFFER_ANGLE", }, 672 {
673 {0x8CA6, "GL_FRAMEBUFFER_BINDING", }, 673 0x00020000, "GL_STENCIL_BUFFER_BIT1_QCOM",
674 {0x8CA7, "GL_RENDERBUFFER_BINDING", }, 674 },
675 {0x8CA4, "GL_STENCIL_BACK_VALUE_MASK", }, 675 {
676 {0x8CA5, "GL_STENCIL_BACK_WRITEMASK", }, 676 0x8D00, "GL_DEPTH_ATTACHMENT",
677 {0x8B90, "GL_PALETTE4_RGB8_OES", }, 677 },
678 {0x8CA3, "GL_STENCIL_BACK_REF", }, 678 {
679 {0x80CB, "GL_BLEND_SRC_ALPHA", }, 679 0x8FA0, "GL_PERFMON_GLOBAL_MODE_QCOM",
680 {0x80CA, "GL_BLEND_DST_ALPHA", }, 680 },
681 {0x8CE7, "GL_COLOR_ATTACHMENT7_EXT", }, 681 {
682 {0x93B0, "GL_COMPRESSED_RGBA_ASTC_4x4_KHR", }, 682 0x8815, "GL_RGB32F_EXT",
683 {0x93B1, "GL_COMPRESSED_RGBA_ASTC_5x4_KHR", }, 683 },
684 {0x93B2, "GL_COMPRESSED_RGBA_ASTC_5x5_KHR", }, 684 {
685 {0x93B3, "GL_COMPRESSED_RGBA_ASTC_6x5_KHR", }, 685 0x813D, "GL_TEXTURE_MAX_LEVEL_APPLE",
686 {0x93B4, "GL_COMPRESSED_RGBA_ASTC_6x6_KHR", }, 686 },
687 {0x93B5, "GL_COMPRESSED_RGBA_ASTC_8x5_KHR", }, 687 {
688 {0x93B6, "GL_COMPRESSED_RGBA_ASTC_8x6_KHR", }, 688 0x8DFD, "GL_MAX_FRAGMENT_UNIFORM_VECTORS",
689 {0x93B7, "GL_COMPRESSED_RGBA_ASTC_8x8_KHR", }, 689 },
690 {0x8CD6, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT", }, 690 {
691 {0x93B9, "GL_COMPRESSED_RGBA_ASTC_10x6_KHR", }, 691 0x8CDD, "GL_FRAMEBUFFER_UNSUPPORTED",
692 {0x8253, "GL_GUILTY_CONTEXT_RESET_EXT", }, 692 },
693 {0x8CE5, "GL_COLOR_ATTACHMENT5_EXT", }, 693 {
694 {0x8CE9, "GL_COLOR_ATTACHMENT9_EXT", }, 694 0x8CDF, "GL_MAX_COLOR_ATTACHMENTS_EXT",
695 {0x8B96, "GL_PALETTE8_RGBA8_OES", }, 695 },
696 {0x8872, "GL_MAX_TEXTURE_IMAGE_UNITS", }, 696 {
697 {0x8508, "GL_DECR_WRAP", }, 697 0x90F3, "GL_CONTEXT_ROBUST_ACCESS_EXT",
698 {0x92AD, "GL_HSL_HUE_NV", }, 698 },
699 {0x92AE, "GL_HSL_SATURATION_NV", }, 699 {
700 {0x92AF, "GL_HSL_COLOR_NV", }, 700 0x90F2, "GL_MAX_MULTIVIEW_BUFFERS_EXT",
701 {0x8DC4, "GL_SAMPLER_2D_ARRAY_SHADOW_NV", }, 701 },
702 {0x8507, "GL_INCR_WRAP", }, 702 {
703 {0x8895, "GL_ELEMENT_ARRAY_BUFFER_BINDING", }, 703 0x90F1, "GL_MULTIVIEW_EXT",
704 {0x8894, "GL_ARRAY_BUFFER_BINDING", }, 704 },
705 {0x92A3, "GL_INVERT_RGB_NV", }, 705 {
706 {0x92A4, "GL_LINEARDODGE_NV", }, 706 0x90F0, "GL_COLOR_ATTACHMENT_EXT",
707 {0x92A5, "GL_LINEARBURN_NV", }, 707 },
708 {0x8893, "GL_ELEMENT_ARRAY_BUFFER", }, 708 {
709 {0x8892, "GL_ARRAY_BUFFER", }, 709 0x803C, "GL_ALPHA8_OES",
710 {0x92A8, "GL_PINLIGHT_NV", }, 710 },
711 {0x92A9, "GL_HARDMIX_NV", }, 711 {
712 {0x8BD8, "GL_TEXTURE_IMAGE_VALID_QCOM", }, 712 0x84F5, "GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM",
713 {0x84D5, "GL_TEXTURE21", }, 713 },
714 {0x9287, "GL_DST_NV", }, 714 {
715 {0x93BA, "GL_COMPRESSED_RGBA_ASTC_10x8_KHR", }, 715 0x882A, "GL_DRAW_BUFFER5_EXT",
716 {0x93BB, "GL_COMPRESSED_RGBA_ASTC_10x10_KHR", }, 716 },
717 {0x93BC, "GL_COMPRESSED_RGBA_ASTC_12x10_KHR", }, 717 {
718 {0x93BD, "GL_COMPRESSED_RGBA_ASTC_12x12_KHR", }, 718 0x80AA, "GL_SAMPLE_COVERAGE_VALUE",
719 {0x84E8, "GL_MAX_RENDERBUFFER_SIZE", }, 719 },
720 {0x9281, "GL_BLEND_OVERLAP_NV", }, 720 {
721 {0x9280, "GL_BLEND_PREMULTIPLIED_SRC_NV", }, 721 0x84F6, "GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM",
722 {0x8370, "GL_MIRRORED_REPEAT", }, 722 },
723 {0x84E0, "GL_ACTIVE_TEXTURE", }, 723 {
724 {0x8800, "GL_STENCIL_BACK_FUNC", }, 724 0x80AB, "GL_SAMPLE_COVERAGE_INVERT",
725 {0x8801, "GL_STENCIL_BACK_FAIL", }, 725 },
726 {0x0D33, "GL_MAX_TEXTURE_SIZE", }, 726 {
727 {0x8624, "GL_VERTEX_ATTRIB_ARRAY_STRIDE", }, 727 0x8C41, "GL_SRGB8_NV",
728 {0x8625, "GL_VERTEX_ATTRIB_ARRAY_TYPE", }, 728 },
729 {0x8622, "GL_VERTEX_ATTRIB_ARRAY_ENABLED", }, 729 {
730 {0x8623, "GL_VERTEX_ATTRIB_ARRAY_SIZE", }, 730 0x8C40, "GL_SRGB_EXT",
731 {0x8DB9, "GL_FRAMEBUFFER_SRGB_EXT", }, 731 },
732 {0x8259, "GL_ACTIVE_PROGRAM_EXT", }, 732 {
733 {0x8258, "GL_PROGRAM_SEPARABLE_EXT", }, 733 0x882B, "GL_DRAW_BUFFER6_EXT",
734 {0x8256, "GL_RESET_NOTIFICATION_STRATEGY_EXT", }, 734 },
735 {0x8255, "GL_UNKNOWN_CONTEXT_RESET_EXT", }, 735 {
736 {0x8254, "GL_INNOCENT_CONTEXT_RESET_EXT", }, 736 0x8C17, "GL_UNSIGNED_NORMALIZED_EXT",
737 {0x1100, "GL_DONT_CARE", }, 737 },
738 {0x1101, "GL_FASTEST", }, 738 {
739 {0x8251, "GL_DEBUG_TYPE_OTHER_KHR", }, 739 0x8A4A, "GL_SKIP_DECODE_EXT",
740 {0x8250, "GL_DEBUG_TYPE_PERFORMANCE_KHR", }, 740 },
741 {0x8CEB, "GL_COLOR_ATTACHMENT11_EXT", }, 741 {
742 {0x8CEC, "GL_COLOR_ATTACHMENT12_EXT", }, 742 0x8A4F, "GL_PROGRAM_PIPELINE_OBJECT_EXT",
743 {0x0408, "GL_FRONT_AND_BACK", }, 743 },
744 {0x8CEA, "GL_COLOR_ATTACHMENT10_EXT", }, 744 {
745 {0x8CEF, "GL_COLOR_ATTACHMENT15_EXT", }, 745 0x882C, "GL_DRAW_BUFFER7_EXT",
746 {0x8CED, "GL_COLOR_ATTACHMENT13_EXT", }, 746 },
747 {0x8829, "GL_DRAW_BUFFER4_EXT", }, 747 {
748 {0x0404, "GL_FRONT", }, 748 0x0010, "GL_MAP_FLUSH_EXPLICIT_BIT_EXT",
749 {0x0405, "GL_BACK", }, 749 },
750 {0x88E1, "GL_STREAM_READ", }, 750 {
751 {0x88E0, "GL_STREAM_DRAW", }, 751 0x882D, "GL_DRAW_BUFFER8_EXT",
752 {0x88E4, "GL_STATIC_DRAW", }, 752 },
753 {0x93C6, "GL_COMPRESSED_RGBA_ASTC_5x5x5_OES", }, 753 {
754 {0x88E8, "GL_DYNAMIC_DRAW", }, 754 0x8F37, "GL_COPY_WRITE_BUFFER_NV",
755 {0x9291, "GL_PLUS_NV", }, 755 },
756 {0x8CAA, "GL_READ_FRAMEBUFFER_BINDING_ANGLE", }, 756 {
757 {0x93C5, "GL_COMPRESSED_RGBA_ASTC_5x5x4_OES", }, 757 0x8F36, "GL_COPY_READ_BUFFER_NV",
758 {0x40000000, "GL_MULTISAMPLE_BUFFER_BIT6_QCOM", }, 758 },
759 {0x9116, "GL_SYNC_FENCE_APPLE", }, 759 {
760 {0x93C4, "GL_COMPRESSED_RGBA_ASTC_5x4x4_OES", }, 760 0x84FF, "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT",
761 {0x88EE, "GL_ETC1_SRGB8_NV", }, 761 },
762 {0x93C3, "GL_COMPRESSED_RGBA_ASTC_4x4x4_OES", }, 762 {
763 {0x00000800, "GL_DEPTH_BUFFER_BIT3_QCOM", }, 763 0x6000, "GL_TEXTURE_POOL_CHROMIUM",
764 {0x1903, "GL_RED_EXT", }, 764 },
765 {0x93C2, "GL_COMPRESSED_RGBA_ASTC_4x4x3_OES", }, 765 {
766 {0x8CE2, "GL_COLOR_ATTACHMENT2_EXT", }, 766 0x0B74, "GL_DEPTH_FUNC",
767 {0x8BC1, "GL_COUNTER_RANGE_AMD", }, 767 },
768 {0x8CE0, "GL_COLOR_ATTACHMENT0", }, 768 {
769 {0x8CE1, "GL_COLOR_ATTACHMENT1_EXT", }, 769 0x8A49, "GL_DECODE_EXT",
770 {0x8CE6, "GL_COLOR_ATTACHMENT6_EXT", }, 770 },
771 {0x93C1, "GL_COMPRESSED_RGBA_ASTC_4x3x3_OES", }, 771 {
772 {0x8A1F, "GL_RGB_422_APPLE", }, 772 0x881B, "GL_RGB16F_EXT",
773 {0x93DC, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR", }, 773 },
774 {0x9292, "GL_PLUS_DARKER_NV", }, 774 {
775 {0x8CE8, "GL_COLOR_ATTACHMENT8_EXT", }, 775 0x0B71, "GL_DEPTH_TEST",
776 {0x93C0, "GL_COMPRESSED_RGBA_ASTC_3x3x3_OES", }, 776 },
777 {0x0C23, "GL_COLOR_WRITEMASK", }, 777 {
778 {0x0C22, "GL_COLOR_CLEAR_VALUE", }, 778 0x0B70, "GL_DEPTH_RANGE",
779 {0x8823, "GL_WRITEONLY_RENDERING_QCOM", }, 779 },
780 {0x8824, "GL_MAX_DRAW_BUFFERS_EXT", }, 780 {
781 {0x825A, "GL_PROGRAM_PIPELINE_BINDING_EXT", }, 781 0x0B73, "GL_DEPTH_CLEAR_VALUE",
782 {0x1909, "GL_LUMINANCE", }, 782 },
783 {0x0D3A, "GL_MAX_VIEWPORT_DIMS", }, 783 {
784 {0x8B53, "GL_INT_VEC2", }, 784 0x0B72, "GL_DEPTH_WRITEMASK",
785 {0x8826, "GL_DRAW_BUFFER1_EXT", }, 785 },
786 {0x809E, "GL_SAMPLE_ALPHA_TO_COVERAGE", }, 786 {
787 {0x8BC0, "GL_COUNTER_TYPE_AMD", }, 787 0x85BA, "GL_UNSIGNED_SHORT_8_8_APPLE",
788 {0x8BC3, "GL_PERCENTAGE_AMD", }, 788 },
789 {0x8BC2, "GL_UNSIGNED_INT64_AMD", }, 789 {
790 {0x8BC5, "GL_PERFMON_RESULT_SIZE_AMD", }, 790 0x882E, "GL_DRAW_BUFFER9_EXT",
791 {0x8BC4, "GL_PERFMON_RESULT_AVAILABLE_AMD", }, 791 },
792 {0x8BC6, "GL_PERFMON_RESULT_AMD", }, }; 792 {
793 0x6001, "GL_TEXTURE_POOL_MANAGED_CHROMIUM",
794 },
795 {
796 0x8073, "GL_MAX_3D_TEXTURE_SIZE_OES",
797 },
798 {
799 0x8072, "GL_TEXTURE_WRAP_R_OES",
800 },
801 {
802 0x9289, "GL_DST_OVER_NV",
803 },
804 {
805 0x882F, "GL_DRAW_BUFFER10_EXT",
806 },
807 {
808 0x8074, "GL_VERTEX_ARRAY_KHR",
809 },
810 {
811 0x80E1, "GL_BGRA_EXT",
812 },
813 {
814 0x8ED7, "GL_COVERAGE_AUTOMATIC_NV",
815 },
816 {
817 0x8ED6, "GL_COVERAGE_EDGE_FRAGMENTS_NV",
818 },
819 {
820 0x8ED5, "GL_COVERAGE_ALL_FRAGMENTS_NV",
821 },
822 {
823 0x8ED4, "GL_COVERAGE_SAMPLES_NV",
824 },
825 {
826 0x8ED3, "GL_COVERAGE_BUFFERS_NV",
827 },
828 {
829 0x8ED2, "GL_COVERAGE_ATTACHMENT_NV",
830 },
831 {
832 0x8ED1, "GL_COVERAGE_COMPONENT4_NV",
833 },
834 {
835 0x8ED0, "GL_COVERAGE_COMPONENT_NV",
836 },
837 {
838 0x9288, "GL_SRC_OVER_NV",
839 },
840 {
841 0x800B, "GL_FUNC_REVERSE_SUBTRACT",
842 },
843 {
844 0x00000400, "GL_STENCIL_BUFFER_BIT",
845 },
846 {
847 0x800A, "GL_FUNC_SUBTRACT",
848 },
849 {
850 0x8E2C, "GL_DEPTH_COMPONENT16_NONLINEAR_NV",
851 },
852 {
853 0x889F, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",
854 },
855 {
856 0x8219, "GL_FRAMEBUFFER_UNDEFINED_OES",
857 },
858 {
859 0x8E22, "GL_TRANSFORM_FEEDBACK",
860 },
861 {
862 0x8E28, "GL_TIMESTAMP_EXT",
863 },
864 {
865 0x8006, "GL_FUNC_ADD",
866 },
867 {
868 0x8007, "GL_MIN_EXT",
869 },
870 {
871 0x8004, "GL_ONE_MINUS_CONSTANT_ALPHA",
872 },
873 {
874 0x8005, "GL_BLEND_COLOR",
875 },
876 {
877 0x8002, "GL_ONE_MINUS_CONSTANT_COLOR",
878 },
879 {
880 0x8003, "GL_CONSTANT_ALPHA",
881 },
882 {
883 0x8001, "GL_CONSTANT_COLOR",
884 },
885 {
886 0x0204, "GL_GREATER",
887 },
888 {
889 0x0205, "GL_NOTEQUAL",
890 },
891 {
892 0x0206, "GL_GEQUAL",
893 },
894 {
895 0x0207, "GL_ALWAYS",
896 },
897 {
898 0x0200, "GL_NEVER",
899 },
900 {
901 0x0201, "GL_LESS",
902 },
903 {
904 0x0202, "GL_EQUAL",
905 },
906 {
907 0x0203, "GL_LEQUAL",
908 },
909 {
910 0x2901, "GL_REPEAT",
911 },
912 {
913 0x92A0, "GL_EXCLUSION_NV",
914 },
915 {
916 0x93D8, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR",
917 },
918 {
919 0x93D9, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR",
920 },
921 {
922 0x8FB2, "GL_GPU_OPTIMIZED_QCOM",
923 },
924 {
925 0x190A, "GL_LUMINANCE_ALPHA",
926 },
927 {
928 0x8FB0, "GL_BINNING_CONTROL_HINT_QCOM",
929 },
930 {
931 0x92A1, "GL_CONTRAST_NV",
932 },
933 {
934 0x1E00, "GL_KEEP",
935 },
936 {
937 0x1E01, "GL_REPLACE",
938 },
939 {
940 0x1E02, "GL_INCR",
941 },
942 {
943 0x1E03, "GL_DECR",
944 },
945 {
946 0x93D6, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR",
947 },
948 {
949 0x93D7, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR",
950 },
951 {
952 0x93D4, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR",
953 },
954 {
955 0x93D5, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR",
956 },
957 {
958 0x0BE2, "GL_BLEND",
959 },
960 {
961 0x84CB, "GL_TEXTURE11",
962 },
963 {
964 0x8D55, "GL_RENDERBUFFER_STENCIL_SIZE",
965 },
966 {
967 0x8D54, "GL_RENDERBUFFER_DEPTH_SIZE",
968 },
969 {
970 0x8D57, "GL_MAX_SAMPLES_ANGLE",
971 },
972 {
973 0x8D56, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE",
974 },
975 {
976 0x8D51, "GL_RENDERBUFFER_GREEN_SIZE",
977 },
978 {
979 0x8D50, "GL_RENDERBUFFER_RED_SIZE",
980 },
981 {
982 0x8D53, "GL_RENDERBUFFER_ALPHA_SIZE",
983 },
984 {
985 0x8D52, "GL_RENDERBUFFER_BLUE_SIZE",
986 },
987 {
988 0x92A6, "GL_VIVIDLIGHT_NV",
989 },
990 {
991 0x00080000, "GL_STENCIL_BUFFER_BIT3_QCOM",
992 },
993 {
994 0x92A7, "GL_LINEARLIGHT_NV",
995 },
996 {
997 0x886A, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED",
998 },
999 {
1000 0x0C01, "GL_DRAW_BUFFER_EXT",
1001 },
1002 {
1003 0x93C7, "GL_COMPRESSED_RGBA_ASTC_6x5x5_OES",
1004 },
1005 {
1006 0x8B5F, "GL_SAMPLER_3D_OES",
1007 },
1008 {
1009 0x8B95, "GL_PALETTE8_RGB8_OES",
1010 },
1011 {
1012 0x9250, "GL_SHADER_BINARY_DMP",
1013 },
1014 {
1015 0x10000000, "GL_MULTISAMPLE_BUFFER_BIT4_QCOM",
1016 },
1017 {
1018 0x8C92, "GL_ATC_RGB_AMD",
1019 },
1020 {
1021 0x9154, "GL_VERTEX_ARRAY_OBJECT_EXT",
1022 },
1023 {
1024 0x9153, "GL_QUERY_OBJECT_EXT",
1025 },
1026 {
1027 0x8864, "GL_QUERY_COUNTER_BITS_EXT",
1028 },
1029 {
1030 0x9151, "GL_BUFFER_OBJECT_EXT",
1031 },
1032 {
1033 0x8C93, "GL_ATC_RGBA_EXPLICIT_ALPHA_AMD",
1034 },
1035 {
1036 0x00000002, "GL_CONTEXT_FLAG_DEBUG_BIT_KHR",
1037 },
1038 {
1039 0x00000001, "GL_SYNC_FLUSH_COMMANDS_BIT_APPLE",
1040 },
1041 {
1042 0x9248, "GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM",
1043 },
1044 {
1045 0x00000004, "GL_COLOR_BUFFER_BIT2_QCOM",
1046 },
1047 {
1048 0x1702, "GL_TEXTURE",
1049 },
1050 {
1051 0x00000008, "GL_COLOR_BUFFER_BIT3_QCOM",
1052 },
1053 {
1054 0x8B58, "GL_BOOL_VEC3",
1055 },
1056 {
1057 0x8828, "GL_DRAW_BUFFER3_EXT",
1058 },
1059 {
1060 0x8DF0, "GL_LOW_FLOAT",
1061 },
1062 {
1063 0x1906, "GL_ALPHA",
1064 },
1065 {
1066 0x1907, "GL_RGB",
1067 },
1068 {
1069 0x8FBB, "GL_GPU_DISJOINT_EXT",
1070 },
1071 {
1072 0x1902, "GL_DEPTH_COMPONENT",
1073 },
1074 {
1075 0x8B56, "GL_BOOL",
1076 },
1077 {
1078 0x93DB, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR",
1079 },
1080 {
1081 0x8B9B, "GL_IMPLEMENTATION_COLOR_READ_FORMAT",
1082 },
1083 {
1084 0x8B9A, "GL_IMPLEMENTATION_COLOR_READ_TYPE",
1085 },
1086 {
1087 0x93DA, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR",
1088 },
1089 {
1090 0x1908, "GL_RGBA",
1091 },
1092 {
1093 0x8DF2, "GL_HIGH_FLOAT",
1094 },
1095 {
1096 0x93DD, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR",
1097 },
1098 {
1099 0x8827, "GL_DRAW_BUFFER2_EXT",
1100 },
1101 {
1102 0x9243, "GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM",
1103 },
1104 {
1105 0x8DF3, "GL_LOW_INT",
1106 },
1107 {
1108 0x82E8, "GL_MAX_LABEL_LENGTH_KHR",
1109 },
1110 {
1111 0x82E6, "GL_SAMPLER_KHR",
1112 },
1113 {
1114 0x0C02, "GL_READ_BUFFER_EXT",
1115 },
1116 {
1117 0x82E3, "GL_QUERY_KHR",
1118 },
1119 {
1120 0x82E2, "GL_PROGRAM_KHR",
1121 },
1122 {
1123 0x82E1, "GL_SHADER_KHR",
1124 },
1125 {
1126 0x8B52, "GL_FLOAT_VEC4",
1127 },
1128 {
1129 0x9240, "GL_UNPACK_FLIP_Y_CHROMIUM",
1130 },
1131 {
1132 0x8DF6, "GL_UNSIGNED_INT_10_10_10_2_OES",
1133 },
1134 {
1135 0x8230, "GL_RG32F_EXT",
1136 },
1137 {
1138 0x8DF7, "GL_INT_10_10_10_2_OES",
1139 },
1140 {
1141 0x9246, "GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM",
1142 },
1143 {
1144 0x8B69, "GL_FLOAT_MAT4x2_NV",
1145 },
1146 {
1147 0x812D, "GL_CLAMP_TO_BORDER_NV",
1148 },
1149 {
1150 0x812F, "GL_CLAMP_TO_EDGE",
1151 },
1152 {
1153 0x86A3, "GL_COMPRESSED_TEXTURE_FORMATS",
1154 },
1155 {
1156 0x9244, "GL_BIND_GENERATES_RESOURCE_CHROMIUM",
1157 },
1158 {
1159 0x86A2, "GL_NUM_COMPRESSED_TEXTURE_FORMATS",
1160 },
1161 {
1162 0x0CF3, "GL_UNPACK_SKIP_ROWS_EXT",
1163 },
1164 {
1165 0x0CF2, "GL_UNPACK_ROW_LENGTH_EXT",
1166 },
1167 {
1168 0x140C, "GL_FIXED",
1169 },
1170 {
1171 0x8008, "GL_MAX_EXT",
1172 },
1173 {
1174 0x0CF5, "GL_UNPACK_ALIGNMENT",
1175 },
1176 {
1177 0x0CF4, "GL_UNPACK_SKIP_PIXELS_EXT",
1178 },
1179 {
1180 0x8009, "GL_BLEND_EQUATION",
1181 },
1182 {
1183 0x1401, "GL_UNSIGNED_BYTE",
1184 },
1185 {
1186 0x1400, "GL_BYTE",
1187 },
1188 {
1189 0x1403, "GL_UNSIGNED_SHORT",
1190 },
1191 {
1192 0x1402, "GL_SHORT",
1193 },
1194 {
1195 0x1405, "GL_UNSIGNED_INT",
1196 },
1197 {
1198 0x1404, "GL_INT",
1199 },
1200 {
1201 0x1406, "GL_FLOAT",
1202 },
1203 {
1204 0x8043, "GL_LUMINANCE4_ALPHA4_OES",
1205 },
1206 {
1207 0x8040, "GL_LUMINANCE8_OES",
1208 },
1209 {
1210 0x8045, "GL_LUMINANCE8_ALPHA8_OES",
1211 },
1212 {
1213 0x8CD1, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",
1214 },
1215 {
1216 0x00040000, "GL_STENCIL_BUFFER_BIT2_QCOM",
1217 },
1218 {
1219 0x8CD0, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",
1220 },
1221 {
1222 0x8CE4, "GL_COLOR_ATTACHMENT4_EXT",
1223 },
1224 {
1225 0x8CD3, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",
1226 },
1227 {
1228 0x929E, "GL_DIFFERENCE_NV",
1229 },
1230 {
1231 0x0B90, "GL_STENCIL_TEST",
1232 },
1233 {
1234 0x8CD2, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",
1235 },
1236 {
1237 0x881C, "GL_ALPHA16F_EXT",
1238 },
1239 {
1240 0x928E, "GL_SRC_ATOP_NV",
1241 },
1242 {
1243 0x8CD4, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES",
1244 },
1245 {
1246 0x9298, "GL_LIGHTEN_NV",
1247 },
1248 {
1249 0x8CD7, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",
1250 },
1251 {
1252 0x9112, "GL_OBJECT_TYPE_APPLE",
1253 },
1254 {
1255 0x8038, "GL_POLYGON_OFFSET_FACTOR",
1256 },
1257 {
1258 0x851A, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z",
1259 },
1260 {
1261 0x851C, "GL_MAX_CUBE_MAP_TEXTURE_SIZE",
1262 },
1263 {
1264 0x8CD9, "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS",
1265 },
1266 {
1267 0x84CC, "GL_TEXTURE12",
1268 },
1269 {
1270 0x0BA2, "GL_VIEWPORT",
1271 },
1272 {
1273 0x84CA, "GL_TEXTURE10",
1274 },
1275 {
1276 0x84CF, "GL_TEXTURE15",
1277 },
1278 {
1279 0x84CE, "GL_TEXTURE14",
1280 },
1281 {
1282 0x84CD, "GL_TEXTURE13",
1283 },
1284 {
1285 0x9115, "GL_SYNC_FLAGS_APPLE",
1286 },
1287 {
1288 0x9286, "GL_SRC_NV",
1289 },
1290 {
1291 0x83F3, "GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE",
1292 },
1293 {
1294 0x83F2, "GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE",
1295 },
1296 {
1297 0x83F1, "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT",
1298 },
1299 {
1300 0x9114, "GL_SYNC_STATUS_APPLE",
1301 },
1302 {
1303 0x8C0A, "GL_SGX_BINARY_IMG",
1304 },
1305 {
1306 0x9285, "GL_BLEND_ADVANCED_COHERENT_NV",
1307 },
1308 {
1309 0x911C, "GL_CONDITION_SATISFIED_APPLE",
1310 },
1311 {
1312 0x911B, "GL_TIMEOUT_EXPIRED_APPLE",
1313 },
1314 {
1315 0x911A, "GL_ALREADY_SIGNALED_APPLE",
1316 },
1317 {
1318 0x9284, "GL_CONJOINT_NV",
1319 },
1320 {
1321 0x911D, "GL_WAIT_FAILED_APPLE",
1322 },
1323 {
1324 0x929A, "GL_COLORBURN_NV",
1325 },
1326 {
1327 0x929B, "GL_HARDLIGHT_NV",
1328 },
1329 {
1330 0x929C, "GL_SOFTLIGHT_NV",
1331 },
1332 {
1333 0x846D, "GL_ALIASED_POINT_SIZE_RANGE",
1334 },
1335 {
1336 0x846E, "GL_ALIASED_LINE_WIDTH_RANGE",
1337 },
1338 {
1339 0x929F, "GL_MINUS_NV",
1340 },
1341 {
1342 0x9282, "GL_UNCORRELATED_NV",
1343 },
1344 {
1345 0x9113, "GL_SYNC_CONDITION_APPLE",
1346 },
1347 {
1348 0x93A4, "GL_PACK_REVERSE_ROW_ORDER_ANGLE",
1349 },
1350 {
1351 0x9111, "GL_MAX_SERVER_WAIT_TIMEOUT_APPLE",
1352 },
1353 {
1354 0x93A6, "GL_PROGRAM_BINARY_ANGLE",
1355 },
1356 {
1357 0x9117, "GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE",
1358 },
1359 {
1360 0x93A0, "GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE",
1361 },
1362 {
1363 0x93A3, "GL_FRAMEBUFFER_ATTACHMENT_ANGLE",
1364 },
1365 {
1366 0x93A2, "GL_TEXTURE_USAGE_ANGLE",
1367 },
1368 {
1369 0x8802, "GL_STENCIL_BACK_PASS_DEPTH_FAIL",
1370 },
1371 {
1372 0x9119, "GL_SIGNALED_APPLE",
1373 },
1374 {
1375 0x9118, "GL_UNSIGNALED_APPLE",
1376 },
1377 {
1378 0x9294, "GL_MULTIPLY_NV",
1379 },
1380 {
1381 0x9295, "GL_SCREEN_NV",
1382 },
1383 {
1384 0x9296, "GL_OVERLAY_NV",
1385 },
1386 {
1387 0x9297, "GL_DARKEN_NV",
1388 },
1389 {
1390 0x0020, "GL_MAP_UNSYNCHRONIZED_BIT_EXT",
1391 },
1392 {
1393 0x8C01, "GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG",
1394 },
1395 {
1396 0x8C00, "GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG",
1397 },
1398 {
1399 0x8A52, "GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT",
1400 },
1401 {
1402 0x8C02, "GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG",
1403 },
1404 {
1405 0x84C9, "GL_TEXTURE9",
1406 },
1407 {
1408 0x84C8, "GL_TEXTURE8",
1409 },
1410 {
1411 0x8869, "GL_MAX_VERTEX_ATTRIBS",
1412 },
1413 {
1414 0x84C3, "GL_TEXTURE3",
1415 },
1416 {
1417 0x84C2, "GL_TEXTURE2",
1418 },
1419 {
1420 0x84C1, "GL_TEXTURE1",
1421 },
1422 {
1423 0x84C0, "GL_TEXTURE0",
1424 },
1425 {
1426 0x84C7, "GL_TEXTURE7",
1427 },
1428 {
1429 0x84C6, "GL_TEXTURE6",
1430 },
1431 {
1432 0x84C5, "GL_TEXTURE5",
1433 },
1434 {
1435 0x8803, "GL_STENCIL_BACK_PASS_DEPTH_PASS",
1436 },
1437 {
1438 0x928A, "GL_SRC_IN_NV",
1439 },
1440 {
1441 0x8518, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y",
1442 },
1443 {
1444 0x8519, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z",
1445 },
1446 {
1447 0x8514, "GL_TEXTURE_BINDING_CUBE_MAP",
1448 },
1449 {
1450 0x8515, "GL_TEXTURE_CUBE_MAP_POSITIVE_X",
1451 },
1452 {
1453 0x8516, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X",
1454 },
1455 {
1456 0x8517, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y",
1457 },
1458 {
1459 0x8513, "GL_TEXTURE_CUBE_MAP",
1460 },
1461 {
1462 0x8626, "GL_CURRENT_VERTEX_ATTRIB",
1463 },
1464 {
1465 0x92B1, "GL_PLUS_CLAMPED_NV",
1466 },
1467 {
1468 0x92B0, "GL_HSL_LUMINOSITY_NV",
1469 },
1470 {
1471 0x92B3, "GL_MINUS_CLAMPED_NV",
1472 },
1473 {
1474 0x92B2, "GL_PLUS_CLAMPED_ALPHA_NV",
1475 },
1476 {
1477 0x8765, "GL_BUFFER_USAGE",
1478 },
1479 {
1480 0x8764, "GL_BUFFER_SIZE",
1481 },
1482 {
1483 0x8B99, "GL_PALETTE8_RGB5_A1_OES",
1484 },
1485 {
1486 0x0503, "GL_STACK_OVERFLOW_KHR",
1487 },
1488 {
1489 0x0502, "GL_INVALID_OPERATION",
1490 },
1491 {
1492 0x0501, "GL_INVALID_VALUE",
1493 },
1494 {
1495 0x0500, "GL_INVALID_ENUM",
1496 },
1497 {
1498 64, "GL_MAILBOX_SIZE_CHROMIUM",
1499 },
1500 {
1501 0x0506, "GL_INVALID_FRAMEBUFFER_OPERATION",
1502 },
1503 {
1504 0x0505, "GL_OUT_OF_MEMORY",
1505 },
1506 {
1507 0x0504, "GL_STACK_UNDERFLOW_KHR",
1508 },
1509 {
1510 0x0B44, "GL_CULL_FACE",
1511 },
1512 {
1513 0x8B5E, "GL_SAMPLER_2D",
1514 },
1515 {
1516 0x0B46, "GL_FRONT_FACE",
1517 },
1518 {
1519 0x8FB3, "GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM",
1520 },
1521 {
1522 0x824A, "GL_DEBUG_SOURCE_APPLICATION_KHR",
1523 },
1524 {
1525 0x824B, "GL_DEBUG_SOURCE_OTHER_KHR",
1526 },
1527 {
1528 0x824C, "GL_DEBUG_TYPE_ERROR_KHR",
1529 },
1530 {
1531 0x824D, "GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR",
1532 },
1533 {
1534 0x824E, "GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR",
1535 },
1536 {
1537 0x824F, "GL_DEBUG_TYPE_PORTABILITY_KHR",
1538 },
1539 {
1540 0x8B31, "GL_VERTEX_SHADER",
1541 },
1542 {
1543 0x8B30, "GL_FRAGMENT_SHADER",
1544 },
1545 {
1546 0x8FB1, "GL_CPU_OPTIMIZED_QCOM",
1547 },
1548 {
1549 0x93D2, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR",
1550 },
1551 {
1552 0x8B5A, "GL_FLOAT_MAT2",
1553 },
1554 {
1555 0x84D8, "GL_TEXTURE24",
1556 },
1557 {
1558 0x84D9, "GL_TEXTURE25",
1559 },
1560 {
1561 0x84D6, "GL_TEXTURE22",
1562 },
1563 {
1564 0x84D7, "GL_TEXTURE23",
1565 },
1566 {
1567 0x84D4, "GL_TEXTURE20",
1568 },
1569 {
1570 0x0D05, "GL_PACK_ALIGNMENT",
1571 },
1572 {
1573 0x84D2, "GL_TEXTURE18",
1574 },
1575 {
1576 0x84D3, "GL_TEXTURE19",
1577 },
1578 {
1579 0x84D0, "GL_TEXTURE16",
1580 },
1581 {
1582 0x84D1, "GL_TEXTURE17",
1583 },
1584 {
1585 0x93D1, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR",
1586 },
1587 {
1588 0x84DF, "GL_TEXTURE31",
1589 },
1590 {
1591 0x8B97, "GL_PALETTE8_R5_G6_B5_OES",
1592 },
1593 {
1594 0x84DD, "GL_TEXTURE29",
1595 },
1596 {
1597 0x84DE, "GL_TEXTURE30",
1598 },
1599 {
1600 0x84DB, "GL_TEXTURE27",
1601 },
1602 {
1603 0x84DC, "GL_TEXTURE28",
1604 },
1605 {
1606 0x6002, "GL_TEXTURE_POOL_UNMANAGED_CHROMIUM",
1607 },
1608 {
1609 0x84DA, "GL_TEXTURE26",
1610 },
1611 {
1612 0x8242, "GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR",
1613 },
1614 {
1615 0x8243, "GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR",
1616 },
1617 {
1618 0x8244, "GL_DEBUG_CALLBACK_FUNCTION_KHR",
1619 },
1620 {
1621 0x8245, "GL_DEBUG_CALLBACK_USER_PARAM_KHR",
1622 },
1623 {
1624 0x8246, "GL_DEBUG_SOURCE_API_KHR",
1625 },
1626 {
1627 0x8247, "GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR",
1628 },
1629 {
1630 0x8248, "GL_DEBUG_SOURCE_SHADER_COMPILER_KHR",
1631 },
1632 {
1633 0x8249, "GL_DEBUG_SOURCE_THIRD_PARTY_KHR",
1634 },
1635 {
1636 0x8B94, "GL_PALETTE4_RGB5_A1_OES",
1637 },
1638 {
1639 0x00000040, "GL_COLOR_BUFFER_BIT6_QCOM",
1640 },
1641 {
1642 0x8645, "GL_VERTEX_ATTRIB_ARRAY_POINTER",
1643 },
1644 {
1645 0x8865, "GL_CURRENT_QUERY_EXT",
1646 },
1647 {
1648 0x8866, "GL_QUERY_RESULT_EXT",
1649 },
1650 {
1651 0x8867, "GL_QUERY_RESULT_AVAILABLE_EXT",
1652 },
1653 {
1654 0x08000000, "GL_MULTISAMPLE_BUFFER_BIT3_QCOM",
1655 },
1656 {
1657 0x87FA, "GL_3DC_XY_AMD",
1658 },
1659 {
1660 0x84C4, "GL_TEXTURE4",
1661 },
1662 {
1663 0x85B5, "GL_VERTEX_ARRAY_BINDING_OES",
1664 },
1665 {
1666 0x8D6A, "GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT",
1667 },
1668 {
1669 0x8D6C, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT",
1670 },
1671 {
1672 0x8252, "GL_LOSE_CONTEXT_ON_RESET_EXT",
1673 },
1674 {
1675 0x8C4C, "GL_COMPRESSED_SRGB_S3TC_DXT1_NV",
1676 },
1677 {
1678 0x8C4E, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV",
1679 },
1680 {
1681 0x1102, "GL_NICEST",
1682 },
1683 {
1684 0x8C4F, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV",
1685 },
1686 {
1687 0x93E9, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES",
1688 },
1689 {
1690 0x93E8, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES",
1691 },
1692 {
1693 0x8C43, "GL_SRGB8_ALPHA8_EXT",
1694 },
1695 {
1696 0x8C42, "GL_SRGB_ALPHA_EXT",
1697 },
1698 {
1699 0x8C45, "GL_SLUMINANCE8_ALPHA8_NV",
1700 },
1701 {
1702 0x8C44, "GL_SLUMINANCE_ALPHA_NV",
1703 },
1704 {
1705 0x8C47, "GL_SLUMINANCE8_NV",
1706 },
1707 {
1708 0x8C46, "GL_SLUMINANCE_NV",
1709 },
1710 {
1711 0x93E1, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES",
1712 },
1713 {
1714 0x93E0, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES",
1715 },
1716 {
1717 0x93E3, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES",
1718 },
1719 {
1720 0x93E2, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES",
1721 },
1722 {
1723 0x93E5, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES",
1724 },
1725 {
1726 0x93E4, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES",
1727 },
1728 {
1729 0x93E7, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES",
1730 },
1731 {
1732 0x93E6, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES",
1733 },
1734 {
1735 0x8D68, "GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES",
1736 },
1737 {
1738 0x85BB, "GL_UNSIGNED_SHORT_8_8_REV_APPLE",
1739 },
1740 {
1741 0x8D61, "GL_HALF_FLOAT_OES",
1742 },
1743 {
1744 0x8D62, "GL_RGB565",
1745 },
1746 {
1747 0x8D64, "GL_ETC1_RGB8_OES",
1748 },
1749 {
1750 0x8D65, "GL_TEXTURE_EXTERNAL_OES",
1751 },
1752 {
1753 0x8D66, "GL_SAMPLER_EXTERNAL_OES",
1754 },
1755 {
1756 0x8D67, "GL_TEXTURE_BINDING_EXTERNAL_OES",
1757 },
1758 {
1759 0x04000000, "GL_MULTISAMPLE_BUFFER_BIT2_QCOM",
1760 },
1761 {
1762 0x8CEE, "GL_COLOR_ATTACHMENT14_EXT",
1763 },
1764 {
1765 0x2800, "GL_TEXTURE_MAG_FILTER",
1766 },
1767 {
1768 0x2801, "GL_TEXTURE_MIN_FILTER",
1769 },
1770 {
1771 0x2802, "GL_TEXTURE_WRAP_S",
1772 },
1773 {
1774 0x2803, "GL_TEXTURE_WRAP_T",
1775 },
1776 {
1777 0x2703, "GL_LINEAR_MIPMAP_LINEAR",
1778 },
1779 {
1780 0x8B98, "GL_PALETTE8_RGBA4_OES",
1781 },
1782 {
1783 0x84F3, "GL_FENCE_STATUS_NV",
1784 },
1785 {
1786 0x2702, "GL_NEAREST_MIPMAP_LINEAR",
1787 },
1788 {
1789 0x1F03, "GL_EXTENSIONS",
1790 },
1791 {
1792 0x1F02, "GL_VERSION",
1793 },
1794 {
1795 0x1F01, "GL_RENDERER",
1796 },
1797 {
1798 0x1F00, "GL_VENDOR",
1799 },
1800 {
1801 0x9247, "GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM",
1802 },
1803 {
1804 0x2701, "GL_LINEAR_MIPMAP_NEAREST",
1805 },
1806 {
1807 0x9245, "GL_OVERLAY_TRANSFORM_NONE_CHROMIUM",
1808 },
1809 {
1810 0x92B4, "GL_INVERT_OVG_NV",
1811 },
1812 {
1813 0x9249, "GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM",
1814 },
1815 {
1816 0x0B94, "GL_STENCIL_FAIL",
1817 },
1818 {
1819 0x8B4C, "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS",
1820 },
1821 {
1822 0x8B4D, "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS",
1823 },
1824 {
1825 0x8B4F, "GL_SHADER_TYPE",
1826 },
1827 {
1828 0x00004000, "GL_COLOR_BUFFER_BIT",
1829 },
1830 {
1831 0x00000010, "GL_COLOR_BUFFER_BIT4_QCOM",
1832 },
1833 {
1834 0x8834, "GL_DRAW_BUFFER15_EXT",
1835 },
1836 {
1837 0x8833, "GL_DRAW_BUFFER14_EXT",
1838 },
1839 {
1840 0x8832, "GL_DRAW_BUFFER13_EXT",
1841 },
1842 {
1843 0x8831, "GL_DRAW_BUFFER12_EXT",
1844 },
1845 {
1846 0x8830, "GL_DRAW_BUFFER11_EXT",
1847 },
1848 {
1849 0x8DC5, "GL_SAMPLER_CUBE_SHADOW_NV",
1850 },
1851 {
1852 0x93B8, "GL_COMPRESSED_RGBA_ASTC_10x5_KHR",
1853 },
1854 {
1855 0x9241, "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM",
1856 },
1857 {
1858 0x00010000, "GL_STENCIL_BUFFER_BIT0_QCOM",
1859 },
1860 {
1861 0x0B93, "GL_STENCIL_VALUE_MASK",
1862 },
1863 {
1864 0x0B92, "GL_STENCIL_FUNC",
1865 },
1866 {
1867 0x0B91, "GL_STENCIL_CLEAR_VALUE",
1868 },
1869 {
1870 0x883D, "GL_BLEND_EQUATION_ALPHA",
1871 },
1872 {
1873 0x0B97, "GL_STENCIL_REF",
1874 },
1875 {
1876 0x0B96, "GL_STENCIL_PASS_DEPTH_PASS",
1877 },
1878 {
1879 0x0B95, "GL_STENCIL_PASS_DEPTH_FAIL",
1880 },
1881 {
1882 0x2700, "GL_NEAREST_MIPMAP_NEAREST",
1883 },
1884 {
1885 0x0B98, "GL_STENCIL_WRITEMASK",
1886 },
1887 {
1888 0x8B40, "GL_PROGRAM_OBJECT_EXT",
1889 },
1890 {
1891 0x1004, "GL_TEXTURE_BORDER_COLOR_NV",
1892 },
1893 {
1894 0x8B48, "GL_SHADER_OBJECT_EXT",
1895 },
1896 {
1897 0x912F, "GL_TEXTURE_IMMUTABLE_FORMAT_EXT",
1898 },
1899 {
1900 0x924A, "GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM",
1901 },
1902 {
1903 0x20000000, "GL_MULTISAMPLE_BUFFER_BIT5_QCOM",
1904 },
1905 {
1906 0x0DE1, "GL_TEXTURE_2D",
1907 },
1908 {
1909 0x80C9, "GL_BLEND_SRC_RGB",
1910 },
1911 {
1912 0x80C8, "GL_BLEND_DST_RGB",
1913 },
1914 {
1915 0x8059, "GL_RGB10_A2_EXT",
1916 },
1917 {
1918 0x8058, "GL_RGBA8_OES",
1919 },
1920 {
1921 0x8B93, "GL_PALETTE4_RGBA4_OES",
1922 },
1923 {
1924 0x00002000, "GL_DEPTH_BUFFER_BIT5_QCOM",
1925 },
1926 {
1927 0x8051, "GL_RGB8_OES",
1928 },
1929 {
1930 0x8052, "GL_RGB10_EXT",
1931 },
1932 {
1933 0x8CAB, "GL_RENDERBUFFER_SAMPLES_ANGLE",
1934 },
1935 {
1936 0x8057, "GL_RGB5_A1",
1937 },
1938 {
1939 0x8056, "GL_RGBA4",
1940 },
1941 {
1942 0x150A, "GL_INVERT",
1943 },
1944 {
1945 0x01000000, "GL_MULTISAMPLE_BUFFER_BIT0_QCOM",
1946 },
1947 {
1948 0x78ED, "GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM",
1949 },
1950 {
1951 0x78EE, "GL_PIXEL_PACK_TRANSFER_BUFFER_BINDING_CHROMIUM",
1952 },
1953 {
1954 0x78EF, "GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM",
1955 },
1956 {
1957 0x0B45, "GL_CULL_FACE_MODE",
1958 },
1959 {
1960 0x8B92, "GL_PALETTE4_R5_G6_B5_OES",
1961 },
1962 {
1963 0x00100000, "GL_STENCIL_BUFFER_BIT4_QCOM",
1964 },
1965 {
1966 0x9299, "GL_COLORDODGE_NV",
1967 },
1968 {
1969 0x8D20, "GL_STENCIL_ATTACHMENT",
1970 },
1971 {
1972 0x8B91, "GL_PALETTE4_RGBA8_OES",
1973 },
1974 {
1975 0x00000200, "GL_DEPTH_BUFFER_BIT1_QCOM",
1976 },
1977 {
1978 0x00008000, "GL_COVERAGE_BUFFER_BIT_NV",
1979 },
1980 {
1981 0x1506, "GL_XOR_NV",
1982 },
1983 {
1984 0x8CA8, "GL_READ_FRAMEBUFFER_ANGLE",
1985 },
1986 {
1987 0x8CA9, "GL_DRAW_FRAMEBUFFER_ANGLE",
1988 },
1989 {
1990 0x8CA6, "GL_FRAMEBUFFER_BINDING",
1991 },
1992 {
1993 0x8CA7, "GL_RENDERBUFFER_BINDING",
1994 },
1995 {
1996 0x8CA4, "GL_STENCIL_BACK_VALUE_MASK",
1997 },
1998 {
1999 0x8CA5, "GL_STENCIL_BACK_WRITEMASK",
2000 },
2001 {
2002 0x8B90, "GL_PALETTE4_RGB8_OES",
2003 },
2004 {
2005 0x8CA3, "GL_STENCIL_BACK_REF",
2006 },
2007 {
2008 0x80CB, "GL_BLEND_SRC_ALPHA",
2009 },
2010 {
2011 0x80CA, "GL_BLEND_DST_ALPHA",
2012 },
2013 {
2014 0x8CE7, "GL_COLOR_ATTACHMENT7_EXT",
2015 },
2016 {
2017 0x93B0, "GL_COMPRESSED_RGBA_ASTC_4x4_KHR",
2018 },
2019 {
2020 0x93B1, "GL_COMPRESSED_RGBA_ASTC_5x4_KHR",
2021 },
2022 {
2023 0x93B2, "GL_COMPRESSED_RGBA_ASTC_5x5_KHR",
2024 },
2025 {
2026 0x93B3, "GL_COMPRESSED_RGBA_ASTC_6x5_KHR",
2027 },
2028 {
2029 0x93B4, "GL_COMPRESSED_RGBA_ASTC_6x6_KHR",
2030 },
2031 {
2032 0x93B5, "GL_COMPRESSED_RGBA_ASTC_8x5_KHR",
2033 },
2034 {
2035 0x93B6, "GL_COMPRESSED_RGBA_ASTC_8x6_KHR",
2036 },
2037 {
2038 0x93B7, "GL_COMPRESSED_RGBA_ASTC_8x8_KHR",
2039 },
2040 {
2041 0x8CD6, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT",
2042 },
2043 {
2044 0x93B9, "GL_COMPRESSED_RGBA_ASTC_10x6_KHR",
2045 },
2046 {
2047 0x8253, "GL_GUILTY_CONTEXT_RESET_EXT",
2048 },
2049 {
2050 0x8CE5, "GL_COLOR_ATTACHMENT5_EXT",
2051 },
2052 {
2053 0x8CE9, "GL_COLOR_ATTACHMENT9_EXT",
2054 },
2055 {
2056 0x8B96, "GL_PALETTE8_RGBA8_OES",
2057 },
2058 {
2059 0x8872, "GL_MAX_TEXTURE_IMAGE_UNITS",
2060 },
2061 {
2062 0x8508, "GL_DECR_WRAP",
2063 },
2064 {
2065 0x92AD, "GL_HSL_HUE_NV",
2066 },
2067 {
2068 0x92AE, "GL_HSL_SATURATION_NV",
2069 },
2070 {
2071 0x92AF, "GL_HSL_COLOR_NV",
2072 },
2073 {
2074 0x8DC4, "GL_SAMPLER_2D_ARRAY_SHADOW_NV",
2075 },
2076 {
2077 0x8507, "GL_INCR_WRAP",
2078 },
2079 {
2080 0x8895, "GL_ELEMENT_ARRAY_BUFFER_BINDING",
2081 },
2082 {
2083 0x8894, "GL_ARRAY_BUFFER_BINDING",
2084 },
2085 {
2086 0x92A3, "GL_INVERT_RGB_NV",
2087 },
2088 {
2089 0x92A4, "GL_LINEARDODGE_NV",
2090 },
2091 {
2092 0x92A5, "GL_LINEARBURN_NV",
2093 },
2094 {
2095 0x8893, "GL_ELEMENT_ARRAY_BUFFER",
2096 },
2097 {
2098 0x8892, "GL_ARRAY_BUFFER",
2099 },
2100 {
2101 0x92A8, "GL_PINLIGHT_NV",
2102 },
2103 {
2104 0x92A9, "GL_HARDMIX_NV",
2105 },
2106 {
2107 0x8BD8, "GL_TEXTURE_IMAGE_VALID_QCOM",
2108 },
2109 {
2110 0x84D5, "GL_TEXTURE21",
2111 },
2112 {
2113 0x9287, "GL_DST_NV",
2114 },
2115 {
2116 0x93BA, "GL_COMPRESSED_RGBA_ASTC_10x8_KHR",
2117 },
2118 {
2119 0x93BB, "GL_COMPRESSED_RGBA_ASTC_10x10_KHR",
2120 },
2121 {
2122 0x93BC, "GL_COMPRESSED_RGBA_ASTC_12x10_KHR",
2123 },
2124 {
2125 0x93BD, "GL_COMPRESSED_RGBA_ASTC_12x12_KHR",
2126 },
2127 {
2128 0x84E8, "GL_MAX_RENDERBUFFER_SIZE",
2129 },
2130 {
2131 0x9281, "GL_BLEND_OVERLAP_NV",
2132 },
2133 {
2134 0x9280, "GL_BLEND_PREMULTIPLIED_SRC_NV",
2135 },
2136 {
2137 0x8370, "GL_MIRRORED_REPEAT",
2138 },
2139 {
2140 0x84E0, "GL_ACTIVE_TEXTURE",
2141 },
2142 {
2143 0x8800, "GL_STENCIL_BACK_FUNC",
2144 },
2145 {
2146 0x8801, "GL_STENCIL_BACK_FAIL",
2147 },
2148 {
2149 0x0D33, "GL_MAX_TEXTURE_SIZE",
2150 },
2151 {
2152 0x8624, "GL_VERTEX_ATTRIB_ARRAY_STRIDE",
2153 },
2154 {
2155 0x8625, "GL_VERTEX_ATTRIB_ARRAY_TYPE",
2156 },
2157 {
2158 0x8622, "GL_VERTEX_ATTRIB_ARRAY_ENABLED",
2159 },
2160 {
2161 0x8623, "GL_VERTEX_ATTRIB_ARRAY_SIZE",
2162 },
2163 {
2164 0x8DB9, "GL_FRAMEBUFFER_SRGB_EXT",
2165 },
2166 {
2167 0x8259, "GL_ACTIVE_PROGRAM_EXT",
2168 },
2169 {
2170 0x8258, "GL_PROGRAM_SEPARABLE_EXT",
2171 },
2172 {
2173 0x8256, "GL_RESET_NOTIFICATION_STRATEGY_EXT",
2174 },
2175 {
2176 0x8255, "GL_UNKNOWN_CONTEXT_RESET_EXT",
2177 },
2178 {
2179 0x8254, "GL_INNOCENT_CONTEXT_RESET_EXT",
2180 },
2181 {
2182 0x1100, "GL_DONT_CARE",
2183 },
2184 {
2185 0x1101, "GL_FASTEST",
2186 },
2187 {
2188 0x8251, "GL_DEBUG_TYPE_OTHER_KHR",
2189 },
2190 {
2191 0x8250, "GL_DEBUG_TYPE_PERFORMANCE_KHR",
2192 },
2193 {
2194 0x8CEB, "GL_COLOR_ATTACHMENT11_EXT",
2195 },
2196 {
2197 0x8CEC, "GL_COLOR_ATTACHMENT12_EXT",
2198 },
2199 {
2200 0x0408, "GL_FRONT_AND_BACK",
2201 },
2202 {
2203 0x8CEA, "GL_COLOR_ATTACHMENT10_EXT",
2204 },
2205 {
2206 0x8CEF, "GL_COLOR_ATTACHMENT15_EXT",
2207 },
2208 {
2209 0x8CED, "GL_COLOR_ATTACHMENT13_EXT",
2210 },
2211 {
2212 0x8829, "GL_DRAW_BUFFER4_EXT",
2213 },
2214 {
2215 0x0404, "GL_FRONT",
2216 },
2217 {
2218 0x0405, "GL_BACK",
2219 },
2220 {
2221 0x88E1, "GL_STREAM_READ",
2222 },
2223 {
2224 0x88E0, "GL_STREAM_DRAW",
2225 },
2226 {
2227 0x88E4, "GL_STATIC_DRAW",
2228 },
2229 {
2230 0x93C6, "GL_COMPRESSED_RGBA_ASTC_5x5x5_OES",
2231 },
2232 {
2233 0x88E8, "GL_DYNAMIC_DRAW",
2234 },
2235 {
2236 0x9291, "GL_PLUS_NV",
2237 },
2238 {
2239 0x8CAA, "GL_READ_FRAMEBUFFER_BINDING_ANGLE",
2240 },
2241 {
2242 0x93C5, "GL_COMPRESSED_RGBA_ASTC_5x5x4_OES",
2243 },
2244 {
2245 0x40000000, "GL_MULTISAMPLE_BUFFER_BIT6_QCOM",
2246 },
2247 {
2248 0x9116, "GL_SYNC_FENCE_APPLE",
2249 },
2250 {
2251 0x93C4, "GL_COMPRESSED_RGBA_ASTC_5x4x4_OES",
2252 },
2253 {
2254 0x88EE, "GL_ETC1_SRGB8_NV",
2255 },
2256 {
2257 0x93C3, "GL_COMPRESSED_RGBA_ASTC_4x4x4_OES",
2258 },
2259 {
2260 0x00000800, "GL_DEPTH_BUFFER_BIT3_QCOM",
2261 },
2262 {
2263 0x1903, "GL_RED_EXT",
2264 },
2265 {
2266 0x93C2, "GL_COMPRESSED_RGBA_ASTC_4x4x3_OES",
2267 },
2268 {
2269 0x8CE2, "GL_COLOR_ATTACHMENT2_EXT",
2270 },
2271 {
2272 0x8BC1, "GL_COUNTER_RANGE_AMD",
2273 },
2274 {
2275 0x8CE0, "GL_COLOR_ATTACHMENT0",
2276 },
2277 {
2278 0x8CE1, "GL_COLOR_ATTACHMENT1_EXT",
2279 },
2280 {
2281 0x8CE6, "GL_COLOR_ATTACHMENT6_EXT",
2282 },
2283 {
2284 0x93C1, "GL_COMPRESSED_RGBA_ASTC_4x3x3_OES",
2285 },
2286 {
2287 0x8A1F, "GL_RGB_422_APPLE",
2288 },
2289 {
2290 0x93DC, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR",
2291 },
2292 {
2293 0x9292, "GL_PLUS_DARKER_NV",
2294 },
2295 {
2296 0x8CE8, "GL_COLOR_ATTACHMENT8_EXT",
2297 },
2298 {
2299 0x93C0, "GL_COMPRESSED_RGBA_ASTC_3x3x3_OES",
2300 },
2301 {
2302 0x0C23, "GL_COLOR_WRITEMASK",
2303 },
2304 {
2305 0x0C22, "GL_COLOR_CLEAR_VALUE",
2306 },
2307 {
2308 0x8823, "GL_WRITEONLY_RENDERING_QCOM",
2309 },
2310 {
2311 0x8824, "GL_MAX_DRAW_BUFFERS_EXT",
2312 },
2313 {
2314 0x825A, "GL_PROGRAM_PIPELINE_BINDING_EXT",
2315 },
2316 {
2317 0x1909, "GL_LUMINANCE",
2318 },
2319 {
2320 0x0D3A, "GL_MAX_VIEWPORT_DIMS",
2321 },
2322 {
2323 0x8B53, "GL_INT_VEC2",
2324 },
2325 {
2326 0x8826, "GL_DRAW_BUFFER1_EXT",
2327 },
2328 {
2329 0x809E, "GL_SAMPLE_ALPHA_TO_COVERAGE",
2330 },
2331 {
2332 0x8BC0, "GL_COUNTER_TYPE_AMD",
2333 },
2334 {
2335 0x8BC3, "GL_PERCENTAGE_AMD",
2336 },
2337 {
2338 0x8BC2, "GL_UNSIGNED_INT64_AMD",
2339 },
2340 {
2341 0x8BC5, "GL_PERFMON_RESULT_SIZE_AMD",
2342 },
2343 {
2344 0x8BC4, "GL_PERFMON_RESULT_AVAILABLE_AMD",
2345 },
2346 {
2347 0x8BC6, "GL_PERFMON_RESULT_AMD",
2348 },
2349 };
793 2350
794 const GLES2Util::EnumToString* const GLES2Util::enum_to_string_table_ = 2351 const GLES2Util::EnumToString* const GLES2Util::enum_to_string_table_ =
795 enum_to_string_table; 2352 enum_to_string_table;
796 const size_t GLES2Util::enum_to_string_table_len_ = 2353 const size_t GLES2Util::enum_to_string_table_len_ =
797 sizeof(enum_to_string_table) / sizeof(enum_to_string_table[0]); 2354 sizeof(enum_to_string_table) / sizeof(enum_to_string_table[0]);
798 2355
799 std::string GLES2Util::GetStringAttachment(uint32 value) { 2356 std::string GLES2Util::GetStringAttachment(uint32 value) {
800 static const EnumToString string_table[] = { 2357 static const EnumToString string_table[] = {
801 {GL_COLOR_ATTACHMENT0, "GL_COLOR_ATTACHMENT0"}, 2358 {GL_COLOR_ATTACHMENT0, "GL_COLOR_ATTACHMENT0"},
802 {GL_DEPTH_ATTACHMENT, "GL_DEPTH_ATTACHMENT"}, 2359 {GL_DEPTH_ATTACHMENT, "GL_DEPTH_ATTACHMENT"},
803 {GL_STENCIL_ATTACHMENT, "GL_STENCIL_ATTACHMENT"}, }; 2360 {GL_STENCIL_ATTACHMENT, "GL_STENCIL_ATTACHMENT"},
2361 };
804 return GLES2Util::GetQualifiedEnumString( 2362 return GLES2Util::GetQualifiedEnumString(
805 string_table, arraysize(string_table), value); 2363 string_table, arraysize(string_table), value);
806 } 2364 }
807 2365
808 std::string GLES2Util::GetStringBackbufferAttachment(uint32 value) { 2366 std::string GLES2Util::GetStringBackbufferAttachment(uint32 value) {
809 static const EnumToString string_table[] = { 2367 static const EnumToString string_table[] = {
810 {GL_COLOR_EXT, "GL_COLOR_EXT"}, 2368 {GL_COLOR_EXT, "GL_COLOR_EXT"},
811 {GL_DEPTH_EXT, "GL_DEPTH_EXT"}, 2369 {GL_DEPTH_EXT, "GL_DEPTH_EXT"},
812 {GL_STENCIL_EXT, "GL_STENCIL_EXT"}, }; 2370 {GL_STENCIL_EXT, "GL_STENCIL_EXT"},
2371 };
813 return GLES2Util::GetQualifiedEnumString( 2372 return GLES2Util::GetQualifiedEnumString(
814 string_table, arraysize(string_table), value); 2373 string_table, arraysize(string_table), value);
815 } 2374 }
816 2375
817 std::string GLES2Util::GetStringBlitFilter(uint32 value) { 2376 std::string GLES2Util::GetStringBlitFilter(uint32 value) {
818 static const EnumToString string_table[] = {{GL_NEAREST, "GL_NEAREST"}, 2377 static const EnumToString string_table[] = {
819 {GL_LINEAR, "GL_LINEAR"}, }; 2378 {GL_NEAREST, "GL_NEAREST"}, {GL_LINEAR, "GL_LINEAR"},
2379 };
820 return GLES2Util::GetQualifiedEnumString( 2380 return GLES2Util::GetQualifiedEnumString(
821 string_table, arraysize(string_table), value); 2381 string_table, arraysize(string_table), value);
822 } 2382 }
823 2383
824 std::string GLES2Util::GetStringBufferParameter(uint32 value) { 2384 std::string GLES2Util::GetStringBufferParameter(uint32 value) {
825 static const EnumToString string_table[] = { 2385 static const EnumToString string_table[] = {
826 {GL_BUFFER_SIZE, "GL_BUFFER_SIZE"}, 2386 {GL_BUFFER_SIZE, "GL_BUFFER_SIZE"}, {GL_BUFFER_USAGE, "GL_BUFFER_USAGE"},
827 {GL_BUFFER_USAGE, "GL_BUFFER_USAGE"}, }; 2387 };
828 return GLES2Util::GetQualifiedEnumString( 2388 return GLES2Util::GetQualifiedEnumString(
829 string_table, arraysize(string_table), value); 2389 string_table, arraysize(string_table), value);
830 } 2390 }
831 2391
832 std::string GLES2Util::GetStringBufferTarget(uint32 value) { 2392 std::string GLES2Util::GetStringBufferTarget(uint32 value) {
833 static const EnumToString string_table[] = { 2393 static const EnumToString string_table[] = {
834 {GL_ARRAY_BUFFER, "GL_ARRAY_BUFFER"}, 2394 {GL_ARRAY_BUFFER, "GL_ARRAY_BUFFER"},
835 {GL_ELEMENT_ARRAY_BUFFER, "GL_ELEMENT_ARRAY_BUFFER"}, }; 2395 {GL_ELEMENT_ARRAY_BUFFER, "GL_ELEMENT_ARRAY_BUFFER"},
2396 };
836 return GLES2Util::GetQualifiedEnumString( 2397 return GLES2Util::GetQualifiedEnumString(
837 string_table, arraysize(string_table), value); 2398 string_table, arraysize(string_table), value);
838 } 2399 }
839 2400
840 std::string GLES2Util::GetStringBufferUsage(uint32 value) { 2401 std::string GLES2Util::GetStringBufferUsage(uint32 value) {
841 static const EnumToString string_table[] = { 2402 static const EnumToString string_table[] = {
842 {GL_STREAM_DRAW, "GL_STREAM_DRAW"}, 2403 {GL_STREAM_DRAW, "GL_STREAM_DRAW"},
843 {GL_STATIC_DRAW, "GL_STATIC_DRAW"}, 2404 {GL_STATIC_DRAW, "GL_STATIC_DRAW"},
844 {GL_DYNAMIC_DRAW, "GL_DYNAMIC_DRAW"}, }; 2405 {GL_DYNAMIC_DRAW, "GL_DYNAMIC_DRAW"},
2406 };
845 return GLES2Util::GetQualifiedEnumString( 2407 return GLES2Util::GetQualifiedEnumString(
846 string_table, arraysize(string_table), value); 2408 string_table, arraysize(string_table), value);
847 } 2409 }
848 2410
849 std::string GLES2Util::GetStringCapability(uint32 value) { 2411 std::string GLES2Util::GetStringCapability(uint32 value) {
850 static const EnumToString string_table[] = { 2412 static const EnumToString string_table[] = {
851 {GL_BLEND, "GL_BLEND"}, 2413 {GL_BLEND, "GL_BLEND"},
852 {GL_CULL_FACE, "GL_CULL_FACE"}, 2414 {GL_CULL_FACE, "GL_CULL_FACE"},
853 {GL_DEPTH_TEST, "GL_DEPTH_TEST"}, 2415 {GL_DEPTH_TEST, "GL_DEPTH_TEST"},
854 {GL_DITHER, "GL_DITHER"}, 2416 {GL_DITHER, "GL_DITHER"},
855 {GL_POLYGON_OFFSET_FILL, "GL_POLYGON_OFFSET_FILL"}, 2417 {GL_POLYGON_OFFSET_FILL, "GL_POLYGON_OFFSET_FILL"},
856 {GL_SAMPLE_ALPHA_TO_COVERAGE, "GL_SAMPLE_ALPHA_TO_COVERAGE"}, 2418 {GL_SAMPLE_ALPHA_TO_COVERAGE, "GL_SAMPLE_ALPHA_TO_COVERAGE"},
857 {GL_SAMPLE_COVERAGE, "GL_SAMPLE_COVERAGE"}, 2419 {GL_SAMPLE_COVERAGE, "GL_SAMPLE_COVERAGE"},
858 {GL_SCISSOR_TEST, "GL_SCISSOR_TEST"}, 2420 {GL_SCISSOR_TEST, "GL_SCISSOR_TEST"},
859 {GL_STENCIL_TEST, "GL_STENCIL_TEST"}, }; 2421 {GL_STENCIL_TEST, "GL_STENCIL_TEST"},
2422 };
860 return GLES2Util::GetQualifiedEnumString( 2423 return GLES2Util::GetQualifiedEnumString(
861 string_table, arraysize(string_table), value); 2424 string_table, arraysize(string_table), value);
862 } 2425 }
863 2426
864 std::string GLES2Util::GetStringCmpFunction(uint32 value) { 2427 std::string GLES2Util::GetStringCmpFunction(uint32 value) {
865 static const EnumToString string_table[] = {{GL_NEVER, "GL_NEVER"}, 2428 static const EnumToString string_table[] = {
866 {GL_LESS, "GL_LESS"}, 2429 {GL_NEVER, "GL_NEVER"},
867 {GL_EQUAL, "GL_EQUAL"}, 2430 {GL_LESS, "GL_LESS"},
868 {GL_LEQUAL, "GL_LEQUAL"}, 2431 {GL_EQUAL, "GL_EQUAL"},
869 {GL_GREATER, "GL_GREATER"}, 2432 {GL_LEQUAL, "GL_LEQUAL"},
870 {GL_NOTEQUAL, "GL_NOTEQUAL"}, 2433 {GL_GREATER, "GL_GREATER"},
871 {GL_GEQUAL, "GL_GEQUAL"}, 2434 {GL_NOTEQUAL, "GL_NOTEQUAL"},
872 {GL_ALWAYS, "GL_ALWAYS"}, }; 2435 {GL_GEQUAL, "GL_GEQUAL"},
2436 {GL_ALWAYS, "GL_ALWAYS"},
2437 };
873 return GLES2Util::GetQualifiedEnumString( 2438 return GLES2Util::GetQualifiedEnumString(
874 string_table, arraysize(string_table), value); 2439 string_table, arraysize(string_table), value);
875 } 2440 }
876 2441
877 std::string GLES2Util::GetStringCompressedTextureFormat(uint32 value) { 2442 std::string GLES2Util::GetStringCompressedTextureFormat(uint32 value) {
878 return GLES2Util::GetQualifiedEnumString(NULL, 0, value); 2443 return GLES2Util::GetQualifiedEnumString(NULL, 0, value);
879 } 2444 }
880 2445
881 std::string GLES2Util::GetStringDrawMode(uint32 value) { 2446 std::string GLES2Util::GetStringDrawMode(uint32 value) {
882 static const EnumToString string_table[] = { 2447 static const EnumToString string_table[] = {
883 {GL_POINTS, "GL_POINTS"}, 2448 {GL_POINTS, "GL_POINTS"},
884 {GL_LINE_STRIP, "GL_LINE_STRIP"}, 2449 {GL_LINE_STRIP, "GL_LINE_STRIP"},
885 {GL_LINE_LOOP, "GL_LINE_LOOP"}, 2450 {GL_LINE_LOOP, "GL_LINE_LOOP"},
886 {GL_LINES, "GL_LINES"}, 2451 {GL_LINES, "GL_LINES"},
887 {GL_TRIANGLE_STRIP, "GL_TRIANGLE_STRIP"}, 2452 {GL_TRIANGLE_STRIP, "GL_TRIANGLE_STRIP"},
888 {GL_TRIANGLE_FAN, "GL_TRIANGLE_FAN"}, 2453 {GL_TRIANGLE_FAN, "GL_TRIANGLE_FAN"},
889 {GL_TRIANGLES, "GL_TRIANGLES"}, }; 2454 {GL_TRIANGLES, "GL_TRIANGLES"},
2455 };
890 return GLES2Util::GetQualifiedEnumString( 2456 return GLES2Util::GetQualifiedEnumString(
891 string_table, arraysize(string_table), value); 2457 string_table, arraysize(string_table), value);
892 } 2458 }
893 2459
894 std::string GLES2Util::GetStringDstBlendFactor(uint32 value) { 2460 std::string GLES2Util::GetStringDstBlendFactor(uint32 value) {
895 static const EnumToString string_table[] = { 2461 static const EnumToString string_table[] = {
896 {GL_ZERO, "GL_ZERO"}, 2462 {GL_ZERO, "GL_ZERO"},
897 {GL_ONE, "GL_ONE"}, 2463 {GL_ONE, "GL_ONE"},
898 {GL_SRC_COLOR, "GL_SRC_COLOR"}, 2464 {GL_SRC_COLOR, "GL_SRC_COLOR"},
899 {GL_ONE_MINUS_SRC_COLOR, "GL_ONE_MINUS_SRC_COLOR"}, 2465 {GL_ONE_MINUS_SRC_COLOR, "GL_ONE_MINUS_SRC_COLOR"},
900 {GL_DST_COLOR, "GL_DST_COLOR"}, 2466 {GL_DST_COLOR, "GL_DST_COLOR"},
901 {GL_ONE_MINUS_DST_COLOR, "GL_ONE_MINUS_DST_COLOR"}, 2467 {GL_ONE_MINUS_DST_COLOR, "GL_ONE_MINUS_DST_COLOR"},
902 {GL_SRC_ALPHA, "GL_SRC_ALPHA"}, 2468 {GL_SRC_ALPHA, "GL_SRC_ALPHA"},
903 {GL_ONE_MINUS_SRC_ALPHA, "GL_ONE_MINUS_SRC_ALPHA"}, 2469 {GL_ONE_MINUS_SRC_ALPHA, "GL_ONE_MINUS_SRC_ALPHA"},
904 {GL_DST_ALPHA, "GL_DST_ALPHA"}, 2470 {GL_DST_ALPHA, "GL_DST_ALPHA"},
905 {GL_ONE_MINUS_DST_ALPHA, "GL_ONE_MINUS_DST_ALPHA"}, 2471 {GL_ONE_MINUS_DST_ALPHA, "GL_ONE_MINUS_DST_ALPHA"},
906 {GL_CONSTANT_COLOR, "GL_CONSTANT_COLOR"}, 2472 {GL_CONSTANT_COLOR, "GL_CONSTANT_COLOR"},
907 {GL_ONE_MINUS_CONSTANT_COLOR, "GL_ONE_MINUS_CONSTANT_COLOR"}, 2473 {GL_ONE_MINUS_CONSTANT_COLOR, "GL_ONE_MINUS_CONSTANT_COLOR"},
908 {GL_CONSTANT_ALPHA, "GL_CONSTANT_ALPHA"}, 2474 {GL_CONSTANT_ALPHA, "GL_CONSTANT_ALPHA"},
909 {GL_ONE_MINUS_CONSTANT_ALPHA, "GL_ONE_MINUS_CONSTANT_ALPHA"}, }; 2475 {GL_ONE_MINUS_CONSTANT_ALPHA, "GL_ONE_MINUS_CONSTANT_ALPHA"},
2476 };
910 return GLES2Util::GetQualifiedEnumString( 2477 return GLES2Util::GetQualifiedEnumString(
911 string_table, arraysize(string_table), value); 2478 string_table, arraysize(string_table), value);
912 } 2479 }
913 2480
914 std::string GLES2Util::GetStringEquation(uint32 value) { 2481 std::string GLES2Util::GetStringEquation(uint32 value) {
915 static const EnumToString string_table[] = { 2482 static const EnumToString string_table[] = {
916 {GL_FUNC_ADD, "GL_FUNC_ADD"}, 2483 {GL_FUNC_ADD, "GL_FUNC_ADD"},
917 {GL_FUNC_SUBTRACT, "GL_FUNC_SUBTRACT"}, 2484 {GL_FUNC_SUBTRACT, "GL_FUNC_SUBTRACT"},
918 {GL_FUNC_REVERSE_SUBTRACT, "GL_FUNC_REVERSE_SUBTRACT"}, }; 2485 {GL_FUNC_REVERSE_SUBTRACT, "GL_FUNC_REVERSE_SUBTRACT"},
2486 };
919 return GLES2Util::GetQualifiedEnumString( 2487 return GLES2Util::GetQualifiedEnumString(
920 string_table, arraysize(string_table), value); 2488 string_table, arraysize(string_table), value);
921 } 2489 }
922 2490
923 std::string GLES2Util::GetStringFaceMode(uint32 value) { 2491 std::string GLES2Util::GetStringFaceMode(uint32 value) {
924 static const EnumToString string_table[] = {{GL_CW, "GL_CW"}, 2492 static const EnumToString string_table[] = {
925 {GL_CCW, "GL_CCW"}, }; 2493 {GL_CW, "GL_CW"}, {GL_CCW, "GL_CCW"},
2494 };
926 return GLES2Util::GetQualifiedEnumString( 2495 return GLES2Util::GetQualifiedEnumString(
927 string_table, arraysize(string_table), value); 2496 string_table, arraysize(string_table), value);
928 } 2497 }
929 2498
930 std::string GLES2Util::GetStringFaceType(uint32 value) { 2499 std::string GLES2Util::GetStringFaceType(uint32 value) {
931 static const EnumToString string_table[] = { 2500 static const EnumToString string_table[] = {
932 {GL_FRONT, "GL_FRONT"}, 2501 {GL_FRONT, "GL_FRONT"},
933 {GL_BACK, "GL_BACK"}, 2502 {GL_BACK, "GL_BACK"},
934 {GL_FRONT_AND_BACK, "GL_FRONT_AND_BACK"}, }; 2503 {GL_FRONT_AND_BACK, "GL_FRONT_AND_BACK"},
2504 };
935 return GLES2Util::GetQualifiedEnumString( 2505 return GLES2Util::GetQualifiedEnumString(
936 string_table, arraysize(string_table), value); 2506 string_table, arraysize(string_table), value);
937 } 2507 }
938 2508
939 std::string GLES2Util::GetStringFrameBufferParameter(uint32 value) { 2509 std::string GLES2Util::GetStringFrameBufferParameter(uint32 value) {
940 static const EnumToString string_table[] = { 2510 static const EnumToString string_table[] = {
941 {GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, 2511 {GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE,
942 "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE"}, 2512 "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE"},
943 {GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, 2513 {GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,
944 "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME"}, 2514 "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME"},
945 {GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL, 2515 {GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL,
946 "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL"}, 2516 "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL"},
947 {GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, 2517 {GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE,
948 "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE"}, }; 2518 "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE"},
2519 };
949 return GLES2Util::GetQualifiedEnumString( 2520 return GLES2Util::GetQualifiedEnumString(
950 string_table, arraysize(string_table), value); 2521 string_table, arraysize(string_table), value);
951 } 2522 }
952 2523
953 std::string GLES2Util::GetStringFrameBufferTarget(uint32 value) { 2524 std::string GLES2Util::GetStringFrameBufferTarget(uint32 value) {
954 static const EnumToString string_table[] = { 2525 static const EnumToString string_table[] = {
955 {GL_FRAMEBUFFER, "GL_FRAMEBUFFER"}, }; 2526 {GL_FRAMEBUFFER, "GL_FRAMEBUFFER"},
2527 };
956 return GLES2Util::GetQualifiedEnumString( 2528 return GLES2Util::GetQualifiedEnumString(
957 string_table, arraysize(string_table), value); 2529 string_table, arraysize(string_table), value);
958 } 2530 }
959 2531
960 std::string GLES2Util::GetStringGLState(uint32 value) { 2532 std::string GLES2Util::GetStringGLState(uint32 value) {
961 static const EnumToString string_table[] = { 2533 static const EnumToString string_table[] = {
962 {GL_ACTIVE_TEXTURE, "GL_ACTIVE_TEXTURE"}, 2534 {GL_ACTIVE_TEXTURE, "GL_ACTIVE_TEXTURE"},
963 {GL_ALIASED_LINE_WIDTH_RANGE, "GL_ALIASED_LINE_WIDTH_RANGE"}, 2535 {GL_ALIASED_LINE_WIDTH_RANGE, "GL_ALIASED_LINE_WIDTH_RANGE"},
964 {GL_ALIASED_POINT_SIZE_RANGE, "GL_ALIASED_POINT_SIZE_RANGE"}, 2536 {GL_ALIASED_POINT_SIZE_RANGE, "GL_ALIASED_POINT_SIZE_RANGE"},
965 {GL_ALPHA_BITS, "GL_ALPHA_BITS"}, 2537 {GL_ALPHA_BITS, "GL_ALPHA_BITS"},
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 {GL_STENCIL_BACK_PASS_DEPTH_PASS, "GL_STENCIL_BACK_PASS_DEPTH_PASS"}, 2627 {GL_STENCIL_BACK_PASS_DEPTH_PASS, "GL_STENCIL_BACK_PASS_DEPTH_PASS"},
1056 {GL_VIEWPORT, "GL_VIEWPORT"}, 2628 {GL_VIEWPORT, "GL_VIEWPORT"},
1057 {GL_BLEND, "GL_BLEND"}, 2629 {GL_BLEND, "GL_BLEND"},
1058 {GL_CULL_FACE, "GL_CULL_FACE"}, 2630 {GL_CULL_FACE, "GL_CULL_FACE"},
1059 {GL_DEPTH_TEST, "GL_DEPTH_TEST"}, 2631 {GL_DEPTH_TEST, "GL_DEPTH_TEST"},
1060 {GL_DITHER, "GL_DITHER"}, 2632 {GL_DITHER, "GL_DITHER"},
1061 {GL_POLYGON_OFFSET_FILL, "GL_POLYGON_OFFSET_FILL"}, 2633 {GL_POLYGON_OFFSET_FILL, "GL_POLYGON_OFFSET_FILL"},
1062 {GL_SAMPLE_ALPHA_TO_COVERAGE, "GL_SAMPLE_ALPHA_TO_COVERAGE"}, 2634 {GL_SAMPLE_ALPHA_TO_COVERAGE, "GL_SAMPLE_ALPHA_TO_COVERAGE"},
1063 {GL_SAMPLE_COVERAGE, "GL_SAMPLE_COVERAGE"}, 2635 {GL_SAMPLE_COVERAGE, "GL_SAMPLE_COVERAGE"},
1064 {GL_SCISSOR_TEST, "GL_SCISSOR_TEST"}, 2636 {GL_SCISSOR_TEST, "GL_SCISSOR_TEST"},
1065 {GL_STENCIL_TEST, "GL_STENCIL_TEST"}, }; 2637 {GL_STENCIL_TEST, "GL_STENCIL_TEST"},
2638 };
1066 return GLES2Util::GetQualifiedEnumString( 2639 return GLES2Util::GetQualifiedEnumString(
1067 string_table, arraysize(string_table), value); 2640 string_table, arraysize(string_table), value);
1068 } 2641 }
1069 2642
1070 std::string GLES2Util::GetStringGetMaxIndexType(uint32 value) { 2643 std::string GLES2Util::GetStringGetMaxIndexType(uint32 value) {
1071 static const EnumToString string_table[] = { 2644 static const EnumToString string_table[] = {
1072 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"}, 2645 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
1073 {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"}, 2646 {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"},
1074 {GL_UNSIGNED_INT, "GL_UNSIGNED_INT"}, }; 2647 {GL_UNSIGNED_INT, "GL_UNSIGNED_INT"},
2648 };
1075 return GLES2Util::GetQualifiedEnumString( 2649 return GLES2Util::GetQualifiedEnumString(
1076 string_table, arraysize(string_table), value); 2650 string_table, arraysize(string_table), value);
1077 } 2651 }
1078 2652
1079 std::string GLES2Util::GetStringGetTexParamTarget(uint32 value) { 2653 std::string GLES2Util::GetStringGetTexParamTarget(uint32 value) {
1080 static const EnumToString string_table[] = { 2654 static const EnumToString string_table[] = {
1081 {GL_TEXTURE_2D, "GL_TEXTURE_2D"}, 2655 {GL_TEXTURE_2D, "GL_TEXTURE_2D"},
1082 {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"}, }; 2656 {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"},
2657 };
1083 return GLES2Util::GetQualifiedEnumString( 2658 return GLES2Util::GetQualifiedEnumString(
1084 string_table, arraysize(string_table), value); 2659 string_table, arraysize(string_table), value);
1085 } 2660 }
1086 2661
1087 std::string GLES2Util::GetStringHintMode(uint32 value) { 2662 std::string GLES2Util::GetStringHintMode(uint32 value) {
1088 static const EnumToString string_table[] = {{GL_FASTEST, "GL_FASTEST"}, 2663 static const EnumToString string_table[] = {
1089 {GL_NICEST, "GL_NICEST"}, 2664 {GL_FASTEST, "GL_FASTEST"},
1090 {GL_DONT_CARE, "GL_DONT_CARE"}, }; 2665 {GL_NICEST, "GL_NICEST"},
2666 {GL_DONT_CARE, "GL_DONT_CARE"},
2667 };
1091 return GLES2Util::GetQualifiedEnumString( 2668 return GLES2Util::GetQualifiedEnumString(
1092 string_table, arraysize(string_table), value); 2669 string_table, arraysize(string_table), value);
1093 } 2670 }
1094 2671
1095 std::string GLES2Util::GetStringHintTarget(uint32 value) { 2672 std::string GLES2Util::GetStringHintTarget(uint32 value) {
1096 static const EnumToString string_table[] = { 2673 static const EnumToString string_table[] = {
1097 {GL_GENERATE_MIPMAP_HINT, "GL_GENERATE_MIPMAP_HINT"}, }; 2674 {GL_GENERATE_MIPMAP_HINT, "GL_GENERATE_MIPMAP_HINT"},
2675 };
1098 return GLES2Util::GetQualifiedEnumString( 2676 return GLES2Util::GetQualifiedEnumString(
1099 string_table, arraysize(string_table), value); 2677 string_table, arraysize(string_table), value);
1100 } 2678 }
1101 2679
1102 std::string GLES2Util::GetStringIndexType(uint32 value) { 2680 std::string GLES2Util::GetStringIndexType(uint32 value) {
1103 static const EnumToString string_table[] = { 2681 static const EnumToString string_table[] = {
1104 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"}, 2682 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
1105 {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"}, }; 2683 {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"},
2684 };
1106 return GLES2Util::GetQualifiedEnumString( 2685 return GLES2Util::GetQualifiedEnumString(
1107 string_table, arraysize(string_table), value); 2686 string_table, arraysize(string_table), value);
1108 } 2687 }
1109 2688
1110 std::string GLES2Util::GetStringPixelStore(uint32 value) { 2689 std::string GLES2Util::GetStringPixelStore(uint32 value) {
1111 static const EnumToString string_table[] = { 2690 static const EnumToString string_table[] = {
1112 {GL_PACK_ALIGNMENT, "GL_PACK_ALIGNMENT"}, 2691 {GL_PACK_ALIGNMENT, "GL_PACK_ALIGNMENT"},
1113 {GL_UNPACK_ALIGNMENT, "GL_UNPACK_ALIGNMENT"}, 2692 {GL_UNPACK_ALIGNMENT, "GL_UNPACK_ALIGNMENT"},
1114 {GL_UNPACK_FLIP_Y_CHROMIUM, "GL_UNPACK_FLIP_Y_CHROMIUM"}, 2693 {GL_UNPACK_FLIP_Y_CHROMIUM, "GL_UNPACK_FLIP_Y_CHROMIUM"},
1115 {GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM, 2694 {GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM,
1116 "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM"}, 2695 "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM"},
1117 {GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM, 2696 {GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM,
1118 "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM"}, }; 2697 "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM"},
2698 };
1119 return GLES2Util::GetQualifiedEnumString( 2699 return GLES2Util::GetQualifiedEnumString(
1120 string_table, arraysize(string_table), value); 2700 string_table, arraysize(string_table), value);
1121 } 2701 }
1122 2702
1123 std::string GLES2Util::GetStringPixelType(uint32 value) { 2703 std::string GLES2Util::GetStringPixelType(uint32 value) {
1124 static const EnumToString string_table[] = { 2704 static const EnumToString string_table[] = {
1125 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"}, 2705 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
1126 {GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5"}, 2706 {GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5"},
1127 {GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4"}, 2707 {GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4"},
1128 {GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1"}, }; 2708 {GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1"},
2709 };
1129 return GLES2Util::GetQualifiedEnumString( 2710 return GLES2Util::GetQualifiedEnumString(
1130 string_table, arraysize(string_table), value); 2711 string_table, arraysize(string_table), value);
1131 } 2712 }
1132 2713
1133 std::string GLES2Util::GetStringProgramParameter(uint32 value) { 2714 std::string GLES2Util::GetStringProgramParameter(uint32 value) {
1134 static const EnumToString string_table[] = { 2715 static const EnumToString string_table[] = {
1135 {GL_DELETE_STATUS, "GL_DELETE_STATUS"}, 2716 {GL_DELETE_STATUS, "GL_DELETE_STATUS"},
1136 {GL_LINK_STATUS, "GL_LINK_STATUS"}, 2717 {GL_LINK_STATUS, "GL_LINK_STATUS"},
1137 {GL_VALIDATE_STATUS, "GL_VALIDATE_STATUS"}, 2718 {GL_VALIDATE_STATUS, "GL_VALIDATE_STATUS"},
1138 {GL_INFO_LOG_LENGTH, "GL_INFO_LOG_LENGTH"}, 2719 {GL_INFO_LOG_LENGTH, "GL_INFO_LOG_LENGTH"},
1139 {GL_ATTACHED_SHADERS, "GL_ATTACHED_SHADERS"}, 2720 {GL_ATTACHED_SHADERS, "GL_ATTACHED_SHADERS"},
1140 {GL_ACTIVE_ATTRIBUTES, "GL_ACTIVE_ATTRIBUTES"}, 2721 {GL_ACTIVE_ATTRIBUTES, "GL_ACTIVE_ATTRIBUTES"},
1141 {GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH"}, 2722 {GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH"},
1142 {GL_ACTIVE_UNIFORMS, "GL_ACTIVE_UNIFORMS"}, 2723 {GL_ACTIVE_UNIFORMS, "GL_ACTIVE_UNIFORMS"},
1143 {GL_ACTIVE_UNIFORM_MAX_LENGTH, "GL_ACTIVE_UNIFORM_MAX_LENGTH"}, }; 2724 {GL_ACTIVE_UNIFORM_MAX_LENGTH, "GL_ACTIVE_UNIFORM_MAX_LENGTH"},
2725 };
1144 return GLES2Util::GetQualifiedEnumString( 2726 return GLES2Util::GetQualifiedEnumString(
1145 string_table, arraysize(string_table), value); 2727 string_table, arraysize(string_table), value);
1146 } 2728 }
1147 2729
1148 std::string GLES2Util::GetStringQueryObjectParameter(uint32 value) { 2730 std::string GLES2Util::GetStringQueryObjectParameter(uint32 value) {
1149 static const EnumToString string_table[] = { 2731 static const EnumToString string_table[] = {
1150 {GL_QUERY_RESULT_EXT, "GL_QUERY_RESULT_EXT"}, 2732 {GL_QUERY_RESULT_EXT, "GL_QUERY_RESULT_EXT"},
1151 {GL_QUERY_RESULT_AVAILABLE_EXT, "GL_QUERY_RESULT_AVAILABLE_EXT"}, }; 2733 {GL_QUERY_RESULT_AVAILABLE_EXT, "GL_QUERY_RESULT_AVAILABLE_EXT"},
2734 };
1152 return GLES2Util::GetQualifiedEnumString( 2735 return GLES2Util::GetQualifiedEnumString(
1153 string_table, arraysize(string_table), value); 2736 string_table, arraysize(string_table), value);
1154 } 2737 }
1155 2738
1156 std::string GLES2Util::GetStringQueryParameter(uint32 value) { 2739 std::string GLES2Util::GetStringQueryParameter(uint32 value) {
1157 static const EnumToString string_table[] = { 2740 static const EnumToString string_table[] = {
1158 {GL_CURRENT_QUERY_EXT, "GL_CURRENT_QUERY_EXT"}, }; 2741 {GL_CURRENT_QUERY_EXT, "GL_CURRENT_QUERY_EXT"},
2742 };
1159 return GLES2Util::GetQualifiedEnumString( 2743 return GLES2Util::GetQualifiedEnumString(
1160 string_table, arraysize(string_table), value); 2744 string_table, arraysize(string_table), value);
1161 } 2745 }
1162 2746
1163 std::string GLES2Util::GetStringQueryTarget(uint32 value) { 2747 std::string GLES2Util::GetStringQueryTarget(uint32 value) {
1164 static const EnumToString string_table[] = { 2748 static const EnumToString string_table[] = {
1165 {GL_ANY_SAMPLES_PASSED_EXT, "GL_ANY_SAMPLES_PASSED_EXT"}, 2749 {GL_ANY_SAMPLES_PASSED_EXT, "GL_ANY_SAMPLES_PASSED_EXT"},
1166 {GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT, 2750 {GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT,
1167 "GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT"}, 2751 "GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT"},
1168 {GL_COMMANDS_ISSUED_CHROMIUM, "GL_COMMANDS_ISSUED_CHROMIUM"}, 2752 {GL_COMMANDS_ISSUED_CHROMIUM, "GL_COMMANDS_ISSUED_CHROMIUM"},
1169 {GL_LATENCY_QUERY_CHROMIUM, "GL_LATENCY_QUERY_CHROMIUM"}, 2753 {GL_LATENCY_QUERY_CHROMIUM, "GL_LATENCY_QUERY_CHROMIUM"},
1170 {GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM, 2754 {GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM,
1171 "GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM"}, 2755 "GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM"},
1172 {GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM, 2756 {GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM,
1173 "GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM"}, 2757 "GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM"},
1174 {GL_COMMANDS_COMPLETED_CHROMIUM, "GL_COMMANDS_COMPLETED_CHROMIUM"}, }; 2758 {GL_COMMANDS_COMPLETED_CHROMIUM, "GL_COMMANDS_COMPLETED_CHROMIUM"},
2759 };
1175 return GLES2Util::GetQualifiedEnumString( 2760 return GLES2Util::GetQualifiedEnumString(
1176 string_table, arraysize(string_table), value); 2761 string_table, arraysize(string_table), value);
1177 } 2762 }
1178 2763
1179 std::string GLES2Util::GetStringReadPixelFormat(uint32 value) { 2764 std::string GLES2Util::GetStringReadPixelFormat(uint32 value) {
1180 static const EnumToString string_table[] = { 2765 static const EnumToString string_table[] = {
1181 {GL_ALPHA, "GL_ALPHA"}, {GL_RGB, "GL_RGB"}, {GL_RGBA, "GL_RGBA"}, }; 2766 {GL_ALPHA, "GL_ALPHA"}, {GL_RGB, "GL_RGB"}, {GL_RGBA, "GL_RGBA"},
2767 };
1182 return GLES2Util::GetQualifiedEnumString( 2768 return GLES2Util::GetQualifiedEnumString(
1183 string_table, arraysize(string_table), value); 2769 string_table, arraysize(string_table), value);
1184 } 2770 }
1185 2771
1186 std::string GLES2Util::GetStringReadPixelType(uint32 value) { 2772 std::string GLES2Util::GetStringReadPixelType(uint32 value) {
1187 static const EnumToString string_table[] = { 2773 static const EnumToString string_table[] = {
1188 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"}, 2774 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
1189 {GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5"}, 2775 {GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5"},
1190 {GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4"}, 2776 {GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4"},
1191 {GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1"}, }; 2777 {GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1"},
2778 };
1192 return GLES2Util::GetQualifiedEnumString( 2779 return GLES2Util::GetQualifiedEnumString(
1193 string_table, arraysize(string_table), value); 2780 string_table, arraysize(string_table), value);
1194 } 2781 }
1195 2782
1196 std::string GLES2Util::GetStringRenderBufferFormat(uint32 value) { 2783 std::string GLES2Util::GetStringRenderBufferFormat(uint32 value) {
1197 static const EnumToString string_table[] = { 2784 static const EnumToString string_table[] = {
1198 {GL_RGBA4, "GL_RGBA4"}, 2785 {GL_RGBA4, "GL_RGBA4"},
1199 {GL_RGB565, "GL_RGB565"}, 2786 {GL_RGB565, "GL_RGB565"},
1200 {GL_RGB5_A1, "GL_RGB5_A1"}, 2787 {GL_RGB5_A1, "GL_RGB5_A1"},
1201 {GL_DEPTH_COMPONENT16, "GL_DEPTH_COMPONENT16"}, 2788 {GL_DEPTH_COMPONENT16, "GL_DEPTH_COMPONENT16"},
1202 {GL_STENCIL_INDEX8, "GL_STENCIL_INDEX8"}, }; 2789 {GL_STENCIL_INDEX8, "GL_STENCIL_INDEX8"},
2790 };
1203 return GLES2Util::GetQualifiedEnumString( 2791 return GLES2Util::GetQualifiedEnumString(
1204 string_table, arraysize(string_table), value); 2792 string_table, arraysize(string_table), value);
1205 } 2793 }
1206 2794
1207 std::string GLES2Util::GetStringRenderBufferParameter(uint32 value) { 2795 std::string GLES2Util::GetStringRenderBufferParameter(uint32 value) {
1208 static const EnumToString string_table[] = { 2796 static const EnumToString string_table[] = {
1209 {GL_RENDERBUFFER_RED_SIZE, "GL_RENDERBUFFER_RED_SIZE"}, 2797 {GL_RENDERBUFFER_RED_SIZE, "GL_RENDERBUFFER_RED_SIZE"},
1210 {GL_RENDERBUFFER_GREEN_SIZE, "GL_RENDERBUFFER_GREEN_SIZE"}, 2798 {GL_RENDERBUFFER_GREEN_SIZE, "GL_RENDERBUFFER_GREEN_SIZE"},
1211 {GL_RENDERBUFFER_BLUE_SIZE, "GL_RENDERBUFFER_BLUE_SIZE"}, 2799 {GL_RENDERBUFFER_BLUE_SIZE, "GL_RENDERBUFFER_BLUE_SIZE"},
1212 {GL_RENDERBUFFER_ALPHA_SIZE, "GL_RENDERBUFFER_ALPHA_SIZE"}, 2800 {GL_RENDERBUFFER_ALPHA_SIZE, "GL_RENDERBUFFER_ALPHA_SIZE"},
1213 {GL_RENDERBUFFER_DEPTH_SIZE, "GL_RENDERBUFFER_DEPTH_SIZE"}, 2801 {GL_RENDERBUFFER_DEPTH_SIZE, "GL_RENDERBUFFER_DEPTH_SIZE"},
1214 {GL_RENDERBUFFER_STENCIL_SIZE, "GL_RENDERBUFFER_STENCIL_SIZE"}, 2802 {GL_RENDERBUFFER_STENCIL_SIZE, "GL_RENDERBUFFER_STENCIL_SIZE"},
1215 {GL_RENDERBUFFER_WIDTH, "GL_RENDERBUFFER_WIDTH"}, 2803 {GL_RENDERBUFFER_WIDTH, "GL_RENDERBUFFER_WIDTH"},
1216 {GL_RENDERBUFFER_HEIGHT, "GL_RENDERBUFFER_HEIGHT"}, 2804 {GL_RENDERBUFFER_HEIGHT, "GL_RENDERBUFFER_HEIGHT"},
1217 {GL_RENDERBUFFER_INTERNAL_FORMAT, "GL_RENDERBUFFER_INTERNAL_FORMAT"}, }; 2805 {GL_RENDERBUFFER_INTERNAL_FORMAT, "GL_RENDERBUFFER_INTERNAL_FORMAT"},
2806 };
1218 return GLES2Util::GetQualifiedEnumString( 2807 return GLES2Util::GetQualifiedEnumString(
1219 string_table, arraysize(string_table), value); 2808 string_table, arraysize(string_table), value);
1220 } 2809 }
1221 2810
1222 std::string GLES2Util::GetStringRenderBufferTarget(uint32 value) { 2811 std::string GLES2Util::GetStringRenderBufferTarget(uint32 value) {
1223 static const EnumToString string_table[] = { 2812 static const EnumToString string_table[] = {
1224 {GL_RENDERBUFFER, "GL_RENDERBUFFER"}, }; 2813 {GL_RENDERBUFFER, "GL_RENDERBUFFER"},
2814 };
1225 return GLES2Util::GetQualifiedEnumString( 2815 return GLES2Util::GetQualifiedEnumString(
1226 string_table, arraysize(string_table), value); 2816 string_table, arraysize(string_table), value);
1227 } 2817 }
1228 2818
1229 std::string GLES2Util::GetStringResetStatus(uint32 value) { 2819 std::string GLES2Util::GetStringResetStatus(uint32 value) {
1230 static const EnumToString string_table[] = { 2820 static const EnumToString string_table[] = {
1231 {GL_GUILTY_CONTEXT_RESET_ARB, "GL_GUILTY_CONTEXT_RESET_ARB"}, 2821 {GL_GUILTY_CONTEXT_RESET_ARB, "GL_GUILTY_CONTEXT_RESET_ARB"},
1232 {GL_INNOCENT_CONTEXT_RESET_ARB, "GL_INNOCENT_CONTEXT_RESET_ARB"}, 2822 {GL_INNOCENT_CONTEXT_RESET_ARB, "GL_INNOCENT_CONTEXT_RESET_ARB"},
1233 {GL_UNKNOWN_CONTEXT_RESET_ARB, "GL_UNKNOWN_CONTEXT_RESET_ARB"}, }; 2823 {GL_UNKNOWN_CONTEXT_RESET_ARB, "GL_UNKNOWN_CONTEXT_RESET_ARB"},
2824 };
1234 return GLES2Util::GetQualifiedEnumString( 2825 return GLES2Util::GetQualifiedEnumString(
1235 string_table, arraysize(string_table), value); 2826 string_table, arraysize(string_table), value);
1236 } 2827 }
1237 2828
1238 std::string GLES2Util::GetStringShaderBinaryFormat(uint32 value) { 2829 std::string GLES2Util::GetStringShaderBinaryFormat(uint32 value) {
1239 return GLES2Util::GetQualifiedEnumString(NULL, 0, value); 2830 return GLES2Util::GetQualifiedEnumString(NULL, 0, value);
1240 } 2831 }
1241 2832
1242 std::string GLES2Util::GetStringShaderParameter(uint32 value) { 2833 std::string GLES2Util::GetStringShaderParameter(uint32 value) {
1243 static const EnumToString string_table[] = { 2834 static const EnumToString string_table[] = {
1244 {GL_SHADER_TYPE, "GL_SHADER_TYPE"}, 2835 {GL_SHADER_TYPE, "GL_SHADER_TYPE"},
1245 {GL_DELETE_STATUS, "GL_DELETE_STATUS"}, 2836 {GL_DELETE_STATUS, "GL_DELETE_STATUS"},
1246 {GL_COMPILE_STATUS, "GL_COMPILE_STATUS"}, 2837 {GL_COMPILE_STATUS, "GL_COMPILE_STATUS"},
1247 {GL_INFO_LOG_LENGTH, "GL_INFO_LOG_LENGTH"}, 2838 {GL_INFO_LOG_LENGTH, "GL_INFO_LOG_LENGTH"},
1248 {GL_SHADER_SOURCE_LENGTH, "GL_SHADER_SOURCE_LENGTH"}, 2839 {GL_SHADER_SOURCE_LENGTH, "GL_SHADER_SOURCE_LENGTH"},
1249 {GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE, 2840 {GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE,
1250 "GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE"}, }; 2841 "GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE"},
2842 };
1251 return GLES2Util::GetQualifiedEnumString( 2843 return GLES2Util::GetQualifiedEnumString(
1252 string_table, arraysize(string_table), value); 2844 string_table, arraysize(string_table), value);
1253 } 2845 }
1254 2846
1255 std::string GLES2Util::GetStringShaderPrecision(uint32 value) { 2847 std::string GLES2Util::GetStringShaderPrecision(uint32 value) {
1256 static const EnumToString string_table[] = { 2848 static const EnumToString string_table[] = {
1257 {GL_LOW_FLOAT, "GL_LOW_FLOAT"}, 2849 {GL_LOW_FLOAT, "GL_LOW_FLOAT"},
1258 {GL_MEDIUM_FLOAT, "GL_MEDIUM_FLOAT"}, 2850 {GL_MEDIUM_FLOAT, "GL_MEDIUM_FLOAT"},
1259 {GL_HIGH_FLOAT, "GL_HIGH_FLOAT"}, 2851 {GL_HIGH_FLOAT, "GL_HIGH_FLOAT"},
1260 {GL_LOW_INT, "GL_LOW_INT"}, 2852 {GL_LOW_INT, "GL_LOW_INT"},
1261 {GL_MEDIUM_INT, "GL_MEDIUM_INT"}, 2853 {GL_MEDIUM_INT, "GL_MEDIUM_INT"},
1262 {GL_HIGH_INT, "GL_HIGH_INT"}, }; 2854 {GL_HIGH_INT, "GL_HIGH_INT"},
2855 };
1263 return GLES2Util::GetQualifiedEnumString( 2856 return GLES2Util::GetQualifiedEnumString(
1264 string_table, arraysize(string_table), value); 2857 string_table, arraysize(string_table), value);
1265 } 2858 }
1266 2859
1267 std::string GLES2Util::GetStringShaderType(uint32 value) { 2860 std::string GLES2Util::GetStringShaderType(uint32 value) {
1268 static const EnumToString string_table[] = { 2861 static const EnumToString string_table[] = {
1269 {GL_VERTEX_SHADER, "GL_VERTEX_SHADER"}, 2862 {GL_VERTEX_SHADER, "GL_VERTEX_SHADER"},
1270 {GL_FRAGMENT_SHADER, "GL_FRAGMENT_SHADER"}, }; 2863 {GL_FRAGMENT_SHADER, "GL_FRAGMENT_SHADER"},
2864 };
1271 return GLES2Util::GetQualifiedEnumString( 2865 return GLES2Util::GetQualifiedEnumString(
1272 string_table, arraysize(string_table), value); 2866 string_table, arraysize(string_table), value);
1273 } 2867 }
1274 2868
1275 std::string GLES2Util::GetStringSrcBlendFactor(uint32 value) { 2869 std::string GLES2Util::GetStringSrcBlendFactor(uint32 value) {
1276 static const EnumToString string_table[] = { 2870 static const EnumToString string_table[] = {
1277 {GL_ZERO, "GL_ZERO"}, 2871 {GL_ZERO, "GL_ZERO"},
1278 {GL_ONE, "GL_ONE"}, 2872 {GL_ONE, "GL_ONE"},
1279 {GL_SRC_COLOR, "GL_SRC_COLOR"}, 2873 {GL_SRC_COLOR, "GL_SRC_COLOR"},
1280 {GL_ONE_MINUS_SRC_COLOR, "GL_ONE_MINUS_SRC_COLOR"}, 2874 {GL_ONE_MINUS_SRC_COLOR, "GL_ONE_MINUS_SRC_COLOR"},
1281 {GL_DST_COLOR, "GL_DST_COLOR"}, 2875 {GL_DST_COLOR, "GL_DST_COLOR"},
1282 {GL_ONE_MINUS_DST_COLOR, "GL_ONE_MINUS_DST_COLOR"}, 2876 {GL_ONE_MINUS_DST_COLOR, "GL_ONE_MINUS_DST_COLOR"},
1283 {GL_SRC_ALPHA, "GL_SRC_ALPHA"}, 2877 {GL_SRC_ALPHA, "GL_SRC_ALPHA"},
1284 {GL_ONE_MINUS_SRC_ALPHA, "GL_ONE_MINUS_SRC_ALPHA"}, 2878 {GL_ONE_MINUS_SRC_ALPHA, "GL_ONE_MINUS_SRC_ALPHA"},
1285 {GL_DST_ALPHA, "GL_DST_ALPHA"}, 2879 {GL_DST_ALPHA, "GL_DST_ALPHA"},
1286 {GL_ONE_MINUS_DST_ALPHA, "GL_ONE_MINUS_DST_ALPHA"}, 2880 {GL_ONE_MINUS_DST_ALPHA, "GL_ONE_MINUS_DST_ALPHA"},
1287 {GL_CONSTANT_COLOR, "GL_CONSTANT_COLOR"}, 2881 {GL_CONSTANT_COLOR, "GL_CONSTANT_COLOR"},
1288 {GL_ONE_MINUS_CONSTANT_COLOR, "GL_ONE_MINUS_CONSTANT_COLOR"}, 2882 {GL_ONE_MINUS_CONSTANT_COLOR, "GL_ONE_MINUS_CONSTANT_COLOR"},
1289 {GL_CONSTANT_ALPHA, "GL_CONSTANT_ALPHA"}, 2883 {GL_CONSTANT_ALPHA, "GL_CONSTANT_ALPHA"},
1290 {GL_ONE_MINUS_CONSTANT_ALPHA, "GL_ONE_MINUS_CONSTANT_ALPHA"}, 2884 {GL_ONE_MINUS_CONSTANT_ALPHA, "GL_ONE_MINUS_CONSTANT_ALPHA"},
1291 {GL_SRC_ALPHA_SATURATE, "GL_SRC_ALPHA_SATURATE"}, }; 2885 {GL_SRC_ALPHA_SATURATE, "GL_SRC_ALPHA_SATURATE"},
2886 };
1292 return GLES2Util::GetQualifiedEnumString( 2887 return GLES2Util::GetQualifiedEnumString(
1293 string_table, arraysize(string_table), value); 2888 string_table, arraysize(string_table), value);
1294 } 2889 }
1295 2890
1296 std::string GLES2Util::GetStringStencilOp(uint32 value) { 2891 std::string GLES2Util::GetStringStencilOp(uint32 value) {
1297 static const EnumToString string_table[] = {{GL_KEEP, "GL_KEEP"}, 2892 static const EnumToString string_table[] = {
1298 {GL_ZERO, "GL_ZERO"}, 2893 {GL_KEEP, "GL_KEEP"},
1299 {GL_REPLACE, "GL_REPLACE"}, 2894 {GL_ZERO, "GL_ZERO"},
1300 {GL_INCR, "GL_INCR"}, 2895 {GL_REPLACE, "GL_REPLACE"},
1301 {GL_INCR_WRAP, "GL_INCR_WRAP"}, 2896 {GL_INCR, "GL_INCR"},
1302 {GL_DECR, "GL_DECR"}, 2897 {GL_INCR_WRAP, "GL_INCR_WRAP"},
1303 {GL_DECR_WRAP, "GL_DECR_WRAP"}, 2898 {GL_DECR, "GL_DECR"},
1304 {GL_INVERT, "GL_INVERT"}, }; 2899 {GL_DECR_WRAP, "GL_DECR_WRAP"},
2900 {GL_INVERT, "GL_INVERT"},
2901 };
1305 return GLES2Util::GetQualifiedEnumString( 2902 return GLES2Util::GetQualifiedEnumString(
1306 string_table, arraysize(string_table), value); 2903 string_table, arraysize(string_table), value);
1307 } 2904 }
1308 2905
1309 std::string GLES2Util::GetStringStringType(uint32 value) { 2906 std::string GLES2Util::GetStringStringType(uint32 value) {
1310 static const EnumToString string_table[] = { 2907 static const EnumToString string_table[] = {
1311 {GL_VENDOR, "GL_VENDOR"}, 2908 {GL_VENDOR, "GL_VENDOR"},
1312 {GL_RENDERER, "GL_RENDERER"}, 2909 {GL_RENDERER, "GL_RENDERER"},
1313 {GL_VERSION, "GL_VERSION"}, 2910 {GL_VERSION, "GL_VERSION"},
1314 {GL_SHADING_LANGUAGE_VERSION, "GL_SHADING_LANGUAGE_VERSION"}, 2911 {GL_SHADING_LANGUAGE_VERSION, "GL_SHADING_LANGUAGE_VERSION"},
1315 {GL_EXTENSIONS, "GL_EXTENSIONS"}, }; 2912 {GL_EXTENSIONS, "GL_EXTENSIONS"},
2913 };
1316 return GLES2Util::GetQualifiedEnumString( 2914 return GLES2Util::GetQualifiedEnumString(
1317 string_table, arraysize(string_table), value); 2915 string_table, arraysize(string_table), value);
1318 } 2916 }
1319 2917
1320 std::string GLES2Util::GetStringTextureBindTarget(uint32 value) { 2918 std::string GLES2Util::GetStringTextureBindTarget(uint32 value) {
1321 static const EnumToString string_table[] = { 2919 static const EnumToString string_table[] = {
1322 {GL_TEXTURE_2D, "GL_TEXTURE_2D"}, 2920 {GL_TEXTURE_2D, "GL_TEXTURE_2D"},
1323 {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"}, }; 2921 {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"},
2922 };
1324 return GLES2Util::GetQualifiedEnumString( 2923 return GLES2Util::GetQualifiedEnumString(
1325 string_table, arraysize(string_table), value); 2924 string_table, arraysize(string_table), value);
1326 } 2925 }
1327 2926
1328 std::string GLES2Util::GetStringTextureFormat(uint32 value) { 2927 std::string GLES2Util::GetStringTextureFormat(uint32 value) {
1329 static const EnumToString string_table[] = { 2928 static const EnumToString string_table[] = {
1330 {GL_ALPHA, "GL_ALPHA"}, 2929 {GL_ALPHA, "GL_ALPHA"},
1331 {GL_LUMINANCE, "GL_LUMINANCE"}, 2930 {GL_LUMINANCE, "GL_LUMINANCE"},
1332 {GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA"}, 2931 {GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA"},
1333 {GL_RGB, "GL_RGB"}, 2932 {GL_RGB, "GL_RGB"},
1334 {GL_RGBA, "GL_RGBA"}, }; 2933 {GL_RGBA, "GL_RGBA"},
2934 };
1335 return GLES2Util::GetQualifiedEnumString( 2935 return GLES2Util::GetQualifiedEnumString(
1336 string_table, arraysize(string_table), value); 2936 string_table, arraysize(string_table), value);
1337 } 2937 }
1338 2938
1339 std::string GLES2Util::GetStringTextureInternalFormat(uint32 value) { 2939 std::string GLES2Util::GetStringTextureInternalFormat(uint32 value) {
1340 static const EnumToString string_table[] = { 2940 static const EnumToString string_table[] = {
1341 {GL_ALPHA, "GL_ALPHA"}, 2941 {GL_ALPHA, "GL_ALPHA"},
1342 {GL_LUMINANCE, "GL_LUMINANCE"}, 2942 {GL_LUMINANCE, "GL_LUMINANCE"},
1343 {GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA"}, 2943 {GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA"},
1344 {GL_RGB, "GL_RGB"}, 2944 {GL_RGB, "GL_RGB"},
1345 {GL_RGBA, "GL_RGBA"}, }; 2945 {GL_RGBA, "GL_RGBA"},
2946 };
1346 return GLES2Util::GetQualifiedEnumString( 2947 return GLES2Util::GetQualifiedEnumString(
1347 string_table, arraysize(string_table), value); 2948 string_table, arraysize(string_table), value);
1348 } 2949 }
1349 2950
1350 std::string GLES2Util::GetStringTextureInternalFormatStorage(uint32 value) { 2951 std::string GLES2Util::GetStringTextureInternalFormatStorage(uint32 value) {
1351 static const EnumToString string_table[] = { 2952 static const EnumToString string_table[] = {
1352 {GL_RGB565, "GL_RGB565"}, 2953 {GL_RGB565, "GL_RGB565"},
1353 {GL_RGBA4, "GL_RGBA4"}, 2954 {GL_RGBA4, "GL_RGBA4"},
1354 {GL_RGB5_A1, "GL_RGB5_A1"}, 2955 {GL_RGB5_A1, "GL_RGB5_A1"},
1355 {GL_ALPHA8_EXT, "GL_ALPHA8_EXT"}, 2956 {GL_ALPHA8_EXT, "GL_ALPHA8_EXT"},
1356 {GL_LUMINANCE8_EXT, "GL_LUMINANCE8_EXT"}, 2957 {GL_LUMINANCE8_EXT, "GL_LUMINANCE8_EXT"},
1357 {GL_LUMINANCE8_ALPHA8_EXT, "GL_LUMINANCE8_ALPHA8_EXT"}, 2958 {GL_LUMINANCE8_ALPHA8_EXT, "GL_LUMINANCE8_ALPHA8_EXT"},
1358 {GL_RGB8_OES, "GL_RGB8_OES"}, 2959 {GL_RGB8_OES, "GL_RGB8_OES"},
1359 {GL_RGBA8_OES, "GL_RGBA8_OES"}, }; 2960 {GL_RGBA8_OES, "GL_RGBA8_OES"},
2961 };
1360 return GLES2Util::GetQualifiedEnumString( 2962 return GLES2Util::GetQualifiedEnumString(
1361 string_table, arraysize(string_table), value); 2963 string_table, arraysize(string_table), value);
1362 } 2964 }
1363 2965
1364 std::string GLES2Util::GetStringTextureMagFilterMode(uint32 value) { 2966 std::string GLES2Util::GetStringTextureMagFilterMode(uint32 value) {
1365 static const EnumToString string_table[] = {{GL_NEAREST, "GL_NEAREST"}, 2967 static const EnumToString string_table[] = {
1366 {GL_LINEAR, "GL_LINEAR"}, }; 2968 {GL_NEAREST, "GL_NEAREST"}, {GL_LINEAR, "GL_LINEAR"},
2969 };
1367 return GLES2Util::GetQualifiedEnumString( 2970 return GLES2Util::GetQualifiedEnumString(
1368 string_table, arraysize(string_table), value); 2971 string_table, arraysize(string_table), value);
1369 } 2972 }
1370 2973
1371 std::string GLES2Util::GetStringTextureMinFilterMode(uint32 value) { 2974 std::string GLES2Util::GetStringTextureMinFilterMode(uint32 value) {
1372 static const EnumToString string_table[] = { 2975 static const EnumToString string_table[] = {
1373 {GL_NEAREST, "GL_NEAREST"}, 2976 {GL_NEAREST, "GL_NEAREST"},
1374 {GL_LINEAR, "GL_LINEAR"}, 2977 {GL_LINEAR, "GL_LINEAR"},
1375 {GL_NEAREST_MIPMAP_NEAREST, "GL_NEAREST_MIPMAP_NEAREST"}, 2978 {GL_NEAREST_MIPMAP_NEAREST, "GL_NEAREST_MIPMAP_NEAREST"},
1376 {GL_LINEAR_MIPMAP_NEAREST, "GL_LINEAR_MIPMAP_NEAREST"}, 2979 {GL_LINEAR_MIPMAP_NEAREST, "GL_LINEAR_MIPMAP_NEAREST"},
1377 {GL_NEAREST_MIPMAP_LINEAR, "GL_NEAREST_MIPMAP_LINEAR"}, 2980 {GL_NEAREST_MIPMAP_LINEAR, "GL_NEAREST_MIPMAP_LINEAR"},
1378 {GL_LINEAR_MIPMAP_LINEAR, "GL_LINEAR_MIPMAP_LINEAR"}, }; 2981 {GL_LINEAR_MIPMAP_LINEAR, "GL_LINEAR_MIPMAP_LINEAR"},
2982 };
1379 return GLES2Util::GetQualifiedEnumString( 2983 return GLES2Util::GetQualifiedEnumString(
1380 string_table, arraysize(string_table), value); 2984 string_table, arraysize(string_table), value);
1381 } 2985 }
1382 2986
1383 std::string GLES2Util::GetStringTextureParameter(uint32 value) { 2987 std::string GLES2Util::GetStringTextureParameter(uint32 value) {
1384 static const EnumToString string_table[] = { 2988 static const EnumToString string_table[] = {
1385 {GL_TEXTURE_MAG_FILTER, "GL_TEXTURE_MAG_FILTER"}, 2989 {GL_TEXTURE_MAG_FILTER, "GL_TEXTURE_MAG_FILTER"},
1386 {GL_TEXTURE_MIN_FILTER, "GL_TEXTURE_MIN_FILTER"}, 2990 {GL_TEXTURE_MIN_FILTER, "GL_TEXTURE_MIN_FILTER"},
1387 {GL_TEXTURE_POOL_CHROMIUM, "GL_TEXTURE_POOL_CHROMIUM"}, 2991 {GL_TEXTURE_POOL_CHROMIUM, "GL_TEXTURE_POOL_CHROMIUM"},
1388 {GL_TEXTURE_WRAP_S, "GL_TEXTURE_WRAP_S"}, 2992 {GL_TEXTURE_WRAP_S, "GL_TEXTURE_WRAP_S"},
1389 {GL_TEXTURE_WRAP_T, "GL_TEXTURE_WRAP_T"}, }; 2993 {GL_TEXTURE_WRAP_T, "GL_TEXTURE_WRAP_T"},
2994 };
1390 return GLES2Util::GetQualifiedEnumString( 2995 return GLES2Util::GetQualifiedEnumString(
1391 string_table, arraysize(string_table), value); 2996 string_table, arraysize(string_table), value);
1392 } 2997 }
1393 2998
1394 std::string GLES2Util::GetStringTexturePool(uint32 value) { 2999 std::string GLES2Util::GetStringTexturePool(uint32 value) {
1395 static const EnumToString string_table[] = { 3000 static const EnumToString string_table[] = {
1396 {GL_TEXTURE_POOL_MANAGED_CHROMIUM, "GL_TEXTURE_POOL_MANAGED_CHROMIUM"}, 3001 {GL_TEXTURE_POOL_MANAGED_CHROMIUM, "GL_TEXTURE_POOL_MANAGED_CHROMIUM"},
1397 {GL_TEXTURE_POOL_UNMANAGED_CHROMIUM, 3002 {GL_TEXTURE_POOL_UNMANAGED_CHROMIUM,
1398 "GL_TEXTURE_POOL_UNMANAGED_CHROMIUM"}, }; 3003 "GL_TEXTURE_POOL_UNMANAGED_CHROMIUM"},
3004 };
1399 return GLES2Util::GetQualifiedEnumString( 3005 return GLES2Util::GetQualifiedEnumString(
1400 string_table, arraysize(string_table), value); 3006 string_table, arraysize(string_table), value);
1401 } 3007 }
1402 3008
1403 std::string GLES2Util::GetStringTextureTarget(uint32 value) { 3009 std::string GLES2Util::GetStringTextureTarget(uint32 value) {
1404 static const EnumToString string_table[] = { 3010 static const EnumToString string_table[] = {
1405 {GL_TEXTURE_2D, "GL_TEXTURE_2D"}, 3011 {GL_TEXTURE_2D, "GL_TEXTURE_2D"},
1406 {GL_TEXTURE_CUBE_MAP_POSITIVE_X, "GL_TEXTURE_CUBE_MAP_POSITIVE_X"}, 3012 {GL_TEXTURE_CUBE_MAP_POSITIVE_X, "GL_TEXTURE_CUBE_MAP_POSITIVE_X"},
1407 {GL_TEXTURE_CUBE_MAP_NEGATIVE_X, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X"}, 3013 {GL_TEXTURE_CUBE_MAP_NEGATIVE_X, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X"},
1408 {GL_TEXTURE_CUBE_MAP_POSITIVE_Y, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y"}, 3014 {GL_TEXTURE_CUBE_MAP_POSITIVE_Y, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y"},
1409 {GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"}, 3015 {GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"},
1410 {GL_TEXTURE_CUBE_MAP_POSITIVE_Z, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z"}, 3016 {GL_TEXTURE_CUBE_MAP_POSITIVE_Z, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z"},
1411 {GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"}, }; 3017 {GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"},
3018 };
1412 return GLES2Util::GetQualifiedEnumString( 3019 return GLES2Util::GetQualifiedEnumString(
1413 string_table, arraysize(string_table), value); 3020 string_table, arraysize(string_table), value);
1414 } 3021 }
1415 3022
1416 std::string GLES2Util::GetStringTextureUsage(uint32 value) { 3023 std::string GLES2Util::GetStringTextureUsage(uint32 value) {
1417 static const EnumToString string_table[] = { 3024 static const EnumToString string_table[] = {
1418 {GL_NONE, "GL_NONE"}, 3025 {GL_NONE, "GL_NONE"},
1419 {GL_FRAMEBUFFER_ATTACHMENT_ANGLE, "GL_FRAMEBUFFER_ATTACHMENT_ANGLE"}, }; 3026 {GL_FRAMEBUFFER_ATTACHMENT_ANGLE, "GL_FRAMEBUFFER_ATTACHMENT_ANGLE"},
3027 };
1420 return GLES2Util::GetQualifiedEnumString( 3028 return GLES2Util::GetQualifiedEnumString(
1421 string_table, arraysize(string_table), value); 3029 string_table, arraysize(string_table), value);
1422 } 3030 }
1423 3031
1424 std::string GLES2Util::GetStringTextureWrapMode(uint32 value) { 3032 std::string GLES2Util::GetStringTextureWrapMode(uint32 value) {
1425 static const EnumToString string_table[] = { 3033 static const EnumToString string_table[] = {
1426 {GL_CLAMP_TO_EDGE, "GL_CLAMP_TO_EDGE"}, 3034 {GL_CLAMP_TO_EDGE, "GL_CLAMP_TO_EDGE"},
1427 {GL_MIRRORED_REPEAT, "GL_MIRRORED_REPEAT"}, 3035 {GL_MIRRORED_REPEAT, "GL_MIRRORED_REPEAT"},
1428 {GL_REPEAT, "GL_REPEAT"}, }; 3036 {GL_REPEAT, "GL_REPEAT"},
3037 };
1429 return GLES2Util::GetQualifiedEnumString( 3038 return GLES2Util::GetQualifiedEnumString(
1430 string_table, arraysize(string_table), value); 3039 string_table, arraysize(string_table), value);
1431 } 3040 }
1432 3041
1433 std::string GLES2Util::GetStringVertexAttribType(uint32 value) { 3042 std::string GLES2Util::GetStringVertexAttribType(uint32 value) {
1434 static const EnumToString string_table[] = { 3043 static const EnumToString string_table[] = {
1435 {GL_BYTE, "GL_BYTE"}, 3044 {GL_BYTE, "GL_BYTE"},
1436 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"}, 3045 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
1437 {GL_SHORT, "GL_SHORT"}, 3046 {GL_SHORT, "GL_SHORT"},
1438 {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"}, 3047 {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"},
1439 {GL_FLOAT, "GL_FLOAT"}, }; 3048 {GL_FLOAT, "GL_FLOAT"},
3049 };
1440 return GLES2Util::GetQualifiedEnumString( 3050 return GLES2Util::GetQualifiedEnumString(
1441 string_table, arraysize(string_table), value); 3051 string_table, arraysize(string_table), value);
1442 } 3052 }
1443 3053
1444 std::string GLES2Util::GetStringVertexAttribute(uint32 value) { 3054 std::string GLES2Util::GetStringVertexAttribute(uint32 value) {
1445 static const EnumToString string_table[] = { 3055 static const EnumToString string_table[] = {
1446 {GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED"}, 3056 {GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED"},
1447 {GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, 3057 {GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING,
1448 "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"}, 3058 "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"},
1449 {GL_VERTEX_ATTRIB_ARRAY_ENABLED, "GL_VERTEX_ATTRIB_ARRAY_ENABLED"}, 3059 {GL_VERTEX_ATTRIB_ARRAY_ENABLED, "GL_VERTEX_ATTRIB_ARRAY_ENABLED"},
1450 {GL_VERTEX_ATTRIB_ARRAY_SIZE, "GL_VERTEX_ATTRIB_ARRAY_SIZE"}, 3060 {GL_VERTEX_ATTRIB_ARRAY_SIZE, "GL_VERTEX_ATTRIB_ARRAY_SIZE"},
1451 {GL_VERTEX_ATTRIB_ARRAY_STRIDE, "GL_VERTEX_ATTRIB_ARRAY_STRIDE"}, 3061 {GL_VERTEX_ATTRIB_ARRAY_STRIDE, "GL_VERTEX_ATTRIB_ARRAY_STRIDE"},
1452 {GL_VERTEX_ATTRIB_ARRAY_TYPE, "GL_VERTEX_ATTRIB_ARRAY_TYPE"}, 3062 {GL_VERTEX_ATTRIB_ARRAY_TYPE, "GL_VERTEX_ATTRIB_ARRAY_TYPE"},
1453 {GL_CURRENT_VERTEX_ATTRIB, "GL_CURRENT_VERTEX_ATTRIB"}, }; 3063 {GL_CURRENT_VERTEX_ATTRIB, "GL_CURRENT_VERTEX_ATTRIB"},
3064 };
1454 return GLES2Util::GetQualifiedEnumString( 3065 return GLES2Util::GetQualifiedEnumString(
1455 string_table, arraysize(string_table), value); 3066 string_table, arraysize(string_table), value);
1456 } 3067 }
1457 3068
1458 std::string GLES2Util::GetStringVertexPointer(uint32 value) { 3069 std::string GLES2Util::GetStringVertexPointer(uint32 value) {
1459 static const EnumToString string_table[] = { 3070 static const EnumToString string_table[] = {
1460 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, }; 3071 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
3072 };
1461 return GLES2Util::GetQualifiedEnumString( 3073 return GLES2Util::GetQualifiedEnumString(
1462 string_table, arraysize(string_table), value); 3074 string_table, arraysize(string_table), value);
1463 } 3075 }
1464 3076
1465 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 3077 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_ids_autogen.h ('k') | gpu/command_buffer/service/context_state_impl_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698