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

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

Issue 7304002: Correct reporting of compressed texture formats and shader binary formats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 5 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 956263666a6458d339706452dfe10b3380909e8e..37bf93e201a3169e403eadfee9d08c3b75e852e1 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -833,6 +833,11 @@ std::string GLES2Util::GetStringRenderBufferTarget(uint32 value) {
string_table, arraysize(string_table), value);
}
+std::string GLES2Util::GetStringShaderBinaryFormat(uint32 value) {
+ return GLES2Util::GetQualifiedEnumString(
+ NULL, 0, value);
+}
+
std::string GLES2Util::GetStringShaderParameter(uint32 value) {
static EnumToString string_table[] = {
{ GL_SHADER_TYPE, "GL_SHADER_TYPE" },
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_autogen.h ('k') | gpu/command_buffer/common/gles2_cmd_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698