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

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

Issue 2999923002: Revert of Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: rebase Created 3 years, 4 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
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_autogen.h ('k') | gpu/command_buffer/service/feature_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0915ccf40c73e3b5f314e47e3e7888bbf80b287e..b6a91d84d79f75c01eb1d7a2263ceed1077148f8 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -771,12 +771,6 @@ static const GLES2Util::EnumToString enum_to_string_table[] = {
{
0x78FC, "GL_RGB_YCBCR_420V_CHROMIUM",
},
- {
- 0x78FD, "GL_TEXTURE_BUFFER_USAGE_CHROMIUM",
- },
- {
- 0x78FE, "GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM",
- },
{
0x8, "GL_CA_LAYER_EDGE_TOP_CHROMIUM",
},
@@ -5340,16 +5334,6 @@ std::string GLES2Util::GetStringTextureBindTarget(uint32_t value) {
arraysize(string_table), value);
}
-std::string GLES2Util::GetStringTextureBufferUsage(uint32_t value) {
- static const EnumToString string_table[] = {
- {GL_NONE, "GL_NONE"},
- {GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM,
- "GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM"},
- };
- return GLES2Util::GetQualifiedEnumString(string_table,
- arraysize(string_table), value);
-}
-
std::string GLES2Util::GetStringTextureCompareFunc(uint32_t value) {
static const EnumToString string_table[] = {
{GL_LEQUAL, "GL_LEQUAL"}, {GL_GEQUAL, "GL_GEQUAL"},
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_autogen.h ('k') | gpu/command_buffer/service/feature_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698