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

Unified Diff: cc/output/gl_renderer.h

Issue 12157002: Adding YUVA support for enabling Alpha Playback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and calming down the try bots Created 7 years, 6 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 1c30d344f4607cfc5d1d3ef8f940f91c5c504700..a9ebe83fb118c67f7cac181243acde5e117d8a77 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -289,6 +289,8 @@ class CC_EXPORT GLRenderer
VideoStreamTextureProgram;
typedef ProgramBinding<VertexShaderPosTexYUVStretch, FragmentShaderYUVVideo>
VideoYUVProgram;
+ typedef ProgramBinding<VertexShaderPosTexYUVStretch, FragmentShaderYUVAVideo>
+ VideoYUVAProgram;
// Special purpose / effects shaders.
typedef ProgramBinding<VertexShaderPos, FragmentShaderColor>
@@ -334,6 +336,8 @@ class CC_EXPORT GLRenderer
const VideoYUVProgram* GetVideoYUVProgram(
TexCoordPrecision precision);
+ const VideoYUVAProgram* GetVideoYUVAProgram(
+ TexCoordPrecision precision);
const VideoStreamTextureProgram* GetVideoStreamTextureProgram(
TexCoordPrecision precision);
@@ -390,9 +394,11 @@ class CC_EXPORT GLRenderer
render_pass_mask_color_matrix_program_aa_highp_;
scoped_ptr<VideoYUVProgram> video_yuv_program_;
+ scoped_ptr<VideoYUVAProgram> video_yuva_program_;
scoped_ptr<VideoStreamTextureProgram> video_stream_texture_program_;
scoped_ptr<VideoYUVProgram> video_yuv_program_highp_;
+ scoped_ptr<VideoYUVAProgram> video_yuva_program_highp_;
scoped_ptr<VideoStreamTextureProgram> video_stream_texture_program_highp_;
scoped_ptr<DebugBorderProgram> debug_border_program_;

Powered by Google App Engine
This is Rietveld 408576698