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

Issue 2570423003: Remove paintOffsetTranslation for fixed-position elements. (Closed)

Created:
4 years ago by chrishtr
Modified:
3 years, 11 months ago
Reviewers:
pdr., Xianzhu, trchen
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove paintOffsetTranslation for fixed-position elements. Thus only transformed elements now paint with transform. The concept of painting fixed-position elements with transform was introduced in https://codereview.chromium.org/1110653003, to help with paint invalidation of SPv1. However we ended up invalidating whole subtrees on scroll in v1, so this is not necessary. Also added invalidation of paint properties when changing compositing mode, since this can affect whether paintsWithTransform changes its behavior. BUG=674623 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/346b1c326cb8c8c2978de61294338d3575708a86 Cr-Commit-Position: refs/heads/master@{#440906}

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Total comments: 1

Patch Set 5 : none #

Patch Set 6 : none #

Patch Set 7 : none #

Total comments: 1

Patch Set 8 : none #

Patch Set 9 : none #

Patch Set 10 : none #

Patch Set 11 : none #

Total comments: 3

Patch Set 12 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -95 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +75 lines, -53 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 2 3 4 7 chunks +10 lines, -37 lines 0 comments Download

Messages

Total messages: 50 (38 generated)
chrishtr
4 years ago (2016-12-15 22:30:37 UTC) #10
Xianzhu
lgtm https://codereview.chromium.org/2570423003/diff/60001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/2570423003/diff/60001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode303 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:303: if (hadLayer != hasLayer()) { Nit: if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() ...
4 years ago (2016-12-15 22:37:11 UTC) #13
chrishtr
https://codereview.chromium.org/2570423003/diff/120001/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 File third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 (right): https://codereview.chromium.org/2570423003/diff/120001/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2#newcode221 third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2:221: Bug(none) compositing/iframes/iframe-resize.html [ Failure ] The two added tests ...
3 years, 12 months ago (2016-12-27 20:53:02 UTC) #20
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/2570423003/120001
3 years, 12 months ago (2016-12-27 20:53:14 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/355779)
3 years, 12 months ago (2016-12-27 22:33:26 UTC) #25
chrishtr
Please take a new look. See comment below. https://codereview.chromium.org/2570423003/diff/200001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp (right): https://codereview.chromium.org/2570423003/diff/200001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp#newcode430 third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp:430: } ...
3 years, 11 months ago (2016-12-28 21:52:22 UTC) #39
Xianzhu
lgtm https://codereview.chromium.org/2570423003/diff/200001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp (right): https://codereview.chromium.org/2570423003/diff/200001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp#newcode607 third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp:607: LOG(ERROR) << "wtf"; Remove.
3 years, 11 months ago (2016-12-28 22:19:46 UTC) #40
chrishtr
https://codereview.chromium.org/2570423003/diff/200001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp (right): https://codereview.chromium.org/2570423003/diff/200001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp#newcode607 third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp:607: LOG(ERROR) << "wtf"; On 2016/12/28 at 22:19:46, Xianzhu wrote: ...
3 years, 11 months ago (2016-12-28 22:27:39 UTC) #41
chrishtr
3 years, 11 months ago (2016-12-28 22:28:09 UTC) #42
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/2570423003/220001
3 years, 11 months ago (2016-12-28 22:28:29 UTC) #45
commit-bot: I haz the power
Committed patchset #12 (id:220001)
3 years, 11 months ago (2016-12-28 23:48:12 UTC) #48
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:50:48 UTC) #50
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/346b1c326cb8c8c2978de61294338d3575708a86
Cr-Commit-Position: refs/heads/master@{#440906}

Powered by Google App Engine
This is Rietveld 408576698