| 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 3f0bf14b2aaa66a80a0ce3da41cc15d684209178..cdebc20396d7bf2658cbff21a4da224239ae97ac 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
|
| +++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
|
| @@ -3632,23 +3632,7 @@ std::string GLES2Util::GetStringCmpFunction(uint32_t value) {
|
| }
|
|
|
| std::string GLES2Util::GetStringCompressedTextureFormat(uint32_t value) {
|
| - static const EnumToString string_table[] = {
|
| - {GL_COMPRESSED_R11_EAC, "GL_COMPRESSED_R11_EAC"},
|
| - {GL_COMPRESSED_SIGNED_R11_EAC, "GL_COMPRESSED_SIGNED_R11_EAC"},
|
| - {GL_COMPRESSED_RG11_EAC, "GL_COMPRESSED_RG11_EAC"},
|
| - {GL_COMPRESSED_SIGNED_RG11_EAC, "GL_COMPRESSED_SIGNED_RG11_EAC"},
|
| - {GL_COMPRESSED_RGB8_ETC2, "GL_COMPRESSED_RGB8_ETC2"},
|
| - {GL_COMPRESSED_SRGB8_ETC2, "GL_COMPRESSED_SRGB8_ETC2"},
|
| - {GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2,
|
| - "GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2"},
|
| - {GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2,
|
| - "GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2"},
|
| - {GL_COMPRESSED_RGBA8_ETC2_EAC, "GL_COMPRESSED_RGBA8_ETC2_EAC"},
|
| - {GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC,
|
| - "GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC"},
|
| - };
|
| - return GLES2Util::GetQualifiedEnumString(string_table,
|
| - arraysize(string_table), value);
|
| + return GLES2Util::GetQualifiedEnumString(NULL, 0, value);
|
| }
|
|
|
| std::string GLES2Util::GetStringCoverageModulationComponents(uint32_t value) {
|
| @@ -4731,19 +4715,6 @@ std::string GLES2Util::GetStringTextureInternalFormatStorage(uint32_t value) {
|
| {GL_DEPTH_COMPONENT32F, "GL_DEPTH_COMPONENT32F"},
|
| {GL_DEPTH24_STENCIL8, "GL_DEPTH24_STENCIL8"},
|
| {GL_DEPTH32F_STENCIL8, "GL_DEPTH32F_STENCIL8"},
|
| - {GL_COMPRESSED_R11_EAC, "GL_COMPRESSED_R11_EAC"},
|
| - {GL_COMPRESSED_SIGNED_R11_EAC, "GL_COMPRESSED_SIGNED_R11_EAC"},
|
| - {GL_COMPRESSED_RG11_EAC, "GL_COMPRESSED_RG11_EAC"},
|
| - {GL_COMPRESSED_SIGNED_RG11_EAC, "GL_COMPRESSED_SIGNED_RG11_EAC"},
|
| - {GL_COMPRESSED_RGB8_ETC2, "GL_COMPRESSED_RGB8_ETC2"},
|
| - {GL_COMPRESSED_SRGB8_ETC2, "GL_COMPRESSED_SRGB8_ETC2"},
|
| - {GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2,
|
| - "GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2"},
|
| - {GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2,
|
| - "GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2"},
|
| - {GL_COMPRESSED_RGBA8_ETC2_EAC, "GL_COMPRESSED_RGBA8_ETC2_EAC"},
|
| - {GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC,
|
| - "GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC"},
|
| };
|
| return GLES2Util::GetQualifiedEnumString(string_table,
|
| arraysize(string_table), value);
|
|
|