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

Issue 2434443005: Only automatically promote scrollers which are untransformed and opaque. (Closed)

Created:
4 years, 2 months ago by flackr
Modified:
4 years, 2 months ago
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only automatically promote scrollers which are untransformed and opaque. To be sure that we actually get LCD text, we only promote scrollers which have not been transformed themselves or by any ancestor, and also exclude those which are translucent due to an opacity on themselves or an ancestor. BUG=644833 TEST=PaintLayerScrollableAreaTest.OnlyNonTransformedOpaqueLayersPromoted, PaintLayerScrollableAreaTest.OnlyOpaqueLayersPromoted CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/c656b155c2f6fb63288a259d130dd06dca393925 Cr-Commit-Position: refs/heads/master@{#426385}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use ScopedRuntimeEnabledFeatureForTest pattern. #

Patch Set 3 : Force compositing to test scrolling contents background painting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -5 lines) Patch
M third_party/WebKit/LayoutTests/compositing/overflow/scaled-overflow.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 chunk +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp View 1 2 chunks +110 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/RuntimeEnabledFeaturesTestHelpers.h View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
flackr
Chris, I investigated allowing integer transforms, but it's going to be trickier than I thought ...
4 years, 2 months ago (2016-10-19 22:09:19 UTC) #3
chrishtr
lgtm https://chromiumcodereview.appspot.com/2434443005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp File third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp (right): https://chromiumcodereview.appspot.com/2434443005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp#newcode246 third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp:246: RuntimeEnabledFeatures::setCompositeOpaqueScrollersEnabled(true); Use the auto-resetter pattern.
4 years, 2 months ago (2016-10-19 22:29:45 UTC) #5
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/2434443005/1
4 years, 2 months ago (2016-10-19 22:30:45 UTC) #6
flackr
https://chromiumcodereview.appspot.com/2434443005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp File third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp (right): https://chromiumcodereview.appspot.com/2434443005/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp#newcode246 third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp:246: RuntimeEnabledFeatures::setCompositeOpaqueScrollersEnabled(true); On 2016/10/19 at 22:29:45, chrishtr wrote: > Use ...
4 years, 2 months ago (2016-10-19 23:01:55 UTC) #10
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/2434443005/20001
4 years, 2 months ago (2016-10-19 23:02:59 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/318818)
4 years, 2 months ago (2016-10-20 00:43:18 UTC) #13
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/2434443005/40001
4 years, 2 months ago (2016-10-20 01:06:36 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-20 03:30:32 UTC) #17
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:14:55 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c656b155c2f6fb63288a259d130dd06dca393925
Cr-Commit-Position: refs/heads/master@{#426385}

Powered by Google App Engine
This is Rietveld 408576698