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

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

Issue 1218223005: command_buffer: Implement CHROMIUM_framebuffer_mixed_samples extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase for commit Created 5 years 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 622f75dee3f99de8550a6088a13306d87c5cb681..dcf3983162b6e72f9c3b302a53f644990810a61f 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -3235,6 +3235,9 @@ static const GLES2Util::EnumToString enum_to_string_table[] = {
0x9317, "GL_MAX_FRAMEBUFFER_LAYERS_EXT",
},
{
+ 0x9332, "GL_COVERAGE_MODULATION_CHROMIUM",
+ },
+ {
0x9380, "GL_NUM_SAMPLE_COUNTS",
},
{
@@ -3643,6 +3646,17 @@ std::string GLES2Util::GetStringCompressedTextureFormat(uint32_t value) {
arraysize(string_table), value);
}
+std::string GLES2Util::GetStringCoverageModulationComponents(uint32_t value) {
+ static const EnumToString string_table[] = {
+ {GL_RGB, "GL_RGB"},
+ {GL_RGBA, "GL_RGBA"},
+ {GL_ALPHA, "GL_ALPHA"},
+ {GL_NONE, "GL_NONE"},
+ };
+ return GLES2Util::GetQualifiedEnumString(string_table,
+ arraysize(string_table), value);
+}
+
std::string GLES2Util::GetStringDrawMode(uint32_t value) {
static const EnumToString string_table[] = {
{GL_POINTS, "GL_POINTS"},
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_autogen.h ('k') | gpu/command_buffer/service/context_state_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698