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

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: rebase to ToT Created 4 years, 2 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 | « cc/layers/video_layer_impl.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index 841ad74a9ab23ac3fe6bb5fcbea47247b1104586..be65a934868a9acfc63fefb7afd66c8447bd96bc 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -415,11 +415,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);
@@ -484,8 +486,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];
« no previous file with comments | « cc/layers/video_layer_impl.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698