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

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

Issue 2999923002: Revert of Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: rebase Created 3 years, 4 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
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 { 765 {
766 0x78FA, "GL_RGB_YCRCB_420_CHROMIUM", 766 0x78FA, "GL_RGB_YCRCB_420_CHROMIUM",
767 }, 767 },
768 { 768 {
769 0x78FB, "GL_RGB_YCBCR_422_CHROMIUM", 769 0x78FB, "GL_RGB_YCBCR_422_CHROMIUM",
770 }, 770 },
771 { 771 {
772 0x78FC, "GL_RGB_YCBCR_420V_CHROMIUM", 772 0x78FC, "GL_RGB_YCBCR_420V_CHROMIUM",
773 }, 773 },
774 { 774 {
775 0x78FD, "GL_TEXTURE_BUFFER_USAGE_CHROMIUM",
776 },
777 {
778 0x78FE, "GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM",
779 },
780 {
781 0x8, "GL_CA_LAYER_EDGE_TOP_CHROMIUM", 775 0x8, "GL_CA_LAYER_EDGE_TOP_CHROMIUM",
782 }, 776 },
783 { 777 {
784 0x80, "GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV", 778 0x80, "GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV",
785 }, 779 },
786 { 780 {
787 0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM", 781 0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM",
788 }, 782 },
789 { 783 {
790 0x8001, "GL_CONSTANT_COLOR", 784 0x8001, "GL_CONSTANT_COLOR",
(...skipping 4542 matching lines...) Expand 10 before | Expand all | Expand 10 after
5333 static const EnumToString string_table[] = { 5327 static const EnumToString string_table[] = {
5334 {GL_TEXTURE_2D, "GL_TEXTURE_2D"}, 5328 {GL_TEXTURE_2D, "GL_TEXTURE_2D"},
5335 {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"}, 5329 {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"},
5336 {GL_TEXTURE_3D, "GL_TEXTURE_3D"}, 5330 {GL_TEXTURE_3D, "GL_TEXTURE_3D"},
5337 {GL_TEXTURE_2D_ARRAY, "GL_TEXTURE_2D_ARRAY"}, 5331 {GL_TEXTURE_2D_ARRAY, "GL_TEXTURE_2D_ARRAY"},
5338 }; 5332 };
5339 return GLES2Util::GetQualifiedEnumString(string_table, 5333 return GLES2Util::GetQualifiedEnumString(string_table,
5340 arraysize(string_table), value); 5334 arraysize(string_table), value);
5341 } 5335 }
5342 5336
5343 std::string GLES2Util::GetStringTextureBufferUsage(uint32_t value) {
5344 static const EnumToString string_table[] = {
5345 {GL_NONE, "GL_NONE"},
5346 {GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM,
5347 "GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM"},
5348 };
5349 return GLES2Util::GetQualifiedEnumString(string_table,
5350 arraysize(string_table), value);
5351 }
5352
5353 std::string GLES2Util::GetStringTextureCompareFunc(uint32_t value) { 5337 std::string GLES2Util::GetStringTextureCompareFunc(uint32_t value) {
5354 static const EnumToString string_table[] = { 5338 static const EnumToString string_table[] = {
5355 {GL_LEQUAL, "GL_LEQUAL"}, {GL_GEQUAL, "GL_GEQUAL"}, 5339 {GL_LEQUAL, "GL_LEQUAL"}, {GL_GEQUAL, "GL_GEQUAL"},
5356 {GL_LESS, "GL_LESS"}, {GL_GREATER, "GL_GREATER"}, 5340 {GL_LESS, "GL_LESS"}, {GL_GREATER, "GL_GREATER"},
5357 {GL_EQUAL, "GL_EQUAL"}, {GL_NOTEQUAL, "GL_NOTEQUAL"}, 5341 {GL_EQUAL, "GL_EQUAL"}, {GL_NOTEQUAL, "GL_NOTEQUAL"},
5358 {GL_ALWAYS, "GL_ALWAYS"}, {GL_NEVER, "GL_NEVER"}, 5342 {GL_ALWAYS, "GL_ALWAYS"}, {GL_NEVER, "GL_NEVER"},
5359 }; 5343 };
5360 return GLES2Util::GetQualifiedEnumString(string_table, 5344 return GLES2Util::GetQualifiedEnumString(string_table,
5361 arraysize(string_table), value); 5345 arraysize(string_table), value);
5362 } 5346 }
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
5813 5797
5814 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 5798 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
5815 static const EnumToString string_table[] = { 5799 static const EnumToString string_table[] = {
5816 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 5800 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
5817 }; 5801 };
5818 return GLES2Util::GetQualifiedEnumString(string_table, 5802 return GLES2Util::GetQualifiedEnumString(string_table,
5819 arraysize(string_table), value); 5803 arraysize(string_table), value);
5820 } 5804 }
5821 5805
5822 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 5806 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_autogen.h ('k') | gpu/command_buffer/service/feature_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698