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

Issue 564043003: Add a setting to disable threaded scrolling (Closed)

Created:
6 years, 3 months ago by jdduke (slow)
Modified:
6 years, 3 months ago
Reviewers:
jamesr, Rick Byers
CC:
blink-reviews, kenneth.christiansen, jamesr, abarth-chromium, blink-layers+watch_chromium.org, dglazkov+blink, mkwst+moarreviews_chromium.org, tdresser
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Add a setting to disable threaded scrolling Add a web setting for disabling threaded scrolling. The ScrollingCoordinator enforces this by tagging all layers as main-thread scroll targets. Such a setting is useful for local testing and potentially for perf instrumentation to track and improve main-thread driven scrolling. Note also that this is but a temporary solution as other synchronous scrolling triggers are explored. The Chromium flag to trigger this path is added in https://codereview.chromium.org/571963003/. BUG=414323, 410974 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182611

Patch Set 1 #

Total comments: 2

Patch Set 2 : s/accelerated/threaded/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M Source/core/frame/Settings.in View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 chunks +5 lines, -0 lines 0 comments Download
M Source/web/WebSettingsImpl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebSettingsImpl.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/tests/ScrollingCoordinatorChromiumTest.cpp View 1 1 chunk +18 lines, -0 lines 0 comments Download
M public/web/WebSettings.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
jdduke (slow)
rbyers@: WDYT? My first plan was to have this rule enforced in Chromium's InputEventFilter or ...
6 years, 3 months ago (2014-09-15 16:55:54 UTC) #2
Rick Byers
I don't have a strong preference for where we do this. I agree leaving it ...
6 years, 3 months ago (2014-09-15 21:00:05 UTC) #3
jdduke (slow)
https://codereview.chromium.org/564043003/diff/1/Source/core/frame/Settings.in File Source/core/frame/Settings.in (right): https://codereview.chromium.org/564043003/diff/1/Source/core/frame/Settings.in#newcode72 Source/core/frame/Settings.in:72: acceleratedScrollingEnabled initial=true, invalidate=Style On 2014/09/15 21:00:05, Rick Byers wrote: ...
6 years, 3 months ago (2014-09-15 21:02:07 UTC) #4
jdduke (slow)
OK, terminology updated.
6 years, 3 months ago (2014-09-16 22:36:05 UTC) #5
Rick Byers
lgtm
6 years, 3 months ago (2014-09-17 13:17:51 UTC) #6
jdduke (slow)
abarth@: Owner review for Source/web and public/web? Thanks.
6 years, 3 months ago (2014-09-17 15:24:31 UTC) #8
jdduke (slow)
jamesr@: Could you take a look at Source/web and public/web? Thanks.
6 years, 3 months ago (2014-09-23 16:03:26 UTC) #10
jamesr
Why don't you just disable threaded scroll handling in cc?
6 years, 3 months ago (2014-09-23 23:34:46 UTC) #11
jamesr
Hmm, are you trying to benchmark avoiding the cost of computing scroll rects? In that ...
6 years, 3 months ago (2014-09-23 23:35:14 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/564043003/20001
6 years, 3 months ago (2014-09-24 16:23:49 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-24 16:28:24 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 182611

Powered by Google App Engine
This is Rietveld 408576698