diff options
author | danakj <danakj@chromium.org> | 2015-12-02 16:27:03 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-03 00:30:55 +0000 |
commit | a18e826a670891d5804c8aced282761834741e8b (patch) | |
tree | 8daee388d98a659581e3dccdd0b70138c3a2e3df /blimp/net | |
parent | 06b7d4c7b8482d5a68cd0f2c16fa712c5eb7d6a2 (diff) | |
download | chromium_src-a18e826a670891d5804c8aced282761834741e8b.zip chromium_src-a18e826a670891d5804c8aced282761834741e8b.tar.gz chromium_src-a18e826a670891d5804c8aced282761834741e8b.tar.bz2 |
cc: Animate from LayerTreeHostImpl, remove Animate step from scheduler
This removes the SetNeedsAnimate() API from the cc::Scheduler, replacing
calls to that with calls to SetNeedsOneBeginImplFrame() instead.
It moves calls to LayerTreeHostImpl::Animate() into the LayerTreeHostImpl
itself, in 2 places:
- Inside WillBeginImplFrame, to animate the active tree for the given
frame
- Inside CommitComplete, to initialize new animations on the pending tree
Additionally, the LayerTreeHostImpl::ActivateSyncTree() step will activate
animations (as before) and request a follow-up BeginImplFrame to continue
running the animations.
R=ajuma, brianderson, tdresser
BUG=522658
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1432603004
Cr-Commit-Position: refs/heads/master@{#362832}
Diffstat (limited to 'blimp/net')
0 files changed, 0 insertions, 0 deletions