Chromium Code Reviews| 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); |
|
Kai Ninomiya
2016/09/21 22:31:17
Is this change in the autogenerated code okay?
Kai Ninomiya
2016/09/21 22:46:47
Never mind, once my brain started working again I
|
| } |
| 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"}, |
| }; |
|
Kai Ninomiya
2016/09/21 22:31:17
And this one?
Kai Ninomiya
2016/09/21 22:46:47
Never mind
|
| return GLES2Util::GetQualifiedEnumString(string_table, |
| arraysize(string_table), value); |