Index: cc/output/gl_renderer.h |
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h |
index 2bf308bb9b0cf04708ce468efc2d786b5e7aca8b..324a7bd16e4d7bd82d3afbf6d4659f3d820dcf6f 100644 |
--- a/cc/output/gl_renderer.h |
+++ b/cc/output/gl_renderer.h |
@@ -401,10 +401,10 @@ class CC_EXPORT GLRenderer : public DirectRenderer { |
const TextureProgram* GetTextureIOSurfaceProgram( |
TexCoordPrecision precision); |
- const VideoYUVProgram* GetVideoYUVProgram( |
- TexCoordPrecision precision); |
- const VideoYUVAProgram* GetVideoYUVAProgram( |
- TexCoordPrecision precision); |
+ const VideoYUVProgram* GetVideoYUVProgram(TexCoordPrecision precision, |
+ SamplerType sampler); |
+ const VideoYUVAProgram* GetVideoYUVAProgram(TexCoordPrecision precision, |
+ SamplerType sampler); |
const VideoStreamTextureProgram* GetVideoStreamTextureProgram( |
TexCoordPrecision precision); |
@@ -472,8 +472,10 @@ class CC_EXPORT GLRenderer : public DirectRenderer { |
[LAST_BLEND_MODE + 1] |
[LAST_MASK_VALUE + 1]; |
- VideoYUVProgram video_yuv_program_[LAST_TEX_COORD_PRECISION + 1]; |
- VideoYUVAProgram video_yuva_program_[LAST_TEX_COORD_PRECISION + 1]; |
+ VideoYUVProgram |
+ video_yuv_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1]; |
+ VideoYUVAProgram |
+ video_yuva_program_[LAST_TEX_COORD_PRECISION + 1][LAST_SAMPLER_TYPE + 1]; |
VideoStreamTextureProgram |
video_stream_texture_program_[LAST_TEX_COORD_PRECISION + 1]; |