| 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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 { | 402 { |
| 403 0x0D56, "GL_DEPTH_BITS", | 403 0x0D56, "GL_DEPTH_BITS", |
| 404 }, | 404 }, |
| 405 { | 405 { |
| 406 0x0D57, "GL_STENCIL_BITS", | 406 0x0D57, "GL_STENCIL_BITS", |
| 407 }, | 407 }, |
| 408 { | 408 { |
| 409 0x0DE1, "GL_TEXTURE_2D", | 409 0x0DE1, "GL_TEXTURE_2D", |
| 410 }, | 410 }, |
| 411 { | 411 { |
| 412 0x1, "GL_CA_LAYER_EDGE_LEFT_CHROMIUM", |
| 413 }, |
| 414 { |
| 412 0x10000000, "GL_MULTISAMPLE_BUFFER_BIT4_QCOM", | 415 0x10000000, "GL_MULTISAMPLE_BUFFER_BIT4_QCOM", |
| 413 }, | 416 }, |
| 414 { | 417 { |
| 415 0x1004, "GL_TEXTURE_BORDER_COLOR_EXT", | 418 0x1004, "GL_TEXTURE_BORDER_COLOR_EXT", |
| 416 }, | 419 }, |
| 417 { | 420 { |
| 418 0x1100, "GL_DONT_CARE", | 421 0x1100, "GL_DONT_CARE", |
| 419 }, | 422 }, |
| 420 { | 423 { |
| 421 0x1101, "GL_FASTEST", | 424 0x1101, "GL_FASTEST", |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 { | 531 { |
| 529 0x1F01, "GL_RENDERER", | 532 0x1F01, "GL_RENDERER", |
| 530 }, | 533 }, |
| 531 { | 534 { |
| 532 0x1F02, "GL_VERSION", | 535 0x1F02, "GL_VERSION", |
| 533 }, | 536 }, |
| 534 { | 537 { |
| 535 0x1F03, "GL_EXTENSIONS", | 538 0x1F03, "GL_EXTENSIONS", |
| 536 }, | 539 }, |
| 537 { | 540 { |
| 541 0x2, "GL_CA_LAYER_EDGE_RIGHT_CHROMIUM", |
| 542 }, |
| 543 { |
| 538 0x20000000, "GL_MULTISAMPLE_BUFFER_BIT5_QCOM", | 544 0x20000000, "GL_MULTISAMPLE_BUFFER_BIT5_QCOM", |
| 539 }, | 545 }, |
| 540 { | 546 { |
| 541 0x2400, "GL_EYE_LINEAR_CHROMIUM", | 547 0x2400, "GL_EYE_LINEAR_CHROMIUM", |
| 542 }, | 548 }, |
| 543 { | 549 { |
| 544 0x2401, "GL_OBJECT_LINEAR_CHROMIUM", | 550 0x2401, "GL_OBJECT_LINEAR_CHROMIUM", |
| 545 }, | 551 }, |
| 546 { | 552 { |
| 547 0x2600, "GL_NEAREST", | 553 0x2600, "GL_NEAREST", |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 { | 606 { |
| 601 0x3006, "GL_CLIP_DISTANCE6_APPLE", | 607 0x3006, "GL_CLIP_DISTANCE6_APPLE", |
| 602 }, | 608 }, |
| 603 { | 609 { |
| 604 0x3007, "GL_CLIP_DISTANCE7_APPLE", | 610 0x3007, "GL_CLIP_DISTANCE7_APPLE", |
| 605 }, | 611 }, |
| 606 { | 612 { |
| 607 0x300E, "GL_CONTEXT_LOST", | 613 0x300E, "GL_CONTEXT_LOST", |
| 608 }, | 614 }, |
| 609 { | 615 { |
| 616 0x4, "GL_CA_LAYER_EDGE_BOTTOM_CHROMIUM", |
| 617 }, |
| 618 { |
| 610 0x40000000, "GL_MULTISAMPLE_BUFFER_BIT6_QCOM", | 619 0x40000000, "GL_MULTISAMPLE_BUFFER_BIT6_QCOM", |
| 611 }, | 620 }, |
| 612 { | 621 { |
| 613 0x6003, "GL_GET_ERROR_QUERY_CHROMIUM", | 622 0x6003, "GL_GET_ERROR_QUERY_CHROMIUM", |
| 614 }, | 623 }, |
| 615 { | 624 { |
| 616 0x6004, "GL_COMMANDS_ISSUED_CHROMIUM", | 625 0x6004, "GL_COMMANDS_ISSUED_CHROMIUM", |
| 617 }, | 626 }, |
| 618 { | 627 { |
| 619 0x6006, "GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM", | 628 0x6006, "GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 639 { | 648 { |
| 640 0x78FA, "GL_RGB_YUV_420_CHROMIUM", | 649 0x78FA, "GL_RGB_YUV_420_CHROMIUM", |
| 641 }, | 650 }, |
| 642 { | 651 { |
| 643 0x78FB, "GL_RGB_YCBCR_422_CHROMIUM", | 652 0x78FB, "GL_RGB_YCBCR_422_CHROMIUM", |
| 644 }, | 653 }, |
| 645 { | 654 { |
| 646 0x78FC, "GL_RGB_YCBCR_420V_CHROMIUM", | 655 0x78FC, "GL_RGB_YCBCR_420V_CHROMIUM", |
| 647 }, | 656 }, |
| 648 { | 657 { |
| 658 0x8, "GL_CA_LAYER_EDGE_TOP_CHROMIUM", |
| 659 }, |
| 660 { |
| 649 0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM", | 661 0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM", |
| 650 }, | 662 }, |
| 651 { | 663 { |
| 652 0x8001, "GL_CONSTANT_COLOR", | 664 0x8001, "GL_CONSTANT_COLOR", |
| 653 }, | 665 }, |
| 654 { | 666 { |
| 655 0x8002, "GL_ONE_MINUS_CONSTANT_COLOR", | 667 0x8002, "GL_ONE_MINUS_CONSTANT_COLOR", |
| 656 }, | 668 }, |
| 657 { | 669 { |
| 658 0x8003, "GL_CONSTANT_ALPHA", | 670 0x8003, "GL_CONSTANT_ALPHA", |
| (...skipping 4224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4883 | 4895 |
| 4884 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { | 4896 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { |
| 4885 static const EnumToString string_table[] = { | 4897 static const EnumToString string_table[] = { |
| 4886 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, | 4898 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, |
| 4887 }; | 4899 }; |
| 4888 return GLES2Util::GetQualifiedEnumString(string_table, | 4900 return GLES2Util::GetQualifiedEnumString(string_table, |
| 4889 arraysize(string_table), value); | 4901 arraysize(string_table), value); |
| 4890 } | 4902 } |
| 4891 | 4903 |
| 4892 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ | 4904 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ |
| OLD | NEW |