summaryrefslogtreecommitdiffstats
path: root/cc/yuv_video_draw_quad.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-20 04:12:41 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-20 04:12:41 +0000
commit1fea814130ff23de709fe242819d67b9d4344e07 (patch)
tree6b9f06266db7ea814bc597ffb7fea731fb77904e /cc/yuv_video_draw_quad.h
parentefd25e631eba64162229c4aee56413a4a0fd7549 (diff)
downloadchromium_src-1fea814130ff23de709fe242819d67b9d4344e07.zip
chromium_src-1fea814130ff23de709fe242819d67b9d4344e07.tar.gz
chromium_src-1fea814130ff23de709fe242819d67b9d4344e07.tar.bz2
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
Diffstat (limited to 'cc/yuv_video_draw_quad.h')
-rw-r--r--cc/yuv_video_draw_quad.h4
1 files changed, 2 insertions, 2 deletions
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;