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

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

Issue 960873002: Update from https://crrev.com/318214 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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 5091 matching lines...) Expand 10 before | Expand all | Expand 10 after
5102 } 5102 }
5103 5103
5104 std::string GLES2Util::GetStringSyncCondition(uint32_t value) { 5104 std::string GLES2Util::GetStringSyncCondition(uint32_t value) {
5105 static const EnumToString string_table[] = { 5105 static const EnumToString string_table[] = {
5106 {GL_SYNC_GPU_COMMANDS_COMPLETE, "GL_SYNC_GPU_COMMANDS_COMPLETE"}, 5106 {GL_SYNC_GPU_COMMANDS_COMPLETE, "GL_SYNC_GPU_COMMANDS_COMPLETE"},
5107 }; 5107 };
5108 return GLES2Util::GetQualifiedEnumString(string_table, 5108 return GLES2Util::GetQualifiedEnumString(string_table,
5109 arraysize(string_table), value); 5109 arraysize(string_table), value);
5110 } 5110 }
5111 5111
5112 std::string GLES2Util::GetStringSyncParameter(uint32_t value) {
5113 static const EnumToString string_table[] = {
5114 {GL_SYNC_STATUS, "GL_SYNC_STATUS"},
5115 {GL_OBJECT_TYPE, "GL_OBJECT_TYPE"},
5116 {GL_SYNC_CONDITION, "GL_SYNC_CONDITION"},
5117 {GL_SYNC_FLAGS, "GL_SYNC_FLAGS"},
5118 };
5119 return GLES2Util::GetQualifiedEnumString(string_table,
5120 arraysize(string_table), value);
5121 }
5122
5112 std::string GLES2Util::GetStringTexture3DTarget(uint32_t value) { 5123 std::string GLES2Util::GetStringTexture3DTarget(uint32_t value) {
5113 static const EnumToString string_table[] = { 5124 static const EnumToString string_table[] = {
5114 {GL_TEXTURE_3D, "GL_TEXTURE_3D"}, 5125 {GL_TEXTURE_3D, "GL_TEXTURE_3D"},
5115 {GL_TEXTURE_2D_ARRAY, "GL_TEXTURE_2D_ARRAY"}, 5126 {GL_TEXTURE_2D_ARRAY, "GL_TEXTURE_2D_ARRAY"},
5116 }; 5127 };
5117 return GLES2Util::GetQualifiedEnumString(string_table, 5128 return GLES2Util::GetQualifiedEnumString(string_table,
5118 arraysize(string_table), value); 5129 arraysize(string_table), value);
5119 } 5130 }
5120 5131
5121 std::string GLES2Util::GetStringTextureBindTarget(uint32_t value) { 5132 std::string GLES2Util::GetStringTextureBindTarget(uint32_t value) {
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
5330 5341
5331 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 5342 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
5332 static const EnumToString string_table[] = { 5343 static const EnumToString string_table[] = {
5333 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 5344 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
5334 }; 5345 };
5335 return GLES2Util::GetQualifiedEnumString(string_table, 5346 return GLES2Util::GetQualifiedEnumString(string_table,
5336 arraysize(string_table), value); 5347 arraysize(string_table), value);
5337 } 5348 }
5338 5349
5339 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 5350 #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/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698