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

Unified Diff: cc/layer.h

Issue 11419284: Move second internal recursion to a precomputation in layer_tree_host_common.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleaned up and rebased 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
Index: cc/layer.h
diff --git a/cc/layer.h b/cc/layer.h
index 641800bc81270a9a3a7900ca7f3b72a4b8f2c285..9571a2dacbaebbb099eb6852e71ef16718dc74bf 100644
--- a/cc/layer.h
+++ b/cc/layer.h
@@ -198,6 +198,7 @@ public:
virtual void setLayerTreeHost(LayerTreeHost*);
+ bool hasDelegatedContent() const { return false; }
bool hasContributingDelegatedRenderPasses() const { return false; }
void setIsDrawable(bool);
@@ -249,11 +250,6 @@ public:
void setBoundsContainPageScale(bool);
bool boundsContainPageScale() const { return m_boundsContainPageScale; }
- // Returns 0 if none of the layer's descendants has content to draw,
- // 1 if exactly one descendant has content to draw, or a number >1
- // (but necessary the exact number of descendants) otherwise.
- int descendantsDrawContent();
-
LayerTreeHost* layerTreeHost() const { return m_layerTreeHost; }
// Set the priority of all desired textures in this layer.
« no previous file with comments | « cc/draw_properties.h ('k') | cc/layer.cc » ('j') | cc/layer_tree_host_common.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698