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

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

Issue 894373004: Add glGetActiveUniformBlockiv to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win bots 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 5242 matching lines...) Expand 10 before | Expand all | Expand 10 after
5253 std::string GLES2Util::GetStringTransformFeedbackPrimitiveMode(uint32_t value) { 5253 std::string GLES2Util::GetStringTransformFeedbackPrimitiveMode(uint32_t value) {
5254 static const EnumToString string_table[] = { 5254 static const EnumToString string_table[] = {
5255 {GL_POINTS, "GL_POINTS"}, 5255 {GL_POINTS, "GL_POINTS"},
5256 {GL_LINES, "GL_LINES"}, 5256 {GL_LINES, "GL_LINES"},
5257 {GL_TRIANGLES, "GL_TRIANGLES"}, 5257 {GL_TRIANGLES, "GL_TRIANGLES"},
5258 }; 5258 };
5259 return GLES2Util::GetQualifiedEnumString(string_table, 5259 return GLES2Util::GetQualifiedEnumString(string_table,
5260 arraysize(string_table), value); 5260 arraysize(string_table), value);
5261 } 5261 }
5262 5262
5263 std::string GLES2Util::GetStringUniformBlockParameter(uint32_t value) {
5264 static const EnumToString string_table[] = {
5265 {GL_UNIFORM_BLOCK_BINDING, "GL_UNIFORM_BLOCK_BINDING"},
5266 {GL_UNIFORM_BLOCK_DATA_SIZE, "GL_UNIFORM_BLOCK_DATA_SIZE"},
5267 {GL_UNIFORM_BLOCK_NAME_LENGTH, "GL_UNIFORM_BLOCK_NAME_LENGTH"},
5268 {GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, "GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS"},
5269 {GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES,
5270 "GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES"},
5271 {GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER,
5272 "GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER"},
5273 {GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER,
5274 "GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER"},
5275 };
5276 return GLES2Util::GetQualifiedEnumString(string_table,
5277 arraysize(string_table), value);
5278 }
5279
5263 std::string GLES2Util::GetStringValueBufferTarget(uint32_t value) { 5280 std::string GLES2Util::GetStringValueBufferTarget(uint32_t value) {
5264 static const EnumToString string_table[] = { 5281 static const EnumToString string_table[] = {
5265 {GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM, 5282 {GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM,
5266 "GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM"}, 5283 "GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM"},
5267 }; 5284 };
5268 return GLES2Util::GetQualifiedEnumString(string_table, 5285 return GLES2Util::GetQualifiedEnumString(string_table,
5269 arraysize(string_table), value); 5286 arraysize(string_table), value);
5270 } 5287 }
5271 5288
5272 std::string GLES2Util::GetStringVertexAttribType(uint32_t value) { 5289 std::string GLES2Util::GetStringVertexAttribType(uint32_t value) {
(...skipping 25 matching lines...) Expand all
5298 5315
5299 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 5316 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
5300 static const EnumToString string_table[] = { 5317 static const EnumToString string_table[] = {
5301 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 5318 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
5302 }; 5319 };
5303 return GLES2Util::GetQualifiedEnumString(string_table, 5320 return GLES2Util::GetQualifiedEnumString(string_table,
5304 arraysize(string_table), value); 5321 arraysize(string_table), value);
5305 } 5322 }
5306 5323
5307 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 5324 #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/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698