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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 }, | 522 }, |
523 { | 523 { |
524 0x821A, | 524 0x821A, |
525 "GL_DEPTH_STENCIL_ATTACHMENT", | 525 "GL_DEPTH_STENCIL_ATTACHMENT", |
526 }, | 526 }, |
527 { | 527 { |
528 0x8A40, | 528 0x8A40, |
529 "GL_UNIFORM_BLOCK_DATA_SIZE", | 529 "GL_UNIFORM_BLOCK_DATA_SIZE", |
530 }, | 530 }, |
531 { | 531 { |
532 0x9242, | |
533 "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM", | |
534 }, | |
535 { | |
536 0x821D, | 532 0x821D, |
537 "GL_NUM_EXTENSIONS", | 533 "GL_NUM_EXTENSIONS", |
538 }, | 534 }, |
539 { | 535 { |
540 0x88BB, | 536 0x88BB, |
541 "GL_BUFFER_ACCESS_OES", | 537 "GL_BUFFER_ACCESS_OES", |
542 }, | 538 }, |
543 { | 539 { |
544 0x88BC, | 540 0x88BC, |
545 "GL_BUFFER_MAPPED_OES", | 541 "GL_BUFFER_MAPPED_OES", |
(...skipping 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2190 }, | 2186 }, |
2191 { | 2187 { |
2192 0x8239, | 2188 0x8239, |
2193 "GL_RG16I", | 2189 "GL_RG16I", |
2194 }, | 2190 }, |
2195 { | 2191 { |
2196 0x8238, | 2192 0x8238, |
2197 "GL_RG8UI", | 2193 "GL_RG8UI", |
2198 }, | 2194 }, |
2199 { | 2195 { |
2200 0x9240, | |
2201 "GL_UNPACK_FLIP_Y_CHROMIUM", | |
2202 }, | |
2203 { | |
2204 0x8DF6, | 2196 0x8DF6, |
2205 "GL_UNSIGNED_INT_10_10_10_2_OES", | 2197 "GL_UNSIGNED_INT_10_10_10_2_OES", |
2206 }, | 2198 }, |
2207 { | 2199 { |
2208 0x8A30, | 2200 0x8A30, |
2209 "GL_MAX_UNIFORM_BLOCK_SIZE", | 2201 "GL_MAX_UNIFORM_BLOCK_SIZE", |
2210 }, | 2202 }, |
2211 { | 2203 { |
2212 0x9273, | 2204 0x9273, |
2213 "GL_COMPRESSED_SIGNED_RG11_EAC", | 2205 "GL_COMPRESSED_SIGNED_RG11_EAC", |
(...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3458 }, | 3450 }, |
3459 { | 3451 { |
3460 0x93B8, | 3452 0x93B8, |
3461 "GL_COMPRESSED_RGBA_ASTC_10x5_KHR", | 3453 "GL_COMPRESSED_RGBA_ASTC_10x5_KHR", |
3462 }, | 3454 }, |
3463 { | 3455 { |
3464 0x8B65, | 3456 0x8B65, |
3465 "GL_FLOAT_MAT2x3_NV", | 3457 "GL_FLOAT_MAT2x3_NV", |
3466 }, | 3458 }, |
3467 { | 3459 { |
3468 0x9241, | |
3469 "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM", | |
3470 }, | |
3471 { | |
3472 0x00010000, | 3460 0x00010000, |
3473 "GL_STENCIL_BUFFER_BIT0_QCOM", | 3461 "GL_STENCIL_BUFFER_BIT0_QCOM", |
3474 }, | 3462 }, |
3475 { | 3463 { |
3476 0x83FA, | 3464 0x83FA, |
3477 "GL_PERFQUERY_FLUSH_INTEL", | 3465 "GL_PERFQUERY_FLUSH_INTEL", |
3478 }, | 3466 }, |
3479 { | 3467 { |
3480 0x0D03, | 3468 0x0D03, |
3481 "GL_PACK_SKIP_ROWS", | 3469 "GL_PACK_SKIP_ROWS", |
(...skipping 2294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5776 | 5764 |
5777 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { | 5765 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { |
5778 static const EnumToString string_table[] = { | 5766 static const EnumToString string_table[] = { |
5779 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, | 5767 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, |
5780 }; | 5768 }; |
5781 return GLES2Util::GetQualifiedEnumString(string_table, | 5769 return GLES2Util::GetQualifiedEnumString(string_table, |
5782 arraysize(string_table), value); | 5770 arraysize(string_table), value); |
5783 } | 5771 } |
5784 | 5772 |
5785 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ | 5773 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ |
OLD | NEW |