| Index: cc/yuv_video_draw_quad.h
|
| diff --git a/cc/yuv_video_draw_quad.h b/cc/yuv_video_draw_quad.h
|
| index 6894c9597af61a75c921ec0e4233b6e3f4d4deca..8b1ac638784ee4b9e4527318a9bf0b47665e5855 100644
|
| --- a/cc/yuv_video_draw_quad.h
|
| +++ b/cc/yuv_video_draw_quad.h
|
| @@ -15,7 +15,17 @@ namespace cc {
|
|
|
| class CC_EXPORT YUVVideoDrawQuad : public DrawQuad {
|
| public:
|
| - static scoped_ptr<YUVVideoDrawQuad> create(const SharedQuadState*, const gfx::Rect&, const VideoLayerImpl::FramePlane& yPlane, const VideoLayerImpl::FramePlane& uPlane, const VideoLayerImpl::FramePlane& vPlane);
|
| + static scoped_ptr<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);
|
| +
|
| + ~YUVVideoDrawQuad();
|
| +
|
| + const gfx::SizeF& texScale() const { return m_texScale; }
|
|
|
| const VideoLayerImpl::FramePlane& yPlane() const { return m_yPlane; }
|
| const VideoLayerImpl::FramePlane& uPlane() const { return m_uPlane; }
|
| @@ -23,8 +33,15 @@ public:
|
|
|
| static const YUVVideoDrawQuad* materialCast(const DrawQuad*);
|
| private:
|
| - YUVVideoDrawQuad(const SharedQuadState*, const gfx::Rect&, const VideoLayerImpl::FramePlane& yPlane, const VideoLayerImpl::FramePlane& uPlane, const VideoLayerImpl::FramePlane& vPlane);
|
| -
|
| + YUVVideoDrawQuad(
|
| + const SharedQuadState* sharedQuadState,
|
| + const gfx::Rect& quadRect,
|
| + const gfx::SizeF& texScale,
|
| + const VideoLayerImpl::FramePlane& yPlane,
|
| + const VideoLayerImpl::FramePlane& uPlane,
|
| + const VideoLayerImpl::FramePlane& vPlane);
|
| +
|
| + gfx::SizeF m_texScale;
|
| VideoLayerImpl::FramePlane m_yPlane;
|
| VideoLayerImpl::FramePlane m_uPlane;
|
| VideoLayerImpl::FramePlane m_vPlane;
|
|
|