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

Unified Diff: cc/layer_tree_host_impl.h

Issue 11447028: cc: Split out calcDrawEtc from drawLayers (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
Index: cc/layer_tree_host_impl.h
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h
index d4aa8f5a110950fbb61769d4188a6b9b2293efc7..836f51d84b9e8a27ad565ee6c2a87a1093632ebe 100644
--- a/cc/layer_tree_host_impl.h
+++ b/cc/layer_tree_host_impl.h
@@ -244,6 +244,9 @@ public:
bool needsAnimateLayers() const { return m_needsAnimateLayers; }
void setNeedsAnimateLayers() { m_needsAnimateLayers = true; }
+ bool needsUpdateLayers() const { return m_needsUpdateLayers; }
+ void setNeedsUpdateLayers() { m_needsUpdateLayers = true; }
+
void setNeedsRedraw();
void renderingStats(RenderingStats*) const;
@@ -294,6 +297,8 @@ protected:
void animatePageScale(base::TimeTicks monotonicTime);
void animateScrollbars(base::TimeTicks monotonicTime);
+ void updateLayers();
+
// Exposed for testing.
void calculateRenderSurfaceLayerList(LayerList&);
@@ -357,6 +362,7 @@ private:
// If this is true, it is necessary to traverse the layer tree ticking the animators.
bool m_needsAnimateLayers;
+ bool m_needsUpdateLayers;
bool m_pinchGestureActive;
gfx::Point m_previousPinchAnchor;
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_tree_host_impl.cc » ('j') | cc/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698