[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 Review URL: https://codereview.chromium.org/1425913004 Cr-Commit-Position: refs/heads/master@{#357138}
Showing
Please register or sign in to comment