Chromium Code Reviews| 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 8885a5a97aebad6997aa6292e7106ec61d35c82e..5ddf4bac3343c6ab0dca21c18e7a9984ac09eb56 100644 |
| --- a/cc/quads/yuv_video_draw_quad.h |
| +++ b/cc/quads/yuv_video_draw_quad.h |
| @@ -27,6 +27,15 @@ class CC_EXPORT YUVVideoDrawQuad : public DrawQuad { |
| const VideoLayerImpl::FramePlane& u_plane, |
| const VideoLayerImpl::FramePlane& v_plane); |
| + void SetNew(const SharedQuadState* shared_quad_state, |
|
danakj
2013/04/04 15:01:55
There should be only one SetNew() or SetAll() here
vignesh
2013/04/04 22:06:14
Done.
|
| + 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, |
| + const VideoLayerImpl::FramePlane& a_plane); |
| + |
| void SetAll(const SharedQuadState* shared_quad_state, |
| gfx::Rect rect, |
| gfx::Rect opaque_rect, |
| @@ -37,10 +46,22 @@ class CC_EXPORT YUVVideoDrawQuad : public DrawQuad { |
| 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, |
| + const VideoLayerImpl::FramePlane& a_plane); |
| + |
| gfx::SizeF tex_scale; |
| VideoLayerImpl::FramePlane y_plane; |
| VideoLayerImpl::FramePlane u_plane; |
| VideoLayerImpl::FramePlane v_plane; |
| + VideoLayerImpl::FramePlane a_plane; |
| virtual void IterateResources(const ResourceIteratorCallback& callback) |
| OVERRIDE; |