diff options
author | danakj <danakj@chromium.org> | 2015-08-28 12:28:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-28 19:29:31 +0000 |
commit | b56d7d81c1d3a9f93f819faee2e0de5ccc315edf (patch) | |
tree | 54690d8bebd18c59296a92f8b10d833f37604a5c /cloud_print | |
parent | 35179fe97bd4a26a165b76aa95a82f21e1ba47cb (diff) | |
download | chromium_src-b56d7d81c1d3a9f93f819faee2e0de5ccc315edf.zip chromium_src-b56d7d81c1d3a9f93f819faee2e0de5ccc315edf.tar.gz chromium_src-b56d7d81c1d3a9f93f819faee2e0de5ccc315edf.tar.bz2 |
cc: Do Animate() for the new pending tree on CommitComplete.
This adds an Animate() call in LayerTreeHostImpl::CommitComplete. This
call will move any animations on the new pending tree that are ready
from the WAITING_FOR_TARGET_AVAILABILITY to the STARTING state,
allowing them to notify the layers they are attached to of their new
animated values.
Doing this before UpdateDrawProperties ensures that the draw properties
reflect the animations in order to prepare the correct tiles for
activating.
This adds a new test that verifies we do start animations on the
pending tree, and that the properties propogate to the layers they
are on, both in single thread (commit-to-active) and in threaded mode.
It also adds a test that verifies we request new animation frames when
a layer animation is active from LayerTreeHostImpl, similar to other
tests we have for animating scrollbars or pinch zoom, etc.
R=ajuma, brianderson
BUG=522658
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1319073002
Cr-Commit-Position: refs/heads/master@{#346211}
Diffstat (limited to 'cloud_print')
0 files changed, 0 insertions, 0 deletions