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

Unified Diff: cc/quads/yuv_video_draw_quad.h

Issue 2919863004: Add flag to signal that video frame must be drawn using an overlay. (Closed)
Patch Set: cleanup Created 3 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/quads/yuv_video_draw_quad.h
diff --git a/cc/quads/yuv_video_draw_quad.h b/cc/quads/yuv_video_draw_quad.h
index 513938467ccd5d1252481327a3d3ac854190623e..3c47c42363c82dd63d079df9c2d37f5eb7cd5edb 100644
--- a/cc/quads/yuv_video_draw_quad.h
+++ b/cc/quads/yuv_video_draw_quad.h
@@ -79,7 +79,8 @@ class CC_EXPORT YUVVideoDrawQuad : public DrawQuad {
const gfx::ColorSpace& video_color_space,
float offset,
float multiplier,
- uint32_t bits_per_channel);
+ uint32_t bits_per_channel,
+ bool require_overlay);
gfx::RectF ya_tex_coord_rect;
gfx::RectF uv_tex_coord_rect;
@@ -91,6 +92,7 @@ class CC_EXPORT YUVVideoDrawQuad : public DrawQuad {
uint32_t bits_per_channel = 8;
// TODO(hubbe): Move to ResourceProvider::ScopedSamplerGL.
gfx::ColorSpace video_color_space;
+ bool require_overlay = false;
static const YUVVideoDrawQuad* MaterialCast(const DrawQuad*);

Powered by Google App Engine
This is Rietveld 408576698