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

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

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo 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 5076 matching lines...) Expand 10 before | Expand all | Expand 10 after
5087 std::string GLES2Util::GetStringSubscriptionTarget(uint32_t value) { 5087 std::string GLES2Util::GetStringSubscriptionTarget(uint32_t value) {
5088 static const EnumToString string_table[] = { 5088 static const EnumToString string_table[] = {
5089 {GL_MOUSE_POSITION_CHROMIUM, "GL_MOUSE_POSITION_CHROMIUM"}, 5089 {GL_MOUSE_POSITION_CHROMIUM, "GL_MOUSE_POSITION_CHROMIUM"},
5090 }; 5090 };
5091 return GLES2Util::GetQualifiedEnumString(string_table, 5091 return GLES2Util::GetQualifiedEnumString(string_table,
5092 arraysize(string_table), value); 5092 arraysize(string_table), value);
5093 } 5093 }
5094 5094
5095 std::string GLES2Util::GetStringSyncCondition(uint32_t value) { 5095 std::string GLES2Util::GetStringSyncCondition(uint32_t value) {
5096 static const EnumToString string_table[] = { 5096 static const EnumToString string_table[] = {
5097 {0x9117, "0x9117"}, 5097 {GL_SYNC_GPU_COMMANDS_COMPLETE, "GL_SYNC_GPU_COMMANDS_COMPLETE"},
5098 }; 5098 };
5099 return GLES2Util::GetQualifiedEnumString(string_table, 5099 return GLES2Util::GetQualifiedEnumString(string_table,
5100 arraysize(string_table), value); 5100 arraysize(string_table), value);
5101 } 5101 }
5102 5102
5103 std::string GLES2Util::GetStringTexture3DTarget(uint32_t value) { 5103 std::string GLES2Util::GetStringTexture3DTarget(uint32_t value) {
5104 static const EnumToString string_table[] = { 5104 static const EnumToString string_table[] = {
5105 {GL_TEXTURE_3D, "GL_TEXTURE_3D"}, 5105 {GL_TEXTURE_3D, "GL_TEXTURE_3D"},
5106 {GL_TEXTURE_2D_ARRAY, "GL_TEXTURE_2D_ARRAY"}, 5106 {GL_TEXTURE_2D_ARRAY, "GL_TEXTURE_2D_ARRAY"},
5107 }; 5107 };
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
5289 5289
5290 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 5290 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
5291 static const EnumToString string_table[] = { 5291 static const EnumToString string_table[] = {
5292 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 5292 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
5293 }; 5293 };
5294 return GLES2Util::GetQualifiedEnumString(string_table, 5294 return GLES2Util::GetQualifiedEnumString(string_table,
5295 arraysize(string_table), value); 5295 arraysize(string_table), value);
5296 } 5296 }
5297 5297
5298 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 5298 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils.cc ('k') | gpu/command_buffer/common/gles2_cmd_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698