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

Unified Diff: cc/output/gl_renderer.h

Issue 2122573003: media: replace LUMINANCE_F16 by RG_88 for 9/10-bit h264 videos Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve hubbe's concerns except for test. separate the CLs. Created 4 years, 3 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: cc/output/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index 2fc9c2404c8c664288628971b9f94a78e3d37613..ee7cd6fa6ed9757fab8dc81fe63c40578585c60d 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -411,11 +411,13 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
GetNonPremultipliedTextureBackgroundProgram(TexCoordPrecision precision,
SamplerType sampler);
- const VideoYUVProgram* GetVideoYUVProgram(TexCoordPrecision precision,
- SamplerType sampler,
- bool use_alpha_texture,
- bool use_nv12,
- bool use_color_lut);
+ const VideoYUVProgram* GetVideoYUVProgram(
+ TexCoordPrecision precision,
+ SamplerType sampler,
+ bool use_alpha_texture,
+ bool use_nv12,
+ bool use_color_lut,
+ FragmentShaderYUVVideo::HighbitTexture highbit_texture);
const VideoStreamTextureProgram* GetVideoStreamTextureProgram(
TexCoordPrecision precision);
@@ -480,8 +482,10 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
[LAST_BLEND_MODE + 1]
[LAST_MASK_VALUE + 1];
- VideoYUVProgram video_yuv_program_[LAST_TEX_COORD_PRECISION + 1]
- [LAST_SAMPLER_TYPE + 1][2][2][2];
+ VideoYUVProgram
+ video_yuv_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1][2]
+ [2][2]
+ [FragmentShaderYUVVideo::LAST_HIGHBIT_TEXTURE + 1];
VideoStreamTextureProgram
video_stream_texture_program_[LAST_TEX_COORD_PRECISION + 1];

Powered by Google App Engine
This is Rietveld 408576698