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

Unified Diff: cc/stream_video_draw_quad.h

Issue 11412044: cc: Remove opaque flags from SharedQuadState and DrawQuad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/solid_color_draw_quad.cc ('k') | cc/stream_video_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/stream_video_draw_quad.h
diff --git a/cc/stream_video_draw_quad.h b/cc/stream_video_draw_quad.h
index 301f58334679dc1e2f3964f7a95c0c8767bedcde..508a001afc19af593e2853b9c3dc03c1a3f3bd40 100644
--- a/cc/stream_video_draw_quad.h
+++ b/cc/stream_video_draw_quad.h
@@ -14,14 +14,14 @@ namespace cc {
class CC_EXPORT StreamVideoDrawQuad : public DrawQuad {
public:
- static scoped_ptr<StreamVideoDrawQuad> create(const SharedQuadState*, const gfx::Rect&, unsigned textureId, const WebKit::WebTransformationMatrix&);
+ static scoped_ptr<StreamVideoDrawQuad> create(const SharedQuadState*, const gfx::Rect&, const gfx::Rect& opaqueRect, unsigned textureId, const WebKit::WebTransformationMatrix&);
unsigned textureId() const { return m_textureId; }
const WebKit::WebTransformationMatrix& matrix() const { return m_matrix; }
static const StreamVideoDrawQuad* materialCast(const DrawQuad*);
private:
- StreamVideoDrawQuad(const SharedQuadState*, const gfx::Rect&, unsigned textureId, const WebKit::WebTransformationMatrix&);
+ StreamVideoDrawQuad(const SharedQuadState*, const gfx::Rect&, const gfx::Rect& opaqueRect, unsigned textureId, const WebKit::WebTransformationMatrix&);
unsigned m_textureId;
WebKit::WebTransformationMatrix m_matrix;
« no previous file with comments | « cc/solid_color_draw_quad.cc ('k') | cc/stream_video_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698