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

Issue 1009233002: CC Animations: Port Impl-only-scrolling to use compositor animation timelines. (Closed)

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

Description

CC Animations: Port Impl-only-scrolling to use compositor animation timelines. Use AnimationPlayer to add Scrolloffset animations if new system enabled. Previous episode: https://codereview.chromium.org/1010663002/ Next episode: https://codereview.chromium.org/1012583002/ A step towards AnimationPlayer/AnimationTimeline decoupling. BUG=394777 R=ajuma@chromium.org R=vollick@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/ce3bb827acadd5461885e01616685a358cca3566 Cr-Commit-Position: refs/heads/master@{#337751}

Patch Set 1 #

Patch Set 2 : "Rearrange changes across episodes" #

Patch Set 3 : Rearrange changes across episodes. #

Total comments: 2

Patch Set 4 : Use AnimationHost. #

Patch Set 5 : Clean up. #

Patch Set 6 : Extract ScrollOffsetAnimations object. #

Patch Set 7 : Rename (address code review comment) #

Patch Set 8 : Add unittests. #

Patch Set 9 : Rebase. #

Patch Set 10 : CC_EXPORT for MutatorHostClient #

Total comments: 6

Patch Set 11 : Fix code review issues. #

Total comments: 1

Patch Set 12 : Revert AnimationHost::thread_instance_ deletion back. #

Total comments: 5

Patch Set 13 : Fix the nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+472 lines, -23 lines) Patch
M cc/animation/animation_host.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +20 lines, -2 lines 0 comments Download
M cc/animation/animation_host.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +136 lines, -4 lines 0 comments Download
M cc/animation/animation_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -4 lines 0 comments Download
M cc/animation/animation_player.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M cc/animation/animation_timeline_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -4 lines 0 comments Download
M cc/animation/element_animations.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -2 lines 0 comments Download
M cc/test/animation_timelines_test_common.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -1 line 0 comments Download
M cc/test/animation_timelines_test_common.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +13 lines, -3 lines 0 comments Download
M cc/test/fake_proxy.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +25 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +53 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation_timelines.cc View 1 2 3 4 5 6 7 8 1 chunk +178 lines, -0 lines 0 comments Download
M cc/trees/mutator_host_client.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
loyso (OOO)
5 years, 9 months ago (2015-03-24 02:25:37 UTC) #1
ajuma
https://codereview.chromium.org/1009233002/diff/40001/cc/animation/animation_timeline.cc File cc/animation/animation_timeline.cc (right): https://codereview.chromium.org/1009233002/diff/40001/cc/animation/animation_timeline.cc#newcode350 cc/animation/animation_timeline.cc:350: animation->set_is_impl_only(true); Not all scroll animations are impl-only, so this ...
5 years, 9 months ago (2015-03-24 13:37:23 UTC) #2
loyso (OOO)
https://codereview.chromium.org/1009233002/diff/40001/cc/animation/animation_timeline.cc File cc/animation/animation_timeline.cc (right): https://codereview.chromium.org/1009233002/diff/40001/cc/animation/animation_timeline.cc#newcode350 cc/animation/animation_timeline.cc:350: animation->set_is_impl_only(true); On 2015/03/24 13:37:23, ajuma wrote: > Not all ...
5 years, 8 months ago (2015-04-13 07:38:24 UTC) #3
loyso (OOO)
PTAL! I would like to land this CL. This is a port for --enable-smooth-scrolling linux ...
5 years, 5 months ago (2015-07-06 01:36:22 UTC) #4
ajuma
+skobes as fyi https://codereview.chromium.org/1009233002/diff/160002/cc/animation/animation_host.cc File cc/animation/animation_host.cc (right): https://codereview.chromium.org/1009233002/diff/160002/cc/animation/animation_host.cc#newcode114 cc/animation/animation_host.cc:114: scoped_refptr<AnimationPlayer> scroll_offset_animation_player_; If I'm understanding, having ...
5 years, 5 months ago (2015-07-06 17:41:00 UTC) #6
loyso (OOO)
https://codereview.chromium.org/1009233002/diff/160002/cc/animation/animation_host.cc File cc/animation/animation_host.cc (right): https://codereview.chromium.org/1009233002/diff/160002/cc/animation/animation_host.cc#newcode114 cc/animation/animation_host.cc:114: scoped_refptr<AnimationPlayer> scroll_offset_animation_player_; On 2015/07/06 17:41:00, ajuma wrote: > If ...
5 years, 5 months ago (2015-07-07 04:14:38 UTC) #7
loyso (OOO)
AnimationHost::thread_instance_ was deleted as unused here: https://codereview.chromium.org/1222243005
5 years, 5 months ago (2015-07-07 04:59:59 UTC) #8
ajuma
Thanks, lgtm.
5 years, 5 months ago (2015-07-07 13:07:01 UTC) #9
Ian Vollick
lgtm, too, with some nits. https://codereview.chromium.org/1009233002/diff/210001/cc/animation/animation_player.cc File cc/animation/animation_player.cc (right): https://codereview.chromium.org/1009233002/diff/210001/cc/animation/animation_player.cc#newcode122 cc/animation/animation_player.cc:122: DCHECK(animation->target_property() != Animation::SCROLL_OFFSET || ...
5 years, 5 months ago (2015-07-08 00:42:26 UTC) #10
Ian Vollick
https://codereview.chromium.org/1009233002/diff/210001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/1009233002/diff/210001/cc/trees/layer_tree_host_impl.cc#newcode3443 cc/trees/layer_tree_host_impl.cc:3443: if (animation_host_) On 2015/07/08 00:42:25, vollick wrote: > An ...
5 years, 5 months ago (2015-07-08 00:46:14 UTC) #11
loyso (OOO)
https://codereview.chromium.org/1009233002/diff/210001/cc/animation/animation_player.cc File cc/animation/animation_player.cc (right): https://codereview.chromium.org/1009233002/diff/210001/cc/animation/animation_player.cc#newcode122 cc/animation/animation_player.cc:122: DCHECK(animation->target_property() != Animation::SCROLL_OFFSET || On 2015/07/08 00:42:25, vollick wrote: ...
5 years, 5 months ago (2015-07-08 01:13:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1009233002/230001
5 years, 5 months ago (2015-07-08 01:19:23 UTC) #15
commit-bot: I haz the power
Committed patchset #13 (id:230001)
5 years, 5 months ago (2015-07-08 02:40:53 UTC) #16
commit-bot: I haz the power
5 years, 5 months ago (2015-07-08 02:41:54 UTC) #17
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/ce3bb827acadd5461885e01616685a358cca3566
Cr-Commit-Position: refs/heads/master@{#337751}

Powered by Google App Engine
This is Rietveld 408576698