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

Issue 1623073003: [SVG] Paint unnormalized paths (Closed)

Created:
4 years, 11 months ago by f(malita)
Modified:
4 years, 11 months ago
Reviewers:
fs, caryclark
CC:
fs, blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, f(malita), gyuyoung2, jbroman, jchaffraix+rendering, Justin Novosad, kinuko+watch, kouhei+svg_chromium.org, leviw+renderwatch, pdr+svgwatchlist_chromium.org, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, reed1, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, vmpstr+blinkwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SVG] Paint unnormalized paths The SkPath API supports all SVG path verbs, so there's no need to normalize paths when converting to the Skia representation. Switch buildPathFromString() and buildPathFromByteStream() to unaltered parsing, and expand SVGPathBuilder to handle the full path vocabulary. This yields a more natural verb conversion (arcTo, in particular, is no longer decomposed into cubics), with correctness and perf implications. BUG=453040 R=fs@opera.com,caryclark@google.com Committed: https://crrev.com/7003bed16de3861e47d6bb0287ba4d6bffcfea04 Cr-Commit-Position: refs/heads/master@{#371345}

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : let's not forget buildPathFromString #

Patch Set 4 : expectations #

Total comments: 10

Patch Set 5 : review comments #

Patch Set 6 : missed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -14 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 chunks +25 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGMarkerData.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPathBuilder.h View 1 2 3 4 5 1 chunk +24 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp View 1 2 3 4 5 1 chunk +171 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Path.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Path.cpp View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
f(malita)
21 trivial rebaselines: https://storage.googleapis.com/chromium-layout-test-archives/mac_chromium_rel_ng/169733/layout-test-results/results.html
4 years, 11 months ago (2016-01-25 18:31:52 UTC) #5
caryclark
(to the extent that I understand it) lgtm
4 years, 11 months ago (2016-01-25 19:00:58 UTC) #6
fs
LGTM w/ nits I guess the DRT (txt) changes are because we no longer pass ...
4 years, 11 months ago (2016-01-25 19:17:40 UTC) #7
f(malita)
On 2016/01/25 19:17:40, fs wrote: > I guess the DRT (txt) changes are because we ...
4 years, 11 months ago (2016-01-25 19:37:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1623073003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1623073003/100001
4 years, 11 months ago (2016-01-25 20:16:19 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/106458)
4 years, 11 months ago (2016-01-25 22:07:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1623073003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1623073003/100001
4 years, 11 months ago (2016-01-25 22:21:21 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 11 months ago (2016-01-25 23:16:56 UTC) #17
commit-bot: I haz the power
4 years, 11 months ago (2016-01-25 23:17:39 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7003bed16de3861e47d6bb0287ba4d6bffcfea04
Cr-Commit-Position: refs/heads/master@{#371345}

Powered by Google App Engine
This is Rietveld 408576698