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

Unified Diff: cc/layer_impl.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
« no previous file with comments | « cc/layer.cc ('k') | cc/layer_impl.cc » ('j') | cc/layer_tree_host_common.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_impl.h
diff --git a/cc/layer_impl.h b/cc/layer_impl.h
index 89827af439dff290937819b3465097cb2491f3c0..93988400e2c737db1f309f3496deb9d7cef6a578 100644
--- a/cc/layer_impl.h
+++ b/cc/layer_impl.h
@@ -95,6 +95,7 @@ public:
virtual ResourceProvider::ResourceId contentsResourceId() const;
+ virtual bool hasDelegatedContent() const;
virtual bool hasContributingDelegatedRenderPasses() const;
virtual RenderPass::Id firstContributingRenderPassId() const;
virtual RenderPass::Id nextContributingRenderPassId(RenderPass::Id) const;
@@ -106,11 +107,6 @@ public:
bool forceRenderSurface() const { return m_forceRenderSurface; }
void setForceRenderSurface(bool force) { m_forceRenderSurface = force; }
- // 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.
- virtual int descendantsDrawContent();
-
void setAnchorPoint(const gfx::PointF&);
const gfx::PointF& anchorPoint() const { return m_anchorPoint; }
« no previous file with comments | « cc/layer.cc ('k') | cc/layer_impl.cc » ('j') | cc/layer_tree_host_common.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698