| OLD | NEW |
| 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 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 }, | 122 }, |
| 123 { | 123 { |
| 124 0x0000, | 124 0x0000, |
| 125 "GL_POINTS", | 125 "GL_POINTS", |
| 126 }, | 126 }, |
| 127 { | 127 { |
| 128 0x0001, | 128 0x0001, |
| 129 "GL_LINES", | 129 "GL_LINES", |
| 130 }, | 130 }, |
| 131 { | 131 { |
| 132 0x78F0, | |
| 133 "GL_IMAGE_ROWBYTES_CHROMIUM", | |
| 134 }, | |
| 135 { | |
| 136 0x88B8, | 132 0x88B8, |
| 137 "GL_READ_ONLY", | 133 "GL_READ_ONLY", |
| 138 }, | 134 }, |
| 139 { | 135 { |
| 140 0x88B9, | 136 0x88B9, |
| 141 "GL_WRITE_ONLY_OES", | 137 "GL_WRITE_ONLY_OES", |
| 142 }, | 138 }, |
| 143 { | 139 { |
| 144 0x8211, | 140 0x8211, |
| 145 "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT", | 141 "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT", |
| (...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1307 { | 1303 { |
| 1308 0x8D52, | 1304 0x8D52, |
| 1309 "GL_RENDERBUFFER_BLUE_SIZE", | 1305 "GL_RENDERBUFFER_BLUE_SIZE", |
| 1310 }, | 1306 }, |
| 1311 { | 1307 { |
| 1312 0x92A6, | 1308 0x92A6, |
| 1313 "GL_VIVIDLIGHT_NV", | 1309 "GL_VIVIDLIGHT_NV", |
| 1314 }, | 1310 }, |
| 1315 { | 1311 { |
| 1316 0x78F1, | 1312 0x78F1, |
| 1317 "GL_IMAGE_MAP_CHROMIUM", | 1313 "GL_MAP_CHROMIUM", |
| 1318 }, | 1314 }, |
| 1319 { | 1315 { |
| 1320 0x00080000, | 1316 0x00080000, |
| 1321 "GL_STENCIL_BUFFER_BIT3_QCOM", | 1317 "GL_STENCIL_BUFFER_BIT3_QCOM", |
| 1322 }, | 1318 }, |
| 1323 { | 1319 { |
| 1324 0x92A7, | 1320 0x92A7, |
| 1325 "GL_LINEARLIGHT_NV", | 1321 "GL_LINEARLIGHT_NV", |
| 1326 }, | 1322 }, |
| 1327 { | 1323 { |
| 1328 0x886A, | 1324 0x886A, |
| 1329 "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED", | 1325 "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED", |
| 1330 }, | 1326 }, |
| 1331 { | 1327 { |
| 1332 0x0C01, | 1328 0x0C01, |
| 1333 "GL_DRAW_BUFFER_EXT", | 1329 "GL_DRAW_BUFFER_EXT", |
| 1334 }, | 1330 }, |
| 1335 { | 1331 { |
| 1336 0x78F2, | 1332 0x78F2, |
| 1337 "GL_IMAGE_SCANOUT_CHROMIUM", | 1333 "GL_SCANOUT_CHROMIUM", |
| 1338 }, | 1334 }, |
| 1339 { | 1335 { |
| 1340 0x93C7, | 1336 0x93C7, |
| 1341 "GL_COMPRESSED_RGBA_ASTC_6x5x5_OES", | 1337 "GL_COMPRESSED_RGBA_ASTC_6x5x5_OES", |
| 1342 }, | 1338 }, |
| 1343 { | 1339 { |
| 1344 0x8B5F, | 1340 0x8B5F, |
| 1345 "GL_SAMPLER_3D_OES", | 1341 "GL_SAMPLER_3D_OES", |
| 1346 }, | 1342 }, |
| 1347 { | 1343 { |
| (...skipping 2536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3884 | 3880 |
| 3885 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { | 3881 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { |
| 3886 static const EnumToString string_table[] = { | 3882 static const EnumToString string_table[] = { |
| 3887 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, | 3883 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, |
| 3888 }; | 3884 }; |
| 3889 return GLES2Util::GetQualifiedEnumString( | 3885 return GLES2Util::GetQualifiedEnumString( |
| 3890 string_table, arraysize(string_table), value); | 3886 string_table, arraysize(string_table), value); |
| 3891 } | 3887 } |
| 3892 | 3888 |
| 3893 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ | 3889 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ |
| OLD | NEW |