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

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

Issue 1309743005: command_buffer: Implement EXT_blend_func_extended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase Created 5 years 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
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 { 636 {
637 0x78F2, "GL_READ_WRITE_CHROMIUM", 637 0x78F2, "GL_READ_WRITE_CHROMIUM",
638 }, 638 },
639 { 639 {
640 0x78FA, "GL_RGB_YUV_420_CHROMIUM", 640 0x78FA, "GL_RGB_YUV_420_CHROMIUM",
641 }, 641 },
642 { 642 {
643 0x78FB, "GL_RGB_YCBCR_422_CHROMIUM", 643 0x78FB, "GL_RGB_YCBCR_422_CHROMIUM",
644 }, 644 },
645 { 645 {
646 0x78FC, "GL_RGB_YCBCR_420V_CHROMIUM",
647 },
648 {
646 0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM", 649 0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM",
647 }, 650 },
648 { 651 {
649 0x8001, "GL_CONSTANT_COLOR", 652 0x8001, "GL_CONSTANT_COLOR",
650 }, 653 },
651 { 654 {
652 0x8002, "GL_ONE_MINUS_CONSTANT_COLOR", 655 0x8002, "GL_ONE_MINUS_CONSTANT_COLOR",
653 }, 656 },
654 { 657 {
655 0x8003, "GL_CONSTANT_ALPHA", 658 0x8003, "GL_CONSTANT_ALPHA",
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 { 1275 {
1273 0x851A, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z", 1276 0x851A, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z",
1274 }, 1277 },
1275 { 1278 {
1276 0x851C, "GL_MAX_CUBE_MAP_TEXTURE_SIZE", 1279 0x851C, "GL_MAX_CUBE_MAP_TEXTURE_SIZE",
1277 }, 1280 },
1278 { 1281 {
1279 0x8576, "GL_CONSTANT_CHROMIUM", 1282 0x8576, "GL_CONSTANT_CHROMIUM",
1280 }, 1283 },
1281 { 1284 {
1285 0x8589, "GL_SRC1_ALPHA_EXT",
1286 },
1287 {
1282 0x85B5, "GL_VERTEX_ARRAY_BINDING_OES", 1288 0x85B5, "GL_VERTEX_ARRAY_BINDING_OES",
1283 }, 1289 },
1284 { 1290 {
1285 0x85BA, "GL_UNSIGNED_SHORT_8_8_APPLE", 1291 0x85BA, "GL_UNSIGNED_SHORT_8_8_APPLE",
1286 }, 1292 },
1287 { 1293 {
1288 0x85BB, "GL_UNSIGNED_SHORT_8_8_REV_APPLE", 1294 0x85BB, "GL_UNSIGNED_SHORT_8_8_REV_APPLE",
1289 }, 1295 },
1290 { 1296 {
1291 0x8622, "GL_VERTEX_ATTRIB_ARRAY_ENABLED", 1297 0x8622, "GL_VERTEX_ATTRIB_ARRAY_ENABLED",
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1548 { 1554 {
1549 0x88EE, "GL_ETC1_SRGB8_NV", 1555 0x88EE, "GL_ETC1_SRGB8_NV",
1550 }, 1556 },
1551 { 1557 {
1552 0x88EF, "GL_PIXEL_UNPACK_BUFFER_BINDING", 1558 0x88EF, "GL_PIXEL_UNPACK_BUFFER_BINDING",
1553 }, 1559 },
1554 { 1560 {
1555 0x88F0, "GL_DEPTH24_STENCIL8_OES", 1561 0x88F0, "GL_DEPTH24_STENCIL8_OES",
1556 }, 1562 },
1557 { 1563 {
1564 0x88F9, "GL_SRC1_COLOR_EXT",
1565 },
1566 {
1567 0x88FA, "GL_ONE_MINUS_SRC1_COLOR_EXT",
1568 },
1569 {
1570 0x88FB, "GL_ONE_MINUS_SRC1_ALPHA_EXT",
1571 },
1572 {
1573 0x88FC, "GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT",
1574 },
1575 {
1558 0x88FD, "GL_VERTEX_ATTRIB_ARRAY_INTEGER", 1576 0x88FD, "GL_VERTEX_ATTRIB_ARRAY_INTEGER",
1559 }, 1577 },
1560 { 1578 {
1561 0x88FE, "GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE", 1579 0x88FE, "GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE",
1562 }, 1580 },
1563 { 1581 {
1564 0x88FF, "GL_MAX_ARRAY_TEXTURE_LAYERS", 1582 0x88FF, "GL_MAX_ARRAY_TEXTURE_LAYERS",
1565 }, 1583 },
1566 { 1584 {
1567 0x8904, "GL_MIN_PROGRAM_TEXEL_OFFSET", 1585 0x8904, "GL_MIN_PROGRAM_TEXEL_OFFSET",
(...skipping 2381 matching lines...) Expand 10 before | Expand all | Expand 10 after
3949 }; 3967 };
3950 return GLES2Util::GetQualifiedEnumString(string_table, 3968 return GLES2Util::GetQualifiedEnumString(string_table,
3951 arraysize(string_table), value); 3969 arraysize(string_table), value);
3952 } 3970 }
3953 3971
3954 std::string GLES2Util::GetStringImageInternalFormat(uint32_t value) { 3972 std::string GLES2Util::GetStringImageInternalFormat(uint32_t value) {
3955 static const EnumToString string_table[] = { 3973 static const EnumToString string_table[] = {
3956 {GL_RGB, "GL_RGB"}, 3974 {GL_RGB, "GL_RGB"},
3957 {GL_RGB_YUV_420_CHROMIUM, "GL_RGB_YUV_420_CHROMIUM"}, 3975 {GL_RGB_YUV_420_CHROMIUM, "GL_RGB_YUV_420_CHROMIUM"},
3958 {GL_RGB_YCBCR_422_CHROMIUM, "GL_RGB_YCBCR_422_CHROMIUM"}, 3976 {GL_RGB_YCBCR_422_CHROMIUM, "GL_RGB_YCBCR_422_CHROMIUM"},
3977 {GL_RGB_YCBCR_420V_CHROMIUM, "GL_RGB_YCBCR_420V_CHROMIUM"},
3959 {GL_RGBA, "GL_RGBA"}, 3978 {GL_RGBA, "GL_RGBA"},
3960 }; 3979 };
3961 return GLES2Util::GetQualifiedEnumString(string_table, 3980 return GLES2Util::GetQualifiedEnumString(string_table,
3962 arraysize(string_table), value); 3981 arraysize(string_table), value);
3963 } 3982 }
3964 3983
3965 std::string GLES2Util::GetStringImageUsage(uint32_t value) { 3984 std::string GLES2Util::GetStringImageUsage(uint32_t value) {
3966 static const EnumToString string_table[] = { 3985 static const EnumToString string_table[] = {
3967 {GL_READ_WRITE_CHROMIUM, "GL_READ_WRITE_CHROMIUM"}, 3986 {GL_READ_WRITE_CHROMIUM, "GL_READ_WRITE_CHROMIUM"},
3968 }; 3987 };
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
4864 4883
4865 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 4884 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
4866 static const EnumToString string_table[] = { 4885 static const EnumToString string_table[] = {
4867 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 4886 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
4868 }; 4887 };
4869 return GLES2Util::GetQualifiedEnumString(string_table, 4888 return GLES2Util::GetQualifiedEnumString(string_table,
4870 arraysize(string_table), value); 4889 arraysize(string_table), value);
4871 } 4890 }
4872 4891
4873 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 4892 #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_group.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698