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

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

Issue 2539163003: Add command buffer support for GL_EXT_texture_sRGB_decode (Closed)
Patch Set: Rebase Created 4 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 4810 matching lines...) Expand 10 before | Expand all | Expand 10 after
4821 {GL_RGB10_A2, "GL_RGB10_A2"}, 4821 {GL_RGB10_A2, "GL_RGB10_A2"},
4822 {GL_RGBA16F, "GL_RGBA16F"}, 4822 {GL_RGBA16F, "GL_RGBA16F"},
4823 {GL_RGB_YCRCB_420_CHROMIUM, "GL_RGB_YCRCB_420_CHROMIUM"}, 4823 {GL_RGB_YCRCB_420_CHROMIUM, "GL_RGB_YCRCB_420_CHROMIUM"},
4824 {GL_RGB_YCBCR_422_CHROMIUM, "GL_RGB_YCBCR_422_CHROMIUM"}, 4824 {GL_RGB_YCBCR_422_CHROMIUM, "GL_RGB_YCBCR_422_CHROMIUM"},
4825 {GL_RGB_YCBCR_420V_CHROMIUM, "GL_RGB_YCBCR_420V_CHROMIUM"}, 4825 {GL_RGB_YCBCR_420V_CHROMIUM, "GL_RGB_YCBCR_420V_CHROMIUM"},
4826 }; 4826 };
4827 return GLES2Util::GetQualifiedEnumString(string_table, 4827 return GLES2Util::GetQualifiedEnumString(string_table,
4828 arraysize(string_table), value); 4828 arraysize(string_table), value);
4829 } 4829 }
4830 4830
4831 std::string GLES2Util::GetStringTextureSrgbDecodeExt(uint32_t value) {
4832 static const EnumToString string_table[] = {
4833 {GL_DECODE_EXT, "GL_DECODE_EXT"},
4834 {GL_SKIP_DECODE_EXT, "GL_SKIP_DECODE_EXT"},
4835 };
4836 return GLES2Util::GetQualifiedEnumString(string_table,
4837 arraysize(string_table), value);
4838 }
4839
4831 std::string GLES2Util::GetStringTextureStencilRenderableInternalFormat( 4840 std::string GLES2Util::GetStringTextureStencilRenderableInternalFormat(
4832 uint32_t value) { 4841 uint32_t value) {
4833 static const EnumToString string_table[] = { 4842 static const EnumToString string_table[] = {
4834 {GL_STENCIL_INDEX8, "GL_STENCIL_INDEX8"}, 4843 {GL_STENCIL_INDEX8, "GL_STENCIL_INDEX8"},
4835 {GL_DEPTH24_STENCIL8, "GL_DEPTH24_STENCIL8"}, 4844 {GL_DEPTH24_STENCIL8, "GL_DEPTH24_STENCIL8"},
4836 {GL_DEPTH32F_STENCIL8, "GL_DEPTH32F_STENCIL8"}, 4845 {GL_DEPTH32F_STENCIL8, "GL_DEPTH32F_STENCIL8"},
4837 }; 4846 };
4838 return GLES2Util::GetQualifiedEnumString(string_table, 4847 return GLES2Util::GetQualifiedEnumString(string_table,
4839 arraysize(string_table), value); 4848 arraysize(string_table), value);
4840 } 4849 }
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
4989 4998
4990 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 4999 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
4991 static const EnumToString string_table[] = { 5000 static const EnumToString string_table[] = {
4992 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 5001 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
4993 }; 5002 };
4994 return GLES2Util::GetQualifiedEnumString(string_table, 5003 return GLES2Util::GetQualifiedEnumString(string_table,
4995 arraysize(string_table), value); 5004 arraysize(string_table), value);
4996 } 5005 }
4997 5006
4998 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 5007 #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.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698