| Index: cc/yuv_video_draw_quad.h
|
| diff --git a/cc/yuv_video_draw_quad.h b/cc/yuv_video_draw_quad.h
|
| index e923b685c26cd87ef43c552323efc0fd57fc3278..9f03d99483ebc4253a56ccf13c37700130871d28 100644
|
| --- a/cc/yuv_video_draw_quad.h
|
| +++ b/cc/yuv_video_draw_quad.h
|
| @@ -14,39 +14,37 @@
|
| namespace cc {
|
|
|
| class CC_EXPORT YUVVideoDrawQuad : public DrawQuad {
|
| -public:
|
| - static scoped_ptr<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);
|
| -
|
| - virtual ~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; }
|
| - const VideoLayerImpl::FramePlane& vPlane() const { return m_vPlane; }
|
| -
|
| - static const YUVVideoDrawQuad* materialCast(const DrawQuad*);
|
| -private:
|
| - 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);
|
| -
|
| - gfx::SizeF m_texScale;
|
| - VideoLayerImpl::FramePlane m_yPlane;
|
| - VideoLayerImpl::FramePlane m_uPlane;
|
| - VideoLayerImpl::FramePlane m_vPlane;
|
| + public:
|
| + virtual ~YUVVideoDrawQuad();
|
| +
|
| + static scoped_ptr<YUVVideoDrawQuad> Create();
|
| +
|
| + void SetNew(const SharedQuadState* shared_quad_state,
|
| + gfx::Rect rect,
|
| + gfx::Rect opaque_rect,
|
| + gfx::SizeF tex_scale,
|
| + const VideoLayerImpl::FramePlane& y_plane,
|
| + const VideoLayerImpl::FramePlane& u_plane,
|
| + const VideoLayerImpl::FramePlane& v_plane);
|
| +
|
| + void SetAll(const SharedQuadState* shared_quad_state,
|
| + gfx::Rect rect,
|
| + gfx::Rect opaque_rect,
|
| + gfx::Rect visible_rect,
|
| + bool needs_blending,
|
| + gfx::SizeF tex_scale,
|
| + const VideoLayerImpl::FramePlane& y_plane,
|
| + const VideoLayerImpl::FramePlane& u_plane,
|
| + const VideoLayerImpl::FramePlane& v_plane);
|
| +
|
| + gfx::SizeF tex_scale;
|
| + VideoLayerImpl::FramePlane y_plane;
|
| + VideoLayerImpl::FramePlane u_plane;
|
| + VideoLayerImpl::FramePlane v_plane;
|
| +
|
| + static const YUVVideoDrawQuad* MaterialCast(const DrawQuad*);
|
| + private:
|
| + YUVVideoDrawQuad();
|
| };
|
|
|
| }
|
|
|