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

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

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references Created 4 years, 8 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 4488 matching lines...) Expand 10 before | Expand all | Expand 10 after
4499 {GL_VENDOR, "GL_VENDOR"}, 4499 {GL_VENDOR, "GL_VENDOR"},
4500 {GL_RENDERER, "GL_RENDERER"}, 4500 {GL_RENDERER, "GL_RENDERER"},
4501 {GL_VERSION, "GL_VERSION"}, 4501 {GL_VERSION, "GL_VERSION"},
4502 {GL_SHADING_LANGUAGE_VERSION, "GL_SHADING_LANGUAGE_VERSION"}, 4502 {GL_SHADING_LANGUAGE_VERSION, "GL_SHADING_LANGUAGE_VERSION"},
4503 {GL_EXTENSIONS, "GL_EXTENSIONS"}, 4503 {GL_EXTENSIONS, "GL_EXTENSIONS"},
4504 }; 4504 };
4505 return GLES2Util::GetQualifiedEnumString(string_table, 4505 return GLES2Util::GetQualifiedEnumString(string_table,
4506 arraysize(string_table), value); 4506 arraysize(string_table), value);
4507 } 4507 }
4508 4508
4509 std::string GLES2Util::GetStringSubscriptionTarget(uint32_t value) {
4510 static const EnumToString string_table[] = {
4511 {GL_MOUSE_POSITION_CHROMIUM, "GL_MOUSE_POSITION_CHROMIUM"},
4512 };
4513 return GLES2Util::GetQualifiedEnumString(string_table,
4514 arraysize(string_table), value);
4515 }
4516
4517 std::string GLES2Util::GetStringSyncCondition(uint32_t value) { 4509 std::string GLES2Util::GetStringSyncCondition(uint32_t value) {
4518 static const EnumToString string_table[] = { 4510 static const EnumToString string_table[] = {
4519 {GL_SYNC_GPU_COMMANDS_COMPLETE, "GL_SYNC_GPU_COMMANDS_COMPLETE"}, 4511 {GL_SYNC_GPU_COMMANDS_COMPLETE, "GL_SYNC_GPU_COMMANDS_COMPLETE"},
4520 }; 4512 };
4521 return GLES2Util::GetQualifiedEnumString(string_table, 4513 return GLES2Util::GetQualifiedEnumString(string_table,
4522 arraysize(string_table), value); 4514 arraysize(string_table), value);
4523 } 4515 }
4524 4516
4525 std::string GLES2Util::GetStringSyncParameter(uint32_t value) { 4517 std::string GLES2Util::GetStringSyncParameter(uint32_t value) {
4526 static const EnumToString string_table[] = { 4518 static const EnumToString string_table[] = {
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
4967 {GL_UNIFORM_BLOCK_INDEX, "GL_UNIFORM_BLOCK_INDEX"}, 4959 {GL_UNIFORM_BLOCK_INDEX, "GL_UNIFORM_BLOCK_INDEX"},
4968 {GL_UNIFORM_OFFSET, "GL_UNIFORM_OFFSET"}, 4960 {GL_UNIFORM_OFFSET, "GL_UNIFORM_OFFSET"},
4969 {GL_UNIFORM_ARRAY_STRIDE, "GL_UNIFORM_ARRAY_STRIDE"}, 4961 {GL_UNIFORM_ARRAY_STRIDE, "GL_UNIFORM_ARRAY_STRIDE"},
4970 {GL_UNIFORM_MATRIX_STRIDE, "GL_UNIFORM_MATRIX_STRIDE"}, 4962 {GL_UNIFORM_MATRIX_STRIDE, "GL_UNIFORM_MATRIX_STRIDE"},
4971 {GL_UNIFORM_IS_ROW_MAJOR, "GL_UNIFORM_IS_ROW_MAJOR"}, 4963 {GL_UNIFORM_IS_ROW_MAJOR, "GL_UNIFORM_IS_ROW_MAJOR"},
4972 }; 4964 };
4973 return GLES2Util::GetQualifiedEnumString(string_table, 4965 return GLES2Util::GetQualifiedEnumString(string_table,
4974 arraysize(string_table), value); 4966 arraysize(string_table), value);
4975 } 4967 }
4976 4968
4977 std::string GLES2Util::GetStringValueBufferTarget(uint32_t value) {
4978 static const EnumToString string_table[] = {
4979 {GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM,
4980 "GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM"},
4981 };
4982 return GLES2Util::GetQualifiedEnumString(string_table,
4983 arraysize(string_table), value);
4984 }
4985
4986 std::string GLES2Util::GetStringVertexAttribIType(uint32_t value) { 4969 std::string GLES2Util::GetStringVertexAttribIType(uint32_t value) {
4987 static const EnumToString string_table[] = { 4970 static const EnumToString string_table[] = {
4988 {GL_BYTE, "GL_BYTE"}, {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"}, 4971 {GL_BYTE, "GL_BYTE"}, {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
4989 {GL_SHORT, "GL_SHORT"}, {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"}, 4972 {GL_SHORT, "GL_SHORT"}, {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"},
4990 {GL_INT, "GL_INT"}, {GL_UNSIGNED_INT, "GL_UNSIGNED_INT"}, 4973 {GL_INT, "GL_INT"}, {GL_UNSIGNED_INT, "GL_UNSIGNED_INT"},
4991 }; 4974 };
4992 return GLES2Util::GetQualifiedEnumString(string_table, 4975 return GLES2Util::GetQualifiedEnumString(string_table,
4993 arraysize(string_table), value); 4976 arraysize(string_table), value);
4994 } 4977 }
4995 4978
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
5029 5012
5030 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 5013 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
5031 static const EnumToString string_table[] = { 5014 static const EnumToString string_table[] = {
5032 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 5015 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
5033 }; 5016 };
5034 return GLES2Util::GetQualifiedEnumString(string_table, 5017 return GLES2Util::GetQualifiedEnumString(string_table,
5035 arraysize(string_table), value); 5018 arraysize(string_table), value);
5036 } 5019 }
5037 5020
5038 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 5021 #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/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698