Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: cc/yuv_video_draw_quad.h

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/video_layer_impl.cc ('k') | cc/yuv_video_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/yuv_video_draw_quad.h
diff --git a/cc/yuv_video_draw_quad.h b/cc/yuv_video_draw_quad.h
index 638cbb270ce9b24689d5095baf174ade4f4d1a13..5d574b7bb9b882c094d2f31f1d4836726c2e5b6e 100644
--- a/cc/yuv_video_draw_quad.h
+++ b/cc/yuv_video_draw_quad.h
@@ -1,3 +1,36 @@
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+
+#ifndef CCYUVVideoDrawQuad_h
+#define CCYUVVideoDrawQuad_h
+
+#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
+#include "CCDrawQuad.h"
+#include "CCVideoLayerImpl.h"
+
+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);
+
+ const CCVideoLayerImpl::FramePlane& yPlane() const { return m_yPlane; }
+ const CCVideoLayerImpl::FramePlane& uPlane() const { return m_uPlane; }
+ const CCVideoLayerImpl::FramePlane& vPlane() const { return m_vPlane; }
+
+ static const CCYUVVideoDrawQuad* materialCast(const CCDrawQuad*);
+private:
+ CCYUVVideoDrawQuad(const CCSharedQuadState*, const IntRect&, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane);
+
+ CCVideoLayerImpl::FramePlane m_yPlane;
+ CCVideoLayerImpl::FramePlane m_uPlane;
+ CCVideoLayerImpl::FramePlane m_vPlane;
+
+ DISALLOW_COPY_AND_ASSIGN(CCYUVVideoDrawQuad);
+};
+
+}
+
+#endif
« no previous file with comments | « cc/video_layer_impl.cc ('k') | cc/yuv_video_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698