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

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

Issue 1684173002: Add GL_RGB_YCBCR_422_CHROMIUM to the list of valid filterable formats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better fix from Mo Created 4 years, 10 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 4825 matching lines...) Expand 10 before | Expand all | Expand 10 after
4836 {GL_R11F_G11F_B10F, "GL_R11F_G11F_B10F"}, 4836 {GL_R11F_G11F_B10F, "GL_R11F_G11F_B10F"},
4837 {GL_RGB9_E5, "GL_RGB9_E5"}, 4837 {GL_RGB9_E5, "GL_RGB9_E5"},
4838 {GL_RGB16F, "GL_RGB16F"}, 4838 {GL_RGB16F, "GL_RGB16F"},
4839 {GL_RGBA8, "GL_RGBA8"}, 4839 {GL_RGBA8, "GL_RGBA8"},
4840 {GL_SRGB8_ALPHA8, "GL_SRGB8_ALPHA8"}, 4840 {GL_SRGB8_ALPHA8, "GL_SRGB8_ALPHA8"},
4841 {GL_RGBA8_SNORM, "GL_RGBA8_SNORM"}, 4841 {GL_RGBA8_SNORM, "GL_RGBA8_SNORM"},
4842 {GL_RGB5_A1, "GL_RGB5_A1"}, 4842 {GL_RGB5_A1, "GL_RGB5_A1"},
4843 {GL_RGBA4, "GL_RGBA4"}, 4843 {GL_RGBA4, "GL_RGBA4"},
4844 {GL_RGB10_A2, "GL_RGB10_A2"}, 4844 {GL_RGB10_A2, "GL_RGB10_A2"},
4845 {GL_RGBA16F, "GL_RGBA16F"}, 4845 {GL_RGBA16F, "GL_RGBA16F"},
4846 {GL_RGB_YUV_420_CHROMIUM, "GL_RGB_YUV_420_CHROMIUM"},
4847 {GL_RGB_YCBCR_422_CHROMIUM, "GL_RGB_YCBCR_422_CHROMIUM"},
4848 {GL_RGB_YCBCR_420V_CHROMIUM, "GL_RGB_YCBCR_420V_CHROMIUM"},
4846 }; 4849 };
4847 return GLES2Util::GetQualifiedEnumString(string_table, 4850 return GLES2Util::GetQualifiedEnumString(string_table,
4848 arraysize(string_table), value); 4851 arraysize(string_table), value);
4849 } 4852 }
4850 4853
4851 std::string GLES2Util::GetStringTextureStencilRenderableInternalFormat( 4854 std::string GLES2Util::GetStringTextureStencilRenderableInternalFormat(
4852 uint32_t value) { 4855 uint32_t value) {
4853 static const EnumToString string_table[] = { 4856 static const EnumToString string_table[] = {
4854 {GL_STENCIL_INDEX8, "GL_STENCIL_INDEX8"}, 4857 {GL_STENCIL_INDEX8, "GL_STENCIL_INDEX8"},
4855 {GL_DEPTH24_STENCIL8, "GL_DEPTH24_STENCIL8"}, 4858 {GL_DEPTH24_STENCIL8, "GL_DEPTH24_STENCIL8"},
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
5009 5012
5010 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 5013 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
5011 static const EnumToString string_table[] = { 5014 static const EnumToString string_table[] = {
5012 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 5015 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
5013 }; 5016 };
5014 return GLES2Util::GetQualifiedEnumString(string_table, 5017 return GLES2Util::GetQualifiedEnumString(string_table,
5015 arraysize(string_table), value); 5018 arraysize(string_table), value);
5016 } 5019 }
5017 5020
5018 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 5021 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698