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

Issue 1413003002: CC Animations: Fix AnimationHost mode integration with Property Trees. (Closed)

Created:
5 years, 2 months ago by loyso (OOO)
Modified:
5 years, 2 months ago
Reviewers:
Ian Vollick, ajuma
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CC Animations: Fix AnimationHost mode integration with Property Trees. Fix the test: content_shell --run-layout-test --enable-threaded-compositing transitions/3d/interrupted-transition.html 1) Invalidate property trees in AnimationPlayer::SetNeedsCommit (as in Layer::SetNeedsCommit). 2) We simply destroy AnimationPlayers on interruptions. We destroy Layer Animation Controller if no AnimationPlayers for this layer (despite animations it may be running). So let's clear is_animated flags in property trees on LAC destruction. BUG=545332 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d02fc478259f5a1e3208d4c26ef8f3b1f2681499 Cr-Commit-Position: refs/heads/master@{#355288}

Patch Set 1 #

Patch Set 2 : Fix cc_unittests. #

Patch Set 3 : Add unit tests. #

Patch Set 4 : Add comment for second unit test. #

Patch Set 5 : An attempt to fix weird EXPECT_EQ compilation errors. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -0 lines) Patch
M cc/animation/animation_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/animation/animation_host.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/animation/animation_player.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/animation/element_animations.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/test/animation_timelines_test_common.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M cc/test/animation_timelines_test_common.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation_timelines.cc View 1 2 3 4 1 chunk +101 lines, -0 lines 0 comments Download
M cc/trees/mutator_host_client.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
loyso (OOO)
5 years, 2 months ago (2015-10-19 05:43:57 UTC) #2
ajuma
This looks good, but please add a LayerTreeHostTimelinesTest for this (that fails property tree verification ...
5 years, 2 months ago (2015-10-19 13:15:28 UTC) #3
loyso (OOO)
On 2015/10/19 13:15:28, ajuma wrote: > This looks good, but please add a LayerTreeHostTimelinesTest for ...
5 years, 2 months ago (2015-10-20 05:45:13 UTC) #5
loyso (OOO)
On 2015/10/19 13:15:28, ajuma wrote: > This looks good, but please add a LayerTreeHostTimelinesTest for ...
5 years, 2 months ago (2015-10-21 03:00:40 UTC) #6
ajuma
On 2015/10/21 03:00:40, loyso wrote: > On 2015/10/19 13:15:28, ajuma wrote: > > This looks ...
5 years, 2 months ago (2015-10-21 14:21:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413003002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413003002/80001
5 years, 2 months ago (2015-10-21 14:21:42 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-21 14:26:51 UTC) #10
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 14:27:25 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d02fc478259f5a1e3208d4c26ef8f3b1f2681499
Cr-Commit-Position: refs/heads/master@{#355288}

Powered by Google App Engine
This is Rietveld 408576698