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

Issue 2029323003: Don't skip a frame when running smooth scroll animation on the main thread (Closed)

Created:
4 years, 6 months ago by ymalik
Modified:
4 years, 6 months ago
Reviewers:
ajuma, jbroman
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't skip a frame when running smooth scroll animation on the main thread This CL doesn't really fix the flickering in issue 588560, but its still more correct to go into RunningOnMainThread rather than going into WaitingToSendToCompositor needlessly. BUG=588560 Committed: https://crrev.com/5bfc49a00f133a14bd75aec67add16e4ffc84054 Cr-Commit-Position: refs/heads/master@{#397442}

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 4

Patch Set 3 : remove early out from addMainThreadScrollingReason #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -12 lines) Patch
M third_party/WebKit/Source/platform/scroll/ScrollAnimator.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp View 1 2 3 chunks +29 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp View 6 chunks +18 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
ymalik
PTAL :)
4 years, 6 months ago (2016-06-02 00:09:34 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029323003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029323003/20001
4 years, 6 months ago (2016-06-02 00:12:06 UTC) #4
commit-bot: I haz the power
Dry run: 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/239301)
4 years, 6 months ago (2016-06-02 02:04:31 UTC) #6
ajuma
lgtm https://codereview.chromium.org/2029323003/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp File third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp (right): https://codereview.chromium.org/2029323003/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp#newcode390 third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp:390: return; cc::Layer::AddMainThreadScrollingReasons already earlies-out when adding an existing ...
4 years, 6 months ago (2016-06-02 14:07:27 UTC) #7
ymalik
https://codereview.chromium.org/2029323003/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp File third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp (right): https://codereview.chromium.org/2029323003/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp#newcode390 third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp:390: return; On 2016/06/02 14:07:27, ajuma wrote: > cc::Layer::AddMainThreadScrollingReasons already ...
4 years, 6 months ago (2016-06-02 14:13:10 UTC) #8
ajuma
https://codereview.chromium.org/2029323003/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp File third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp (right): https://codereview.chromium.org/2029323003/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp#newcode390 third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp:390: return; On 2016/06/02 14:13:10, ymalik wrote: > On 2016/06/02 ...
4 years, 6 months ago (2016-06-02 14:20:27 UTC) #9
ymalik
+jbroman for Source/platform https://codereview.chromium.org/2029323003/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp File third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp (right): https://codereview.chromium.org/2029323003/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp#newcode390 third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp:390: return; On 2016/06/02 14:20:27, ajuma wrote: ...
4 years, 6 months ago (2016-06-02 14:30:08 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029323003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029323003/40001
4 years, 6 months ago (2016-06-02 14:30:52 UTC) #13
jbroman
rs lgtm given ajuma's expertise
4 years, 6 months ago (2016-06-02 14:43:00 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-02 16:09:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029323003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029323003/40001
4 years, 6 months ago (2016-06-02 16:39:16 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-02 16:44:00 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 16:45:47 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5bfc49a00f133a14bd75aec67add16e4ffc84054
Cr-Commit-Position: refs/heads/master@{#397442}

Powered by Google App Engine
This is Rietveld 408576698