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

Issue 2912403003: Add a feature for not compositing small scrollers (Closed)

Created:
3 years, 6 months ago by yigu
Modified:
3 years, 6 months ago
Reviewers:
flackr, kinuko, jwd
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a feature for not compositing small scrollers We find that more than ~60% scrollers(scrollbars) are smaller than certain size and only 10% of them gets scrolled by users. As a result, we are thinking of not compositing the small scrollers to save GPU memory. The experiment is to investigate how much memory gains we could get without compositing them. Having a finch experiment in place will provide us with data for evaluating the GPU memory usage for not compositing small scrollers. This patch is to add a relative feature. BUG=728267 Review-Url: https://codereview.chromium.org/2912403003 Cr-Commit-Position: refs/heads/master@{#477753} Committed: https://chromium.googlesource.com/chromium/src/+/3abfb995607fad374795c7abd737c4d012e7d7b0

Patch Set 1 #

Total comments: 3

Patch Set 2 : nit #

Total comments: 4

Patch Set 3 : Address comments #

Patch Set 4 : Use uppercase-initial format for RuntimeEnabledFeature due to another patch that was landed earlier… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M content/child/runtime_features.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_features.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_features.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebRuntimeFeatures.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
jwd
Can you update the CL description. You're not adding a field trial, you're adding a ...
3 years, 6 months ago (2017-06-02 18:27:35 UTC) #3
yigu
Thanks Jesse! Have updated the patch. https://codereview.chromium.org/2912403003/diff/1/content/public/common/content_features.cc File content/public/common/content_features.cc (right): https://codereview.chromium.org/2912403003/diff/1/content/public/common/content_features.cc#newcode148 content/public/common/content_features.cc:148: "kNotCompositeSmallScroller", base::FEATURE_DISABLED_BY_DEFAULT}; On ...
3 years, 6 months ago (2017-06-02 18:39:02 UTC) #5
jwd
lgtm
3 years, 6 months ago (2017-06-02 20:57:35 UTC) #6
yigu
Hello flackr and kinuko! PTAL at the patch that adds feature for not compositing small ...
3 years, 6 months ago (2017-06-05 14:23:54 UTC) #10
flackr
https://codereview.chromium.org/2912403003/diff/20001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 File third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 (right): https://codereview.chromium.org/2912403003/diff/20001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5#newcode695 third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5:695: name: "NotCompositeSmallScroller", Suggestion, how about SkipCompositingSmallScrollers or CompositeOnlyLargeScrollers? https://codereview.chromium.org/2912403003/diff/20001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5#newcode696 ...
3 years, 6 months ago (2017-06-05 17:50:41 UTC) #11
kinuko
lgtm if flackr's comments are addressed.
3 years, 6 months ago (2017-06-06 04:28:33 UTC) #12
yigu
Thanks for the suggestion. PTAL. https://codereview.chromium.org/2912403003/diff/20001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 File third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 (right): https://codereview.chromium.org/2912403003/diff/20001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5#newcode695 third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5:695: name: "NotCompositeSmallScroller", On 2017/06/05 ...
3 years, 6 months ago (2017-06-06 20:01:11 UTC) #13
flackr
lgtm
3 years, 6 months ago (2017-06-07 17:07:47 UTC) #14
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/2912403003/40001
3 years, 6 months ago (2017-06-07 17:08:26 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/285822) cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 6 months ago (2017-06-07 17:46:15 UTC) #19
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/2912403003/60001
3 years, 6 months ago (2017-06-07 18:09:18 UTC) #22
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 20:37:35 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/3abfb995607fad374795c7abd737...

Powered by Google App Engine
This is Rietveld 408576698