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

Issue 2570223002: [SPv2] Associate effect property nodes for SVG paint chunks (Closed)

Created:
4 years ago by trchen
Modified:
3 years, 12 months ago
Reviewers:
chrishtr, Xianzhu, pdr.
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, krit, eae+blinkwatch, f(malita), fs, gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+svgwatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SPv2] Associate effect property nodes for SVG paint chunks Previously we only created the effect nodes for SVG effects but without actually using them. This CL adds SPv2 support to SVGPaintContext. As a side change, guard LayoutObject::hasNonIsolatedBlendingDescendants() with NOTREACHED() because it is only implemented for SVG. BUG=673500 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/edf04d1d0d3ecd74b9ea1e11d65dfa9113797511 Cr-Commit-Position: refs/heads/master@{#440678}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix isolation & apply effects to SVG graphics elements #

Total comments: 3

Patch Set 3 : fix NONREACHED() because some SVG didn't override hasNonIsolatedDescendant, fix condition to determ… #

Patch Set 4 : rebased #

Total comments: 2

Patch Set 5 : probably the last missed hasIsolatedDescendant override (I hope) #

Patch Set 6 : keep CompositingRecorder, update expectation #

Total comments: 4

Patch Set 7 : revert hasNonIso... change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -41 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 3 4 5 2 chunks +24 lines, -34 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 3 4 5 3 chunks +10 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGPaintContext.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGPaintContext.cpp View 1 2 3 4 5 2 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (31 generated)
trchen
Here's the said SVG change.
4 years ago (2016-12-14 01:24:03 UTC) #3
trchen
https://codereview.chromium.org/2570223002/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.h File third_party/WebKit/Source/core/layout/LayoutObject.h (right): https://codereview.chromium.org/2570223002/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.h#newcode651 third_party/WebKit/Source/core/layout/LayoutObject.h:651: virtual bool hasNonIsolatedBlendingDescendants() const { Why not just remove ...
4 years ago (2016-12-14 01:36:55 UTC) #4
chrishtr
Looks good. https://codereview.chromium.org/2570223002/diff/1/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 File third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 (right): https://codereview.chromium.org/2570223002/diff/1/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2#newcode2176 third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2:2176: #Bug(none) css3/blending/svg-blend-not-allowed.html [ Failure ] Are these ...
4 years ago (2016-12-15 02:01:09 UTC) #5
pdr.
(FWIW, I also agree this looks good. Just waiting for dependent patchset to land)
4 years ago (2016-12-15 05:51:02 UTC) #6
trchen
Fixed the three. Revealed one more which should be filed for later. https://codereview.chromium.org/2570223002/diff/20001/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 File third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 ...
4 years ago (2016-12-15 05:54:19 UTC) #7
chrishtr
https://codereview.chromium.org/2570223002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2570223002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode376 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:376: const bool isSVGGraphicsElement = Why skip SVG graphics elements?
4 years ago (2016-12-15 19:21:23 UTC) #12
trchen
https://codereview.chromium.org/2570223002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2570223002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode376 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:376: const bool isSVGGraphicsElement = On 2016/12/15 19:21:23, chrishtr wrote: ...
4 years ago (2016-12-15 23:49:46 UTC) #17
chrishtr
https://codereview.chromium.org/2570223002/diff/60001/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 File third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 (right): https://codereview.chromium.org/2570223002/diff/60001/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2#newcode2175 third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2:2175: Bug(none) css3/blending/svg-isolation-add-masking.html [ Failure ] Why does this fail ...
4 years ago (2016-12-16 00:23:24 UTC) #20
trchen
https://codereview.chromium.org/2570223002/diff/60001/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 File third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 (right): https://codereview.chromium.org/2570223002/diff/60001/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2#newcode2175 third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2:2175: Bug(none) css3/blending/svg-isolation-add-masking.html [ Failure ] On 2016/12/16 00:23:24, chrishtr ...
4 years ago (2016-12-16 00:28:56 UTC) #21
chrishtr
lgtm
4 years ago (2016-12-16 00:29:37 UTC) #22
trchen
Okay, patchset 6 should be more correct. Most layout tests involved only opacity and blend ...
4 years ago (2016-12-21 02:48:15 UTC) #30
pdr.
https://codereview.chromium.org/2570223002/diff/120001/third_party/WebKit/Source/core/layout/LayoutObject.h File third_party/WebKit/Source/core/layout/LayoutObject.h (right): https://codereview.chromium.org/2570223002/diff/120001/third_party/WebKit/Source/core/layout/LayoutObject.h#newcode654 third_party/WebKit/Source/core/layout/LayoutObject.h:654: NOTREACHED(); What about DCHECK(isSVG()); and remove the other overrides?
4 years ago (2016-12-21 19:12:52 UTC) #35
chrishtr
https://codereview.chromium.org/2570223002/diff/120001/third_party/WebKit/Source/core/layout/LayoutObject.h File third_party/WebKit/Source/core/layout/LayoutObject.h (right): https://codereview.chromium.org/2570223002/diff/120001/third_party/WebKit/Source/core/layout/LayoutObject.h#newcode652 third_party/WebKit/Source/core/layout/LayoutObject.h:652: virtual bool hasNonIsolatedBlendingDescendants() const { Why do you need ...
4 years ago (2016-12-21 21:39:24 UTC) #36
trchen
https://codereview.chromium.org/2570223002/diff/120001/third_party/WebKit/Source/core/layout/LayoutObject.h File third_party/WebKit/Source/core/layout/LayoutObject.h (right): https://codereview.chromium.org/2570223002/diff/120001/third_party/WebKit/Source/core/layout/LayoutObject.h#newcode652 third_party/WebKit/Source/core/layout/LayoutObject.h:652: virtual bool hasNonIsolatedBlendingDescendants() const { On 2016/12/21 21:39:24, chrishtr ...
4 years ago (2016-12-21 22:36:42 UTC) #37
chrishtr
lgtm
3 years, 12 months ago (2016-12-23 14:50:51 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/2570223002/140001
3 years, 12 months ago (2016-12-24 23:20:06 UTC) #44
commit-bot: I haz the power
Committed patchset #7 (id:140001)
3 years, 12 months ago (2016-12-25 00:50:14 UTC) #47
commit-bot: I haz the power
3 years, 12 months ago (2016-12-25 00:52:07 UTC) #49
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/edf04d1d0d3ecd74b9ea1e11d65dfa9113797511
Cr-Commit-Position: refs/heads/master@{#440678}

Powered by Google App Engine
This is Rietveld 408576698