From 1fea814130ff23de709fe242819d67b9d4344e07 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Sat, 20 Oct 2012 04:12:41 +0000 Subject: cc: Use ui/gfx geometry types for the CCRenderPass and CCDrawQuad classes. We use these geometry types for CCDrawQuad types and in CCRenderPass, and so we also make use of them in the CCRenderer classes. A minor number of copies back to cc:: (WebCore) geometry types do occur in the renderer implementations for now until we migrate the rest of the compositor. Covered by existing tests. BUG=152473 R=enne,jamesr Review URL: https://chromiumcodereview.appspot.com/10984053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163142 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/yuv_video_draw_quad.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cc/yuv_video_draw_quad.h') diff --git a/cc/yuv_video_draw_quad.h b/cc/yuv_video_draw_quad.h index 5d574b7b..3b3fa5d 100644 --- a/cc/yuv_video_draw_quad.h +++ b/cc/yuv_video_draw_quad.h @@ -14,7 +14,7 @@ namespace cc { class CCYUVVideoDrawQuad : public CCDrawQuad { public: - static scoped_ptr<CCYUVVideoDrawQuad> create(const CCSharedQuadState*, const IntRect&, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane); + static scoped_ptr<CCYUVVideoDrawQuad> create(const CCSharedQuadState*, const gfx::Rect&, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane); const CCVideoLayerImpl::FramePlane& yPlane() const { return m_yPlane; } const CCVideoLayerImpl::FramePlane& uPlane() const { return m_uPlane; } @@ -22,7 +22,7 @@ public: static const CCYUVVideoDrawQuad* materialCast(const CCDrawQuad*); private: - CCYUVVideoDrawQuad(const CCSharedQuadState*, const IntRect&, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane); + CCYUVVideoDrawQuad(const CCSharedQuadState*, const gfx::Rect&, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane); CCVideoLayerImpl::FramePlane m_yPlane; CCVideoLayerImpl::FramePlane m_uPlane; -- cgit v1.1