Index: cc/output/gl_renderer.h |
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h |
index 8dcabf9f4d042ba9fed5ca46e86f29c4f27bec65..8f9b23087d6b93eb47093116ccf3a56b04475894 100644 |
--- a/cc/output/gl_renderer.h |
+++ b/cc/output/gl_renderer.h |
@@ -398,10 +398,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); |
@@ -466,8 +466,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]; |