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

Issue 1425913004: [SVG] Shared <use> path geometry (Closed)

Created:
5 years, 1 month ago by f(malita)
Modified:
5 years, 1 month ago
Reviewers:
pdr., fs
CC:
blink-reviews, chromium-reviews, krit, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, reed1, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SVG] Shared <use> path geometry Based on Fredrik Söderquist <fs@opera.com>'s idea. For <use>-instanced SVGPathElements, reuse the referenced Path object (now cached in SVGPath). This ensures that all <path> instances paint using the same SkPath, which in turn reduces the pressure on internal Skia path caches. BUG=skia:4527, 549242 R=fs@opera.com Committed: https://crrev.com/bc2589c36b60164e0191247e891ee71cbcd47090 Cr-Commit-Position: refs/heads/master@{#357138}

Patch Set 1 #

Patch Set 2 : cache in SVGPath #

Patch Set 3 : cleanup #

Total comments: 3

Patch Set 4 : review #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -10 lines) Patch
M third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGElement.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGElementRareData.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPath.h View 1 2 3 chunks +7 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/core/svg/SVGPath.cpp View 1 4 chunks +29 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPathElement.cpp View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
f(malita)
This is not ready for review/landing, but sharing for early feedback. Fredrik, is this what ...
5 years, 1 month ago (2015-10-29 16:06:35 UTC) #2
fs
On 2015/10/29 at 16:06:35, fmalita wrote: > This is not ready for review/landing, but sharing ...
5 years, 1 month ago (2015-10-29 16:22:08 UTC) #3
f(malita)
On 2015/10/29 16:22:08, fs wrote: > On 2015/10/29 at 16:06:35, fmalita wrote: > > This ...
5 years, 1 month ago (2015-10-29 16:49:25 UTC) #4
fs
On 2015/10/29 at 16:49:25, fmalita wrote: > On 2015/10/29 16:22:08, fs wrote: > > On ...
5 years, 1 month ago (2015-10-29 17:10:31 UTC) #5
f(malita)
On 2015/10/29 17:10:31, fs wrote: > On 2015/10/29 at 16:49:25, fmalita wrote: > > On ...
5 years, 1 month ago (2015-10-29 18:47:05 UTC) #6
fs
On 2015/10/29 at 18:47:05, fmalita wrote: > On 2015/10/29 17:10:31, fs wrote: > > On ...
5 years, 1 month ago (2015-10-29 18:51:19 UTC) #8
f(malita)
Updated, PTAL.
5 years, 1 month ago (2015-10-30 00:27:01 UTC) #11
fs
On 2015/10/30 at 00:27:01, fmalita wrote: > Updated, PTAL. Thanks, this looks pretty much exactly ...
5 years, 1 month ago (2015-10-30 09:48:34 UTC) #13
f(malita)
https://codereview.chromium.org/1425913004/diff/40001/third_party/WebKit/Source/core/svg/SVGPathElement.cpp File third_party/WebKit/Source/core/svg/SVGPathElement.cpp (right): https://codereview.chromium.org/1425913004/diff/40001/third_party/WebKit/Source/core/svg/SVGPathElement.cpp#newcode76 third_party/WebKit/Source/core/svg/SVGPathElement.cpp:76: if (const auto* element = correspondingElement()) On 2015/10/30 09:48:34, ...
5 years, 1 month ago (2015-10-30 12:42:56 UTC) #14
pdr.
LGTM https://codereview.chromium.org/1425913004/diff/60001/third_party/WebKit/Source/core/svg/SVGPath.h File third_party/WebKit/Source/core/svg/SVGPath.h (right): https://codereview.chromium.org/1425913004/diff/60001/third_party/WebKit/Source/core/svg/SVGPath.h#newcode77 third_party/WebKit/Source/core/svg/SVGPath.h:77: OwnPtr<SVGPathByteStream> m_byteStream; I hope we can combine the ...
5 years, 1 month ago (2015-10-30 16:46:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1425913004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1425913004/60001
5 years, 1 month ago (2015-10-30 17:36:50 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-10-30 18:31:51 UTC) #19
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/bc2589c36b60164e0191247e891ee71cbcd47090 Cr-Commit-Position: refs/heads/master@{#357138}
5 years, 1 month ago (2015-10-30 18:32:40 UTC) #20
Stephen White
5 years, 1 month ago (2015-10-30 19:52:59 UTC) #21
Message was sent while issue was closed.
\o/

Powered by Google App Engine
This is Rietveld 408576698