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

Issue 2261113002: CC Animation: Introduce some dirty flags to optimize PushProperties on commit (Closed)

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

Description

CC Animation: Introduce some dirty flags to optimize PushProperties on commit The idea is that we invalidate needs_push_properties flag from bottom-to-top in the hierarchy of ownership. It helps us to isolate untouched groups of objects. BUG=604280 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/1ec9dd4962683e1fe12734a6756e825df2db10ca Committed: https://crrev.com/0bc588b1289ff9bda42a91ed8f57eaf0e36d7978 Cr-Original-Commit-Position: refs/heads/master@{#414981} Cr-Commit-Position: refs/heads/master@{#417132}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add the invalidation on take over. #

Patch Set 3 : Add more tests. #

Total comments: 8

Patch Set 4 : Implement code review suggestions. #

Patch Set 5 : Reland #

Patch Set 6 : Do not change SetNeedsCommit invalidation, leave it as-is. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -85 lines) Patch
M cc/animation/animation_host.h View 1 2 3 4 5 3 chunks +3 lines, -7 lines 0 comments Download
M cc/animation/animation_host.cc View 1 2 3 4 5 6 chunks +31 lines, -20 lines 0 comments Download
M cc/animation/animation_host_perftest.cc View 1 2 6 chunks +42 lines, -15 lines 0 comments Download
M cc/animation/animation_player.h View 1 2 3 4 5 3 chunks +5 lines, -0 lines 0 comments Download
M cc/animation/animation_player.cc View 1 2 3 4 5 9 chunks +35 lines, -4 lines 0 comments Download
M cc/animation/animation_player_unittest.cc View 1 2 3 4 5 13 chunks +47 lines, -0 lines 0 comments Download
M cc/animation/animation_timeline.h View 2 chunks +4 lines, -0 lines 0 comments Download
M cc/animation/animation_timeline.cc View 1 2 6 chunks +33 lines, -8 lines 0 comments Download
M cc/animation/element_animations.h View 5 chunks +6 lines, -4 lines 0 comments Download
M cc/animation/element_animations.cc View 1 2 3 11 chunks +27 lines, -13 lines 0 comments Download
M cc/animation/element_animations_unittest.cc View 1 2 3 9 chunks +24 lines, -14 lines 0 comments Download
M cc/animation/scroll_offset_animations.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M cc/test/animation_timelines_test_common.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/test/animation_timelines_test_common.cc View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 69 (45 generated)
loyso (OOO)
https://codereview.chromium.org/2261113002/diff/1/cc/animation/element_animations_unittest.cc File cc/animation/element_animations_unittest.cc (right): https://codereview.chromium.org/2261113002/diff/1/cc/animation/element_animations_unittest.cc#newcode2088 cc/animation/element_animations_unittest.cc:2088: animations->SetNeedsPushProperties(); It notifies blink about takover and then suddenly ...
4 years, 4 months ago (2016-08-22 07:48:27 UTC) #4
ymalik
https://codereview.chromium.org/2261113002/diff/1/cc/animation/element_animations_unittest.cc File cc/animation/element_animations_unittest.cc (right): https://codereview.chromium.org/2261113002/diff/1/cc/animation/element_animations_unittest.cc#newcode2088 cc/animation/element_animations_unittest.cc:2088: animations->SetNeedsPushProperties(); On 2016/08/22 07:48:27, loyso wrote: > It notifies ...
4 years, 4 months ago (2016-08-22 14:40:01 UTC) #14
loyso (OOO)
4 years, 4 months ago (2016-08-24 05:51:22 UTC) #24
ajuma
https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_test_common.cc File cc/test/animation_test_common.cc (right): https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_test_common.cc#newcode238 cc/test/animation_test_common.cc:238: target->SetNeedsPushProperties(); Wdyt of making ElementAnimations responsible for setting needs_push_properties ...
4 years, 4 months ago (2016-08-24 15:52:37 UTC) #25
loyso (OOO)
https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_test_common.cc File cc/test/animation_test_common.cc (right): https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_test_common.cc#newcode238 cc/test/animation_test_common.cc:238: target->SetNeedsPushProperties(); On 2016/08/24 15:52:37, ajuma wrote: > Wdyt of ...
4 years, 4 months ago (2016-08-25 00:38:24 UTC) #26
loyso (OOO)
https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_timelines_test_common.cc File cc/test/animation_timelines_test_common.cc (right): https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_timelines_test_common.cc#newcode521 cc/test/animation_timelines_test_common.cc:521: void AnimationTimelinesTest::ExpectPlayerTimelineNeedsPushProperties( On 2016/08/24 15:52:37, ajuma wrote: > Putting ...
4 years, 4 months ago (2016-08-25 00:55:50 UTC) #27
danakj
https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_timelines_test_common.cc File cc/test/animation_timelines_test_common.cc (right): https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_timelines_test_common.cc#newcode521 cc/test/animation_timelines_test_common.cc:521: void AnimationTimelinesTest::ExpectPlayerTimelineNeedsPushProperties( On 2016/08/25 00:55:50, loyso wrote: > On ...
4 years, 4 months ago (2016-08-25 01:06:00 UTC) #29
danakj
On 2016/08/25 01:06:00, danakj wrote: > https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_timelines_test_common.cc > File cc/test/animation_timelines_test_common.cc (right): > > https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_timelines_test_common.cc#newcode521 > ...
4 years, 4 months ago (2016-08-25 01:06:25 UTC) #30
loyso (OOO)
https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_test_common.cc File cc/test/animation_test_common.cc (right): https://codereview.chromium.org/2261113002/diff/40001/cc/test/animation_test_common.cc#newcode238 cc/test/animation_test_common.cc:238: target->SetNeedsPushProperties(); On 2016/08/24 15:52:37, ajuma wrote: > Wdyt of ...
4 years, 4 months ago (2016-08-25 03:59:02 UTC) #32
ajuma
Thanks, lgtm
4 years, 3 months ago (2016-08-25 14:33:03 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2261113002/60001
4 years, 3 months ago (2016-08-28 23:10:52 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/270320)
4 years, 3 months ago (2016-08-29 00:09:45 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2261113002/60001
4 years, 3 months ago (2016-08-29 06:01:56 UTC) #42
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-29 07:09:36 UTC) #44
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/1ec9dd4962683e1fe12734a6756e825df2db10ca Cr-Commit-Position: refs/heads/master@{#414981}
4 years, 3 months ago (2016-08-29 07:11:10 UTC) #46
lazyboy
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2290633003/ by lazyboy@chromium.org. ...
4 years, 3 months ago (2016-08-29 23:30:16 UTC) #47
loyso (OOO)
On 2016/08/29 23:30:16, lazyboy wrote: > A revert of this CL (patchset #4 id:60001) has ...
4 years, 3 months ago (2016-08-30 03:49:23 UTC) #48
loyso (OOO)
ajuma@, PTAL! Now it's simple. The fix for the root problem of flakiness is here: ...
4 years, 3 months ago (2016-09-07 04:17:25 UTC) #54
ajuma
On 2016/09/07 04:17:25, loyso wrote: > ajuma@, PTAL! Now it's simple. > The fix for ...
4 years, 3 months ago (2016-09-07 13:17:07 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2261113002/100001
4 years, 3 months ago (2016-09-07 23:50:13 UTC) #61
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/255056)
4 years, 3 months ago (2016-09-07 23:57:03 UTC) #63
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2261113002/100001
4 years, 3 months ago (2016-09-08 00:29:06 UTC) #65
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-08 00:34:04 UTC) #67
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 00:37:13 UTC) #69
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/0bc588b1289ff9bda42a91ed8f57eaf0e36d7978
Cr-Commit-Position: refs/heads/master@{#417132}

Powered by Google App Engine
This is Rietveld 408576698