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

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

Issue 1688163002: command_buffer: Implement glGetStringi for GL ES 3.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@command-buffer-generator-int-types
Patch Set: eh3 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..0260dd5d56ed66bd3e0e90158a89aa805b964654 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -4049,6 +4049,14 @@ std::string GLES2Util::GetStringIndexedGLState(uint32_t value) {
arraysize(string_table), value);
}
+std::string GLES2Util::GetStringIndexedStringType(uint32_t value) {
+ static const EnumToString string_table[] = {
+ {GL_EXTENSIONS, "GL_EXTENSIONS"},
+ };
+ return GLES2Util::GetQualifiedEnumString(string_table,
+ arraysize(string_table), value);
+}
+
std::string GLES2Util::GetStringInternalFormatParameter(uint32_t value) {
static const EnumToString string_table[] = {
{GL_NUM_SAMPLE_COUNTS, "GL_NUM_SAMPLE_COUNTS"},

Powered by Google App Engine
This is Rietveld 408576698