| Index: cc/yuv_video_draw_quad.cc
|
| diff --git a/cc/yuv_video_draw_quad.cc b/cc/yuv_video_draw_quad.cc
|
| index 38ba85ff628eca0f81efc6ee4bc5261e2f41693f..e48df47dc154f21fcb1ac53eedc118e44ba312c8 100644
|
| --- a/cc/yuv_video_draw_quad.cc
|
| +++ b/cc/yuv_video_draw_quad.cc
|
| @@ -10,13 +10,28 @@
|
|
|
| namespace cc {
|
|
|
| -scoped_ptr<YUVVideoDrawQuad> YUVVideoDrawQuad::create(const SharedQuadState* sharedQuadState, const gfx::Rect& quadRect, const VideoLayerImpl::FramePlane& yPlane, const VideoLayerImpl::FramePlane& uPlane, const VideoLayerImpl::FramePlane& vPlane)
|
| +scoped_ptr<YUVVideoDrawQuad> YUVVideoDrawQuad::create(
|
| + const SharedQuadState* sharedQuadState,
|
| + const gfx::Rect& quadRect,
|
| + const gfx::SizeF& texScale,
|
| + const VideoLayerImpl::FramePlane& yPlane,
|
| + const VideoLayerImpl::FramePlane& uPlane,
|
| + const VideoLayerImpl::FramePlane& vPlane)
|
| {
|
| - return make_scoped_ptr(new YUVVideoDrawQuad(sharedQuadState, quadRect, yPlane, uPlane, vPlane));
|
| + return make_scoped_ptr(new YUVVideoDrawQuad(sharedQuadState,
|
| + quadRect, texScale,
|
| + yPlane, uPlane, vPlane));
|
| }
|
|
|
| -YUVVideoDrawQuad::YUVVideoDrawQuad(const SharedQuadState* sharedQuadState, const gfx::Rect& quadRect, const VideoLayerImpl::FramePlane& yPlane, const VideoLayerImpl::FramePlane& uPlane, const VideoLayerImpl::FramePlane& vPlane)
|
| +YUVVideoDrawQuad::YUVVideoDrawQuad(
|
| + const SharedQuadState* sharedQuadState,
|
| + const gfx::Rect& quadRect,
|
| + const gfx::SizeF& texScale,
|
| + const VideoLayerImpl::FramePlane& yPlane,
|
| + const VideoLayerImpl::FramePlane& uPlane,
|
| + const VideoLayerImpl::FramePlane& vPlane)
|
| : DrawQuad(sharedQuadState, DrawQuad::YUVVideoContent, quadRect)
|
| + , m_texScale(texScale)
|
| , m_yPlane(yPlane)
|
| , m_uPlane(uPlane)
|
| , m_vPlane(vPlane)
|
|
|