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

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

Issue 1435183002: WebGL 2: fix the bug in invalidate-framebuffer.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 5 years, 1 month 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 3989 matching lines...) Expand 10 before | Expand all | Expand 10 after
4000 4000
4001 std::string GLES2Util::GetStringInternalFormatParameter(uint32_t value) { 4001 std::string GLES2Util::GetStringInternalFormatParameter(uint32_t value) {
4002 static const EnumToString string_table[] = { 4002 static const EnumToString string_table[] = {
4003 {GL_NUM_SAMPLE_COUNTS, "GL_NUM_SAMPLE_COUNTS"}, 4003 {GL_NUM_SAMPLE_COUNTS, "GL_NUM_SAMPLE_COUNTS"},
4004 {GL_SAMPLES, "GL_SAMPLES"}, 4004 {GL_SAMPLES, "GL_SAMPLES"},
4005 }; 4005 };
4006 return GLES2Util::GetQualifiedEnumString(string_table, 4006 return GLES2Util::GetQualifiedEnumString(string_table,
4007 arraysize(string_table), value); 4007 arraysize(string_table), value);
4008 } 4008 }
4009 4009
4010 std::string GLES2Util::GetStringInvalidateFrameBufferTarget(uint32_t value) {
4011 static const EnumToString string_table[] = {
4012 {GL_FRAMEBUFFER, "GL_FRAMEBUFFER"},
4013 };
4014 return GLES2Util::GetQualifiedEnumString(string_table,
4015 arraysize(string_table), value);
4016 }
4017
4018 std::string GLES2Util::GetStringMapBufferAccess(uint32_t value) { 4010 std::string GLES2Util::GetStringMapBufferAccess(uint32_t value) {
4019 static const EnumToString string_table[] = { 4011 static const EnumToString string_table[] = {
4020 {GL_MAP_READ_BIT, "GL_MAP_READ_BIT"}, 4012 {GL_MAP_READ_BIT, "GL_MAP_READ_BIT"},
4021 {GL_MAP_WRITE_BIT, "GL_MAP_WRITE_BIT"}, 4013 {GL_MAP_WRITE_BIT, "GL_MAP_WRITE_BIT"},
4022 {GL_MAP_INVALIDATE_RANGE_BIT, "GL_MAP_INVALIDATE_RANGE_BIT"}, 4014 {GL_MAP_INVALIDATE_RANGE_BIT, "GL_MAP_INVALIDATE_RANGE_BIT"},
4023 {GL_MAP_INVALIDATE_BUFFER_BIT, "GL_MAP_INVALIDATE_BUFFER_BIT"}, 4015 {GL_MAP_INVALIDATE_BUFFER_BIT, "GL_MAP_INVALIDATE_BUFFER_BIT"},
4024 {GL_MAP_FLUSH_EXPLICIT_BIT, "GL_MAP_FLUSH_EXPLICIT_BIT"}, 4016 {GL_MAP_FLUSH_EXPLICIT_BIT, "GL_MAP_FLUSH_EXPLICIT_BIT"},
4025 {GL_MAP_UNSYNCHRONIZED_BIT, "GL_MAP_UNSYNCHRONIZED_BIT"}, 4017 {GL_MAP_UNSYNCHRONIZED_BIT, "GL_MAP_UNSYNCHRONIZED_BIT"},
4026 }; 4018 };
4027 return GLES2Util::GetQualifiedEnumString(string_table, 4019 return GLES2Util::GetQualifiedEnumString(string_table,
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
4866 4858
4867 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 4859 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
4868 static const EnumToString string_table[] = { 4860 static const EnumToString string_table[] = {
4869 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 4861 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
4870 }; 4862 };
4871 return GLES2Util::GetQualifiedEnumString(string_table, 4863 return GLES2Util::GetQualifiedEnumString(string_table,
4872 arraysize(string_table), value); 4864 arraysize(string_table), value);
4873 } 4865 }
4874 4866
4875 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 4867 #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_validation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698