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

Unified Diff: cc/layer_tree_host.h

Issue 11783037: Not for review: Enable accelerated animations for orphaned layers (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Wait for layout to complete before starting orphaned animations Created 7 years, 11 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 | « cc/layer_impl.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host.h
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h
index a45c1c1ee1e1941313d8b85a4c1bfaad51a9fd0f..0760f0aad23217224cc8bbfcb4b007cf671ee9fd 100644
--- a/cc/layer_tree_host.h
+++ b/cc/layer_tree_host.h
@@ -89,7 +89,7 @@ public:
// LayerTreeHost interface to Proxy.
void willBeginFrame() { m_client->willBeginFrame(); }
void didBeginFrame();
- void updateAnimations(base::TimeTicks monotonicFrameBeginTime);
+ void updateAnimations(base::TimeTicks monotonicFrameBeginTime, base::Time wallClockFrameBeginTime);
void didStopFlinging();
void layout();
void beginCommitOnImplThread(LayerTreeHostImpl*);
@@ -200,6 +200,8 @@ public:
bool blocksPendingCommit() const;
+ void didUpdateLayout();
+
protected:
LayerTreeHost(LayerTreeHostClient*, const LayerTreeSettings&);
bool initialize(scoped_ptr<Thread> implThread);
@@ -223,7 +225,7 @@ private:
void setPrioritiesForLayers(const LayerList&);
size_t calculateMemoryForRenderSurfaces(const LayerList& updateList);
- void animateLayers(base::TimeTicks monotonicTime);
+ void animateLayers(base::TimeTicks monotonicTime, base::Time wallClockTime);
bool animateLayersRecursive(Layer* current, base::TimeTicks time);
void setAnimationEventsRecursive(const AnimationEventsVector&, Layer*, base::Time wallClockTime);
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698