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

Issue 2059433002: Use transform paint property nodes in SVG [spv2] (Closed)

Created:
4 years, 6 months ago by pdr.
Modified:
4 years, 6 months ago
Reviewers:
chrishtr, trchen, jbroman, fs
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@svgTransformProps2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use transform paint property nodes in SVG [spv2] This patch starts using transform paint property nodes when painting SVG. Typically PaintLayer is responsible for noticing new property nodes during painting but non-root SVG objects do not create PaintLayers and need to check for properties themselves. Several difficult transform areas remain such as marker transforms, but this patch gets the bulk of SVG switched over. With this patch, 93 new layout tests pass with spv2 enabled. This patch builds on https://codereview.chromium.org/2045253005 BUG=600618 Committed: https://crrev.com/e06f2cf02f5ec0ce37164bf3e458593e61fb2e36 Cr-Commit-Position: refs/heads/master@{#401172}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase to get viewBox fix #

Total comments: 9

Patch Set 4 : Post-blinkon rebase, add some dchecks, add some fixmes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -26 lines) Patch
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGContainerPainter.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGImagePainter.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGPaintContext.h View 1 2 3 2 chunks +46 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGRootPainter.cpp View 1 2 3 3 chunks +1 line, -15 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGShapePainter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/SVGTextPainter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2059433002/1
4 years, 6 months ago (2016-06-09 21:07:39 UTC) #2
pdr.
4 years, 6 months ago (2016-06-09 22:18:14 UTC) #5
chrishtr
Will this patch result in transforms for every transform in an SVG?
4 years, 6 months ago (2016-06-09 22:21:07 UTC) #7
pdr.
On 2016/06/09 at 22:21:07, chrishtr wrote: > Will this patch result in transforms for every ...
4 years, 6 months ago (2016-06-09 22:27:22 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-09 23:30:38 UTC) #10
trchen
https://codereview.chromium.org/2059433002/diff/40001/third_party/WebKit/Source/core/paint/SVGPaintContext.h File third_party/WebKit/Source/core/paint/SVGPaintContext.h (right): https://codereview.chromium.org/2059433002/diff/40001/third_party/WebKit/Source/core/paint/SVGPaintContext.h#newcode62 third_party/WebKit/Source/core/paint/SVGPaintContext.h:62: if (objectProperties->svgLocalToBorderBoxTransform()) { Is it possible to add a ...
4 years, 6 months ago (2016-06-13 22:45:19 UTC) #13
pdr.
https://codereview.chromium.org/2059433002/diff/40001/third_party/WebKit/Source/core/paint/SVGPaintContext.h File third_party/WebKit/Source/core/paint/SVGPaintContext.h (right): https://codereview.chromium.org/2059433002/diff/40001/third_party/WebKit/Source/core/paint/SVGPaintContext.h#newcode62 third_party/WebKit/Source/core/paint/SVGPaintContext.h:62: if (objectProperties->svgLocalToBorderBoxTransform()) { On 2016/06/13 at 22:45:18, trchen wrote: ...
4 years, 6 months ago (2016-06-13 23:03:19 UTC) #14
trchen
https://codereview.chromium.org/2059433002/diff/40001/third_party/WebKit/Source/core/paint/SVGPaintContext.h File third_party/WebKit/Source/core/paint/SVGPaintContext.h (right): https://codereview.chromium.org/2059433002/diff/40001/third_party/WebKit/Source/core/paint/SVGPaintContext.h#newcode62 third_party/WebKit/Source/core/paint/SVGPaintContext.h:62: if (objectProperties->svgLocalToBorderBoxTransform()) { On 2016/06/13 23:03:19, pdr. wrote: > ...
4 years, 6 months ago (2016-06-13 23:26:52 UTC) #15
pdr.
https://codereview.chromium.org/2059433002/diff/40001/third_party/WebKit/Source/core/paint/SVGPaintContext.h File third_party/WebKit/Source/core/paint/SVGPaintContext.h (right): https://codereview.chromium.org/2059433002/diff/40001/third_party/WebKit/Source/core/paint/SVGPaintContext.h#newcode62 third_party/WebKit/Source/core/paint/SVGPaintContext.h:62: if (objectProperties->svgLocalToBorderBoxTransform()) { On 2016/06/13 at 23:26:52, trchen wrote: ...
4 years, 6 months ago (2016-06-21 22:26:21 UTC) #16
pdr.
@trchen, could you take another look? Sorry it's been a while due to blinkon and ...
4 years, 6 months ago (2016-06-21 22:33:57 UTC) #17
trchen
On 2016/06/21 22:33:57, pdr. wrote: > @trchen, could you take another look? Sorry it's been ...
4 years, 6 months ago (2016-06-21 22:55:35 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2059433002/60001
4 years, 6 months ago (2016-06-21 23:12:52 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-22 02:27:04 UTC) #21
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 02:28:17 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e06f2cf02f5ec0ce37164bf3e458593e61fb2e36
Cr-Commit-Position: refs/heads/master@{#401172}

Powered by Google App Engine
This is Rietveld 408576698