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

Unified Diff: gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h

Issue 960873002: Update from https://crrev.com/318214 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_autogen.h ('k') | gpu/command_buffer/service/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
diff --git a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
index 273b1e05288ecfee8902d8b00504d92a31370ebd..899a2f4a01153e73069872b8b2aebab3fb95f946 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -5109,6 +5109,17 @@ std::string GLES2Util::GetStringSyncCondition(uint32_t value) {
arraysize(string_table), value);
}
+std::string GLES2Util::GetStringSyncParameter(uint32_t value) {
+ static const EnumToString string_table[] = {
+ {GL_SYNC_STATUS, "GL_SYNC_STATUS"},
+ {GL_OBJECT_TYPE, "GL_OBJECT_TYPE"},
+ {GL_SYNC_CONDITION, "GL_SYNC_CONDITION"},
+ {GL_SYNC_FLAGS, "GL_SYNC_FLAGS"},
+ };
+ return GLES2Util::GetQualifiedEnumString(string_table,
+ arraysize(string_table), value);
+}
+
std::string GLES2Util::GetStringTexture3DTarget(uint32_t value) {
static const EnumToString string_table[] = {
{GL_TEXTURE_3D, "GL_TEXTURE_3D"},
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_autogen.h ('k') | gpu/command_buffer/service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698