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

Unified Diff: cc/layer.h

Issue 11731002: Implement a method to access the non-composited content root layer picture pile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resubmitting, empty files in the review. Created 7 years, 12 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 | « no previous file | cc/layer.cc » ('j') | cc/layer_tree_host.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer.h
diff --git a/cc/layer.h b/cc/layer.h
index e7df4c08417438213d18838adcc177e5d440b765..b8903c8babfc7ee7f9c18378845c9ccd1a96fed6 100644
--- a/cc/layer.h
+++ b/cc/layer.h
@@ -200,6 +200,7 @@ public:
bool hasContributingDelegatedRenderPasses() const { return false; }
void setIsDrawable(bool);
+ bool isDrawable() const { return m_isDrawable; }
void setReplicaLayer(Layer*);
Layer* replicaLayer() { return m_replicaLayer.get(); }
@@ -284,6 +285,8 @@ public:
gfx::Rect layerRectToContentRect(const gfx::RectF& layerRect) const;
+ virtual bool isPictureLayer() const;
+
// In impl-side painting, this returns true if this layer type is not
// compatible with the main thread running freely, such as a double-buffered
// canvas that doesn't want to be triple-buffered across all three trees.
« no previous file with comments | « no previous file | cc/layer.cc » ('j') | cc/layer_tree_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698