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

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

Issue 867333002: Use enum string instead of value in code generator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 side-by-side diff with in-line comments
Download patch
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 765cce683a70d1061ec2367a163bf101c15bcd6d..393ee436260aa6e7eea791b9fb3948442c2c3d69 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -5094,7 +5094,7 @@ std::string GLES2Util::GetStringSubscriptionTarget(uint32_t value) {
std::string GLES2Util::GetStringSyncCondition(uint32_t value) {
static const EnumToString string_table[] = {
- {0x9117, "0x9117"},
+ {GL_SYNC_GPU_COMMANDS_COMPLETE, "GL_SYNC_GPU_COMMANDS_COMPLETE"},
};
return GLES2Util::GetQualifiedEnumString(string_table,
arraysize(string_table), value);

Powered by Google App Engine
This is Rietveld 408576698