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

Unified Diff: cc/output/gl_renderer.h

Issue 1131253003: cc: Add support for non-2D texture targets to YUVVideoQuad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 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];

Powered by Google App Engine
This is Rietveld 408576698