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

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

Issue 1000483002: Added GLES3 Capabilities to the Command Buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stopped ES3 features from being set unless backed by an ES3 context Created 5 years, 9 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 403925ea8fc06b0c187ea2ee0cf9ff8b4e1c1a70..3e3b59b7a6e52778e53255032e931544575652fd 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -4560,6 +4560,8 @@ std::string GLES2Util::GetStringCapability(uint32_t value) {
{GL_SAMPLE_COVERAGE, "GL_SAMPLE_COVERAGE"},
{GL_SCISSOR_TEST, "GL_SCISSOR_TEST"},
{GL_STENCIL_TEST, "GL_STENCIL_TEST"},
+ {GL_PRIMITIVE_RESTART_FIXED_INDEX, "GL_PRIMITIVE_RESTART_FIXED_INDEX"},
+ {GL_RASTERIZER_DISCARD, "GL_RASTERIZER_DISCARD"},
};
return GLES2Util::GetQualifiedEnumString(string_table,
arraysize(string_table), value);
@@ -4768,6 +4770,8 @@ std::string GLES2Util::GetStringGLState(uint32_t value) {
{GL_SAMPLE_COVERAGE, "GL_SAMPLE_COVERAGE"},
{GL_SCISSOR_TEST, "GL_SCISSOR_TEST"},
{GL_STENCIL_TEST, "GL_STENCIL_TEST"},
+ {GL_PRIMITIVE_RESTART_FIXED_INDEX, "GL_PRIMITIVE_RESTART_FIXED_INDEX"},
+ {GL_RASTERIZER_DISCARD, "GL_RASTERIZER_DISCARD"},
};
return GLES2Util::GetQualifiedEnumString(string_table,
arraysize(string_table), value);

Powered by Google App Engine
This is Rietveld 408576698