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

Issue 2529293012: Invalidate paint properties on paint offset changes (Closed)

Created:
4 years ago by pdr.
Modified:
4 years ago
Reviewers:
Xianzhu, trchen
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Invalidate paint properties on paint offset changes Paint invalidation was (re)used to catch paint offset changes in order to trigger paint property tree updates. This patch starts tracking paint offset changes for paint property updates, independent of paint invalidation. The paint invalidation flags for paint offset changes could be set for many reasons, and this approach causes fewer paint property updates. BUG=645667 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/616a356b1d2cc22cbbc36e093389841438280750 Cr-Commit-Position: refs/heads/master@{#436878}

Patch Set 1 #

Patch Set 2 : Fix more underinvalidation #

Total comments: 2

Patch Set 3 : Move content rect change invalidation #

Patch Set 4 : Simpler fix for overflowclip #

Total comments: 1

Patch Set 5 : Fix overflow clip bug, add disabled test for contains paint bug #

Patch Set 6 : Fix transform underinvalidation, skip several spinvalidation skips #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -43 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 2 3 4 5 2 chunks +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.cpp View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 2 3 4 5 2 chunks +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp View 3 chunks +26 lines, -32 lines 0 comments Download

Messages

Total messages: 46 (28 generated)
pdr.
4 years ago (2016-12-02 21:11:16 UTC) #8
Xianzhu
lgtm
4 years ago (2016-12-02 21:43:58 UTC) #11
trchen
lgtm except one question https://codereview.chromium.org/2529293012/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2529293012/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1700 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1700: setNeedsPaintPropertyUpdate(); This feel weird to ...
4 years ago (2016-12-02 22:32:40 UTC) #12
pdr.
PTAL https://codereview.chromium.org/2529293012/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2529293012/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1700 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1700: setNeedsPaintPropertyUpdate(); On 2016/12/02 at 22:32:40, trchen wrote: > ...
4 years ago (2016-12-05 04:31:05 UTC) #15
Xianzhu
https://codereview.chromium.org/2529293012/diff/60001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2529293012/diff/60001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode334 third_party/WebKit/Source/core/layout/LayoutBox.cpp:334: if (newStyle.hasBorder() || (oldStyle && oldStyle->hasBorder())) How does it ...
4 years ago (2016-12-05 16:55:53 UTC) #20
trchen
On 2016/12/05 16:55:53, Xianzhu wrote: > https://codereview.chromium.org/2529293012/diff/60001/third_party/WebKit/Source/core/layout/LayoutBox.cpp > File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): > > https://codereview.chromium.org/2529293012/diff/60001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode334 > ...
4 years ago (2016-12-05 22:42:36 UTC) #21
Xianzhu
On 2016/12/05 22:42:36, trchen wrote: > On 2016/12/05 16:55:53, Xianzhu wrote: > > > https://codereview.chromium.org/2529293012/diff/60001/third_party/WebKit/Source/core/layout/LayoutBox.cpp ...
4 years ago (2016-12-05 23:15:57 UTC) #22
trchen
On 2016/12/05 23:15:57, Xianzhu wrote: > On 2016/12/05 22:42:36, trchen wrote: > > On 2016/12/05 ...
4 years ago (2016-12-05 23:19:10 UTC) #23
Xianzhu
On 2016/12/05 23:19:10, trchen wrote: > On 2016/12/05 23:15:57, Xianzhu wrote: > > On 2016/12/05 ...
4 years ago (2016-12-05 23:25:23 UTC) #24
pdr.
On 2016/12/05 at 23:25:23, wangxianzhu wrote: > > > > > third_party/WebKit/Source/core/layout/LayoutBox.cpp:334: if > > ...
4 years ago (2016-12-06 03:25:42 UTC) #25
Xianzhu
lgtm
4 years ago (2016-12-06 03:35:56 UTC) #28
pdr.
On 2016/12/06 at 03:35:56, wangxianzhu wrote: > lgtm I fixed one more bug about svg ...
4 years ago (2016-12-07 05:13:21 UTC) #33
Xianzhu
On 2016/12/07 05:13:21, pdr. wrote: > On 2016/12/06 at 03:35:56, wangxianzhu wrote: > > lgtm ...
4 years ago (2016-12-07 05:14:41 UTC) #34
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/2529293012/100001
4 years ago (2016-12-07 05:15:49 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-12-07 05:55:27 UTC) #40
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/2529293012/100001
4 years ago (2016-12-07 05:59:18 UTC) #42
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-07 06:25:28 UTC) #44
commit-bot: I haz the power
4 years ago (2016-12-07 06:27:23 UTC) #46
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/616a356b1d2cc22cbbc36e093389841438280750
Cr-Commit-Position: refs/heads/master@{#436878}

Powered by Google App Engine
This is Rietveld 408576698