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

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

Issue 1559203003: Add GLStreamTextureImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added enum, removed count parameter. Created 4 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
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 86c181bb87aba9b01e5ad6bf86acfb9f05c58a37..78f02d2c423d94d41ebe268b83dd275320abcae8 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -3103,6 +3103,9 @@ static const GLES2Util::EnumToString enum_to_string_table[] = {
0x928F, "GL_DST_ATOP_NV",
},
{
+ 0x9290, "GL_CUSTOM_MATRIX_STREAM_TEXTURE_CHROMIUM",
+ },
+ {
0x9291, "GL_PLUS_NV",
},
{
@@ -3657,6 +3660,15 @@ std::string GLES2Util::GetStringCoverageModulationComponents(uint32_t value) {
arraysize(string_table), value);
}
+std::string GLES2Util::GetStringCustomMatrixParameter(uint32_t value) {
+ static const EnumToString string_table[] = {
+ {GL_CUSTOM_MATRIX_STREAM_TEXTURE_CHROMIUM,
+ "GL_CUSTOM_MATRIX_STREAM_TEXTURE_CHROMIUM"},
+ };
+ 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"},

Powered by Google App Engine
This is Rietveld 408576698