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

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

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 4771 matching lines...) Expand 10 before | Expand all | Expand 10 after
4782 4782
4783 std::string GLES2Util::GetStringIndexType(uint32_t value) { 4783 std::string GLES2Util::GetStringIndexType(uint32_t value) {
4784 static const EnumToString string_table[] = { 4784 static const EnumToString string_table[] = {
4785 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"}, 4785 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
4786 {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"}, 4786 {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"},
4787 }; 4787 };
4788 return GLES2Util::GetQualifiedEnumString(string_table, 4788 return GLES2Util::GetQualifiedEnumString(string_table,
4789 arraysize(string_table), value); 4789 arraysize(string_table), value);
4790 } 4790 }
4791 4791
4792 std::string GLES2Util::GetStringIndexedBufferTarget(uint32_t value) {
4793 static const EnumToString string_table[] = {
4794 {GL_TRANSFORM_FEEDBACK_BUFFER, "GL_TRANSFORM_FEEDBACK_BUFFER"},
4795 {GL_UNIFORM_BUFFER, "GL_UNIFORM_BUFFER"},
4796 };
4797 return GLES2Util::GetQualifiedEnumString(string_table,
4798 arraysize(string_table), value);
4799 }
4800
4792 std::string GLES2Util::GetStringMatrixMode(uint32_t value) { 4801 std::string GLES2Util::GetStringMatrixMode(uint32_t value) {
4793 static const EnumToString string_table[] = { 4802 static const EnumToString string_table[] = {
4794 {GL_PATH_PROJECTION_CHROMIUM, "GL_PATH_PROJECTION_CHROMIUM"}, 4803 {GL_PATH_PROJECTION_CHROMIUM, "GL_PATH_PROJECTION_CHROMIUM"},
4795 {GL_PATH_MODELVIEW_CHROMIUM, "GL_PATH_MODELVIEW_CHROMIUM"}, 4804 {GL_PATH_MODELVIEW_CHROMIUM, "GL_PATH_MODELVIEW_CHROMIUM"},
4796 }; 4805 };
4797 return GLES2Util::GetQualifiedEnumString(string_table, 4806 return GLES2Util::GetQualifiedEnumString(string_table,
4798 arraysize(string_table), value); 4807 arraysize(string_table), value);
4799 } 4808 }
4800 4809
4801 std::string GLES2Util::GetStringPixelStore(uint32_t value) { 4810 std::string GLES2Util::GetStringPixelStore(uint32_t value) {
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
5240 5249
5241 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 5250 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
5242 static const EnumToString string_table[] = { 5251 static const EnumToString string_table[] = {
5243 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 5252 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
5244 }; 5253 };
5245 return GLES2Util::GetQualifiedEnumString(string_table, 5254 return GLES2Util::GetQualifiedEnumString(string_table,
5246 arraysize(string_table), value); 5255 arraysize(string_table), value);
5247 } 5256 }
5248 5257
5249 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 5258 #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/common/gles2_cmd_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698