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

Issue 1782433002: CC Animation: Erase old animation system. (Closed)

Created:
4 years, 9 months ago by loyso (OOO)
Modified:
4 years, 9 months ago
Reviewers:
Ian Vollick, ajuma
CC:
chromium-reviews, cc-bugs_chromium.org, danakj, enne (OOO), piman, aelias_OOO_until_Jul13, dstockwell, esprehn, chrishtr
Base URL:
https://chromium.googlesource.com/chromium/src.git@erasetests
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CC Animation: Erase old animation system. Basically, specialize all the code as if: - use_compositor_animation_timelines is always true. - Layer::layer_animation_controller_ is always nullptr. - LayerImpl::layer_animation_controller_ is always nullptr. - LayerTreeHost::animation_registrar_ is always nullptr. - LayerTreeHostImpl::animation_registrar_ is always nullptr. Next CL: Erase cc::LayerSettings everywhere. BUG=575041 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/9556c73c3d89db2226920a295e3a579dc6a1eaa3 Cr-Commit-Position: refs/heads/master@{#380576}

Patch Set 1 #

Patch Set 2 : Format. #

Total comments: 1

Patch Set 3 : Format. #

Total comments: 6

Patch Set 4 : Remove vtbl in LayerAnimationController. Fix formatting. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -1185 lines) Patch
M cc/animation/layer_animation_controller.h View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M cc/blink/web_layer_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/layer.h View 7 chunks +11 lines, -45 lines 0 comments Download
M cc/layers/layer.cc View 10 chunks +8 lines, -147 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 5 chunks +11 lines, -45 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 10 chunks +22 lines, -148 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 chunk +0 lines, -43 lines 0 comments Download
M cc/layers/layer_utils_unittest.cc View 14 chunks +32 lines, -97 lines 0 comments Download
M cc/test/animation_test_common.h View 1 chunk +0 lines, -42 lines 0 comments Download
M cc/test/animation_test_common.cc View 1 chunk +0 lines, -75 lines 0 comments Download
M cc/test/layer_tree_test.h View 2 chunks +0 lines, -5 lines 0 comments Download
M cc/test/layer_tree_test.cc View 3 chunks +1 line, -41 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 3 chunks +1 line, -5 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 10 chunks +14 lines, -33 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 22 chunks +83 lines, -227 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 3 chunks +0 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 14 chunks +26 lines, -101 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 8 chunks +14 lines, -43 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 2 chunks +0 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M cc/trees/tree_synchronizer_unittest.cc View 2 chunks +0 lines, -62 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 32 (14 generated)
loyso (OOO)
4 years, 9 months ago (2016-03-09 06:03:04 UTC) #7
loyso (OOO)
https://codereview.chromium.org/1782433002/diff/20001/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (left): https://codereview.chromium.org/1782433002/diff/20001/cc/trees/layer_tree_impl.cc#oldcode1868 cc/trees/layer_tree_impl.cc:1868: void LayerTreeImpl::InputScrollAnimationFinished() { This one is non obvious: Erased ...
4 years, 9 months ago (2016-03-09 06:08:57 UTC) #8
loyso (OOO)
https://codereview.chromium.org/1782433002/diff/40001/cc/layers/layer.h File cc/layers/layer.h (left): https://codereview.chromium.org/1782433002/diff/40001/cc/layers/layer.h#oldcode433 cc/layers/layer.h:433: bool HasActiveAnimation() const; My todo: Rename it to HasActiveAnimationForTesting.
4 years, 9 months ago (2016-03-09 06:11:04 UTC) #9
loyso (OOO)
https://codereview.chromium.org/1782433002/diff/40001/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (left): https://codereview.chromium.org/1782433002/diff/40001/cc/layers/layer_impl.cc#oldcode1703 cc/layers/layer_impl.cc:1703: void LayerImpl::NotifyAnimationFinished(base::TimeTicks monotonic_time, Once again: This one is non ...
4 years, 9 months ago (2016-03-09 06:17:03 UTC) #10
loyso (OOO)
https://codereview.chromium.org/1782433002/diff/40001/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (left): https://codereview.chromium.org/1782433002/diff/40001/cc/trees/layer_tree_impl.cc#oldcode1868 cc/trees/layer_tree_impl.cc:1868: void LayerTreeImpl::InputScrollAnimationFinished() { Erased in favor for LayerTreeHostImpl::ScrollOffsetAnimationFinished (that's ...
4 years, 9 months ago (2016-03-09 06:17:54 UTC) #11
ajuma
lgtm!! https://codereview.chromium.org/1782433002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/1782433002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc#newcode5455 cc/trees/layer_tree_host_common_unittest.cc:5455: AddOpacityTransitionToLayerWithPlayer(child_->id(), timeline(), 10.0, 0.9f, Weird indentation here (running ...
4 years, 9 months ago (2016-03-09 14:25:04 UTC) #12
Ian Vollick
On 2016/03/09 14:25:04, ajuma wrote: > lgtm!! > > https://codereview.chromium.org/1782433002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc > File cc/trees/layer_tree_host_common_unittest.cc (right): > ...
4 years, 9 months ago (2016-03-09 14:41:11 UTC) #13
loyso (OOO)
https://codereview.chromium.org/1782433002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/1782433002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc#newcode5455 cc/trees/layer_tree_host_common_unittest.cc:5455: AddOpacityTransitionToLayerWithPlayer(child_->id(), timeline(), 10.0, 0.9f, On 2016/03/09 14:25:04, ajuma wrote: ...
4 years, 9 months ago (2016-03-09 23:04:22 UTC) #14
danakj
https://codereview.chromium.org/1782433002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/1782433002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc#newcode5455 cc/trees/layer_tree_host_common_unittest.cc:5455: AddOpacityTransitionToLayerWithPlayer(child_->id(), timeline(), 10.0, 0.9f, On 2016/03/09 23:04:21, loyso wrote: ...
4 years, 9 months ago (2016-03-09 23:05:58 UTC) #15
loyso (OOO)
On 2016/03/09 23:05:58, danakj wrote: > > > Weird indentation here (running "git cl format" ...
4 years, 9 months ago (2016-03-09 23:44:32 UTC) #16
loyso (OOO)
Credits to: dstockwell@, vollick@, ajuma@, piman@. This patch wouldn't be possible without you, guys! Thank ...
4 years, 9 months ago (2016-03-10 05:16:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782433002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782433002/60001
4 years, 9 months ago (2016-03-10 05:56:44 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/194446)
4 years, 9 months ago (2016-03-10 07:07:14 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782433002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782433002/60001
4 years, 9 months ago (2016-03-10 23:56:08 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/129163)
4 years, 9 months ago (2016-03-11 00:38:42 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782433002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782433002/60001
4 years, 9 months ago (2016-03-11 05:12:23 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-11 07:55:07 UTC) #30
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 07:56:42 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9556c73c3d89db2226920a295e3a579dc6a1eaa3
Cr-Commit-Position: refs/heads/master@{#380576}

Powered by Google App Engine
This is Rietveld 408576698