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

Unified Diff: cc/yuv_video_draw_quad.cc

Issue 11412044: cc: Remove opaque flags from SharedQuadState and DrawQuad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « cc/yuv_video_draw_quad.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/yuv_video_draw_quad.cc
diff --git a/cc/yuv_video_draw_quad.cc b/cc/yuv_video_draw_quad.cc
index 5efebfcebab4a69d8328c972c00d14d1e194fba2..2bff6c276d387757310676887f0544fc6803ed5a 100644
--- a/cc/yuv_video_draw_quad.cc
+++ b/cc/yuv_video_draw_quad.cc
@@ -11,24 +11,26 @@ namespace cc {
scoped_ptr<YUVVideoDrawQuad> YUVVideoDrawQuad::create(
const SharedQuadState* sharedQuadState,
const gfx::Rect& quadRect,
+ const gfx::Rect& opaqueRect,
const gfx::SizeF& texScale,
const VideoLayerImpl::FramePlane& yPlane,
const VideoLayerImpl::FramePlane& uPlane,
const VideoLayerImpl::FramePlane& vPlane)
{
return make_scoped_ptr(new YUVVideoDrawQuad(sharedQuadState,
- quadRect, texScale,
+ quadRect, opaqueRect, texScale,
yPlane, uPlane, vPlane));
}
YUVVideoDrawQuad::YUVVideoDrawQuad(
const SharedQuadState* sharedQuadState,
const gfx::Rect& quadRect,
+ const gfx::Rect& opaqueRect,
const gfx::SizeF& texScale,
const VideoLayerImpl::FramePlane& yPlane,
const VideoLayerImpl::FramePlane& uPlane,
const VideoLayerImpl::FramePlane& vPlane)
- : DrawQuad(sharedQuadState, DrawQuad::YUV_VIDEO_CONTENT, quadRect)
+ : DrawQuad(sharedQuadState, DrawQuad::YUV_VIDEO_CONTENT, quadRect, opaqueRect)
, m_texScale(texScale)
, m_yPlane(yPlane)
, m_uPlane(uPlane)
« no previous file with comments | « cc/yuv_video_draw_quad.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698