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

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

Issue 10441087: Plum through ANGLE_depth_texture (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 9 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
10 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 10 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 std::string GLES2Util::GetStringReadPixelFormat(uint32 value) { 956 std::string GLES2Util::GetStringReadPixelFormat(uint32 value) {
957 static EnumToString string_table[] = { 957 static EnumToString string_table[] = {
958 { GL_ALPHA, "GL_ALPHA" }, 958 { GL_ALPHA, "GL_ALPHA" },
959 { GL_RGB, "GL_RGB" }, 959 { GL_RGB, "GL_RGB" },
960 { GL_RGBA, "GL_RGBA" }, 960 { GL_RGBA, "GL_RGBA" },
961 }; 961 };
962 return GLES2Util::GetQualifiedEnumString( 962 return GLES2Util::GetQualifiedEnumString(
963 string_table, arraysize(string_table), value); 963 string_table, arraysize(string_table), value);
964 } 964 }
965 965
966 std::string GLES2Util::GetStringReadPixelType(uint32 value) {
967 static EnumToString string_table[] = {
968 { GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE" },
969 { GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5" },
970 { GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4" },
971 { GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1" },
972 };
973 return GLES2Util::GetQualifiedEnumString(
974 string_table, arraysize(string_table), value);
975 }
976
966 std::string GLES2Util::GetStringRenderBufferFormat(uint32 value) { 977 std::string GLES2Util::GetStringRenderBufferFormat(uint32 value) {
967 static EnumToString string_table[] = { 978 static EnumToString string_table[] = {
968 { GL_RGBA4, "GL_RGBA4" }, 979 { GL_RGBA4, "GL_RGBA4" },
969 { GL_RGB565, "GL_RGB565" }, 980 { GL_RGB565, "GL_RGB565" },
970 { GL_RGB5_A1, "GL_RGB5_A1" }, 981 { GL_RGB5_A1, "GL_RGB5_A1" },
971 { GL_DEPTH_COMPONENT16, "GL_DEPTH_COMPONENT16" }, 982 { GL_DEPTH_COMPONENT16, "GL_DEPTH_COMPONENT16" },
972 { GL_STENCIL_INDEX8, "GL_STENCIL_INDEX8" }, 983 { GL_STENCIL_INDEX8, "GL_STENCIL_INDEX8" },
973 }; 984 };
974 return GLES2Util::GetQualifiedEnumString( 985 return GLES2Util::GetQualifiedEnumString(
975 string_table, arraysize(string_table), value); 986 string_table, arraysize(string_table), value);
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 std::string GLES2Util::GetStringVertexPointer(uint32 value) { 1244 std::string GLES2Util::GetStringVertexPointer(uint32 value) {
1234 static EnumToString string_table[] = { 1245 static EnumToString string_table[] = {
1235 { GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER" }, 1246 { GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER" },
1236 }; 1247 };
1237 return GLES2Util::GetQualifiedEnumString( 1248 return GLES2Util::GetQualifiedEnumString(
1238 string_table, arraysize(string_table), value); 1249 string_table, arraysize(string_table), value);
1239 } 1250 }
1240 1251
1241 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 1252 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
1242 1253
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