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

Unified Diff: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h

Issue 1684173002: Add GL_RGB_YCBCR_422_CHROMIUM to the list of valid filterable formats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better fix from Mo 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
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
index ab35382d21885ad7fecb4c8b75ad77ca9e8c7b5b..97f2260aacc8d5eeb07d8ba225a3dd27358b4fd1 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
@@ -1214,11 +1214,29 @@ static const GLenum
static const GLenum
valid_texture_sized_texture_filterable_internal_format_table[] = {
- GL_R8, GL_R8_SNORM, GL_R16F, GL_RG8,
- GL_RG8_SNORM, GL_RG16F, GL_RGB8, GL_SRGB8,
- GL_RGB565, GL_RGB8_SNORM, GL_R11F_G11F_B10F, GL_RGB9_E5,
- GL_RGB16F, GL_RGBA8, GL_SRGB8_ALPHA8, GL_RGBA8_SNORM,
- GL_RGB5_A1, GL_RGBA4, GL_RGB10_A2, GL_RGBA16F,
+ GL_R8,
+ GL_R8_SNORM,
+ GL_R16F,
+ GL_RG8,
+ GL_RG8_SNORM,
+ GL_RG16F,
+ GL_RGB8,
+ GL_SRGB8,
+ GL_RGB565,
+ GL_RGB8_SNORM,
+ GL_R11F_G11F_B10F,
+ GL_RGB9_E5,
+ GL_RGB16F,
+ GL_RGBA8,
+ GL_SRGB8_ALPHA8,
+ GL_RGBA8_SNORM,
+ GL_RGB5_A1,
+ GL_RGBA4,
+ GL_RGB10_A2,
+ GL_RGBA16F,
+ GL_RGB_YUV_420_CHROMIUM,
+ GL_RGB_YCBCR_422_CHROMIUM,
+ GL_RGB_YCBCR_420V_CHROMIUM,
};
static const GLenum
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698