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

Issue 1776513002: UI Compositor: Fix threaded animation survival if layer removed and added. (Closed)

Created:
4 years, 9 months ago by loyso (OOO)
Modified:
4 years, 9 months ago
Reviewers:
Ian Vollick, ajuma
CC:
chromium-reviews, Ian Vollick, sievers+watch_chromium.org, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

UI Compositor: Fix threaded animation survival if layer removed and added. This is minimal fix, scoped in ui/compositor. To be merged. In general, we must allow to move AnimationPlayers between timelines inside same Compositor(AnimationHost) without any animation losses. See http://crbug.com/592873 (To be designed separately) BUG=591474 Committed: https://crrev.com/3338dfbd7f61e4ebb5a1e1519e0ef930cd7499d8 Cr-Commit-Position: refs/heads/master@{#380047}

Patch Set 1 #

Patch Set 2 : Add comments. Remove a garbage line in unittest. #

Patch Set 3 : Fix. Add more checks for moving between compositors test. #

Total comments: 1

Patch Set 4 : Release LAC state for old layer in SwitchToLayer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -1 line) Patch
M ui/compositor/layer_animator.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M ui/compositor/layer_animator.cc View 1 2 3 3 chunks +28 lines, -1 line 0 comments Download
M ui/compositor/layer_animator_unittest.cc View 1 2 1 chunk +35 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (7 generated)
loyso (OOO)
4 years, 9 months ago (2016-03-08 02:32:46 UTC) #3
ajuma
Note that layers can also move from one Compositor to another (e.g. when dragging a ...
4 years, 9 months ago (2016-03-08 14:09:07 UTC) #6
loyso (OOO)
On 2016/03/08 14:09:07, ajuma wrote: > Note that layers can also move from one Compositor ...
4 years, 9 months ago (2016-03-08 23:43:53 UTC) #7
ajuma
https://codereview.chromium.org/1776513002/diff/40001/ui/compositor/layer_animator.cc File ui/compositor/layer_animator.cc (right): https://codereview.chromium.org/1776513002/diff/40001/ui/compositor/layer_animator.cc#newcode166 ui/compositor/layer_animator.cc:166: animation_controller_state_->id() == delegate_->GetCcLayer()->id()) { To turn this back into ...
4 years, 9 months ago (2016-03-08 23:51:01 UTC) #8
loyso (OOO)
On 2016/03/08 23:51:01, ajuma wrote: > To turn this back into a DCHECK, clear the ...
4 years, 9 months ago (2016-03-09 00:01:03 UTC) #9
loyso (OOO)
On 2016/03/08 23:51:01, ajuma wrote: > To turn this back into a DCHECK, clear the ...
4 years, 9 months ago (2016-03-09 00:09:36 UTC) #10
ajuma
Thanks, lgtm.
4 years, 9 months ago (2016-03-09 00:15:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1776513002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1776513002/60001
4 years, 9 months ago (2016-03-09 02:24:25 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-09 03:07:41 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-09 03:09:38 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3338dfbd7f61e4ebb5a1e1519e0ef930cd7499d8
Cr-Commit-Position: refs/heads/master@{#380047}

Powered by Google App Engine
This is Rietveld 408576698