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

Issue 2810503002: Only store previous clip rects for PaintLayers that support subsequences. (Closed)

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

Description

Only store previous clip rects for PaintLayers that support subsequences. To do this: 2. When updating paint properties, only invalidate painting optimizations like subsequence for PaintLayers that support it (stacking context, SVG root), or have clip-related properties BUG=692614, 711413 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2810503002 Cr-Commit-Position: refs/heads/master@{#464670} Committed: https://chromium.googlesource.com/chromium/src/+/d1cf31c84ed81fce3a5033e601afafd402fee87f

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Patch Set 5 : none #

Patch Set 6 : none #

Patch Set 7 : none #

Patch Set 8 : none #

Patch Set 9 : none #

Patch Set 10 : none #

Patch Set 11 : none #

Total comments: 6

Patch Set 12 : none #

Patch Set 13 : none #

Patch Set 14 : none #

Total comments: 1

Patch Set 15 : none #

Patch Set 16 : none #

Total comments: 5

Patch Set 17 : none #

Total comments: 3

Patch Set 18 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -21 lines) Patch
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +18 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 12 3 chunks +4 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +43 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PrePaintTreeWalkTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 chunks +82 lines, -7 lines 0 comments Download

Messages

Total messages: 71 (50 generated)
chrishtr
3 years, 8 months ago (2017-04-10 21:31:59 UTC) #15
chrishtr
New version of the patch, PTAL. This one uses the approach we discussed offline.
3 years, 8 months ago (2017-04-12 17:30:27 UTC) #24
chrishtr
https://codereview.chromium.org/2810503002/diff/200001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp File third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp (right): https://codereview.chromium.org/2810503002/diff/200001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp#newcode105 third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:105: WTF::WrapUnique(new PaintPropertyTreeBuilderContext); This is a little weird and awkward, ...
3 years, 8 months ago (2017-04-12 17:31:41 UTC) #25
pdr.
https://codereview.chromium.org/2810503002/diff/200001/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/2810503002/diff/200001/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode2758 third_party/WebKit/Source/core/paint/PaintLayer.cpp:2758: bool PaintLayer::SupportsSubsequenceCaching() const { Can you add a DCHECK ...
3 years, 8 months ago (2017-04-12 18:40:06 UTC) #26
chrishtr
https://codereview.chromium.org/2810503002/diff/200001/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/2810503002/diff/200001/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode2758 third_party/WebKit/Source/core/paint/PaintLayer.cpp:2758: bool PaintLayer::SupportsSubsequenceCaching() const { On 2017/04/12 at 18:40:06, pdr. ...
3 years, 8 months ago (2017-04-13 02:05:59 UTC) #28
chrishtr
Now uses latest "hybrid" algorithm described offline.
3 years, 8 months ago (2017-04-13 02:07:21 UTC) #31
pdr.
Overall looks good https://codereview.chromium.org/2810503002/diff/300001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2810503002/diff/300001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode507 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:507: if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled() && Why do we ...
3 years, 8 months ago (2017-04-13 16:21:46 UTC) #43
chrishtr
https://codereview.chromium.org/2810503002/diff/300001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2810503002/diff/300001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode507 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:507: if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled() && On 2017/04/13 at 16:21:45, pdr. wrote: ...
3 years, 8 months ago (2017-04-13 17:15:38 UTC) #44
chrishtr
https://codereview.chromium.org/2810503002/diff/340001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp File third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp (right): https://codereview.chromium.org/2810503002/diff/340001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp#newcode158 third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp:158: (RuntimeEnabledFeatures::slimmingPaintV2Enabled() || I also added this for symmetry with ...
3 years, 8 months ago (2017-04-13 17:19:54 UTC) #47
pdr.
On 2017/04/13 at 17:15:38, chrishtr wrote: > https://codereview.chromium.org/2810503002/diff/300001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp > File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): > > https://codereview.chromium.org/2810503002/diff/300001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode507 ...
3 years, 8 months ago (2017-04-13 19:20:11 UTC) #50
chrishtr
On 2017/04/13 at 19:20:11, pdr wrote: > On 2017/04/13 at 17:15:38, chrishtr wrote: > > ...
3 years, 8 months ago (2017-04-13 19:24:42 UTC) #51
pdr.
On 2017/04/13 at 19:24:42, chrishtr wrote: > On 2017/04/13 at 19:20:11, pdr wrote: > > ...
3 years, 8 months ago (2017-04-13 19:29:21 UTC) #52
pdr.
https://codereview.chromium.org/2810503002/diff/340001/third_party/WebKit/Source/core/paint/PrePaintTreeWalkTest.cpp File third_party/WebKit/Source/core/paint/PrePaintTreeWalkTest.cpp (right): https://codereview.chromium.org/2810503002/diff/340001/third_party/WebKit/Source/core/paint/PrePaintTreeWalkTest.cpp#newcode319 third_party/WebKit/Source/core/paint/PrePaintTreeWalkTest.cpp:319: " <div>" Still have an extra div here.
3 years, 8 months ago (2017-04-13 19:29:36 UTC) #53
chrishtr
On 2017/04/13 at 19:24:42, chrishtr wrote: > On 2017/04/13 at 19:20:11, pdr wrote: > > ...
3 years, 8 months ago (2017-04-13 19:32:51 UTC) #54
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/2810503002/340001
3 years, 8 months ago (2017-04-13 19:33:48 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/430530) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 8 months ago (2017-04-13 21:28:48 UTC) #58
chrishtr
Updated to simplify the CL further. I realized that checking for changed visual rects during ...
3 years, 8 months ago (2017-04-14 02:03:42 UTC) #62
chrishtr
Also, crbug.com/711413 now works as it did before in SPv2 mode.
3 years, 8 months ago (2017-04-14 02:04:28 UTC) #64
pdr.
On 2017/04/14 at 02:04:28, chrishtr wrote: > Also, crbug.com/711413 now works as it did before ...
3 years, 8 months ago (2017-04-14 02:17:59 UTC) #65
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/2810503002/360001
3 years, 8 months ago (2017-04-14 03:08:20 UTC) #68
commit-bot: I haz the power
3 years, 8 months ago (2017-04-14 03:55:52 UTC) #71
Message was sent while issue was closed.
Committed patchset #18 (id:360001) as
https://chromium.googlesource.com/chromium/src/+/d1cf31c84ed81fce3a5033e601af...

Powered by Google App Engine
This is Rietveld 408576698