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
Messages
Total messages: 21 (7 generated)
|