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

Unified Diff: cc/picture_layer.h

Issue 11639050: cc: Support mask layers in impl-side painting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/layer_tree_impl.cc ('k') | cc/picture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer.h
diff --git a/cc/picture_layer.h b/cc/picture_layer.h
index fd330fba34e621f26f4300c4d9dece93f22fea78..2ff522f40bc28dcb6f258d6cc24e6ab27bebe986 100644
--- a/cc/picture_layer.h
+++ b/cc/picture_layer.h
@@ -30,6 +30,7 @@ public:
virtual void setNeedsDisplayRect(const gfx::RectF& layerRect) OVERRIDE;
virtual void update(ResourceUpdateQueue&, const OcclusionTracker*,
RenderingStats&) OVERRIDE;
+ virtual void setIsMask(bool is_mask) OVERRIDE;
protected:
explicit PictureLayer(ContentLayerClient*);
@@ -42,6 +43,7 @@ private:
Region pending_invalidation_;
// Invalidation from the last time update was called.
Region pile_invalidation_;
+ bool is_mask_;
};
} // namespace cc
« no previous file with comments | « cc/layer_tree_impl.cc ('k') | cc/picture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698