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

Issue 2327233003: [SVGDom] Initial linear gradient support (Closed)

Created:
4 years, 3 months ago by f(malita)
Modified:
4 years, 3 months ago
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

[SVGDom] Initial linear gradient support Kind of a big change, to connect several new bits into something useful: * ID tracking & lookup * new asPaint() node virtual to support shader (and in the future filter) based paint servers * <defs>, <linearGradient> and <stop> element support * 'href', 'offset', 'stop-color', 'stop-opacity' attribute support * IRI/FuncIRI and rgb(...) parsing BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2327233003 Committed: https://skia.googlesource.com/skia/+/28d5b72d86fdfae20dc47ba548748f119c7273e3

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : speculative gn fix #

Patch Set 4 : cleanup #

Total comments: 8

Patch Set 5 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+538 lines, -44 lines) Patch
M BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M experimental/svg/model/SkSVGAttribute.h View 1 chunk +4 lines, -0 lines 0 comments Download
M experimental/svg/model/SkSVGAttributeParser.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M experimental/svg/model/SkSVGAttributeParser.cpp View 1 6 chunks +65 lines, -2 lines 0 comments Download
M experimental/svg/model/SkSVGContainer.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M experimental/svg/model/SkSVGDOM.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M experimental/svg/model/SkSVGDOM.cpp View 1 2 8 chunks +56 lines, -19 lines 0 comments Download
A experimental/svg/model/SkSVGDefs.h View 1 chunk +24 lines, -0 lines 0 comments Download
A experimental/svg/model/SkSVGHiddenContainer.h View 1 chunk +26 lines, -0 lines 0 comments Download
A experimental/svg/model/SkSVGIDMapper.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A experimental/svg/model/SkSVGLinearGradient.h View 1 chunk +49 lines, -0 lines 0 comments Download
A experimental/svg/model/SkSVGLinearGradient.cpp View 1 2 3 4 1 chunk +119 lines, -0 lines 0 comments Download
M experimental/svg/model/SkSVGNode.h View 3 chunks +7 lines, -0 lines 0 comments Download
M experimental/svg/model/SkSVGNode.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M experimental/svg/model/SkSVGRenderContext.h View 1 2 3 4 chunks +6 lines, -1 line 0 comments Download
M experimental/svg/model/SkSVGRenderContext.cpp View 1 2 3 4 9 chunks +35 lines, -16 lines 0 comments Download
A experimental/svg/model/SkSVGStop.h View 1 chunk +44 lines, -0 lines 0 comments Download
A experimental/svg/model/SkSVGStop.cpp View 1 chunk +46 lines, -0 lines 0 comments Download
M experimental/svg/model/SkSVGTypes.h View 1 2 3 chunks +12 lines, -4 lines 0 comments Download
M experimental/svg/model/SkSVGValue.h View 2 chunks +2 lines, -0 lines 0 comments Download
M gyp/svg.gyp View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (14 generated)
f(malita)
4 years, 3 months ago (2016-09-12 15:07:04 UTC) #4
robertphillips
lgtm https://codereview.chromium.org/2327233003/diff/60001/experimental/svg/model/SkSVGContainer.h File experimental/svg/model/SkSVGContainer.h (right): https://codereview.chromium.org/2327233003/diff/60001/experimental/svg/model/SkSVGContainer.h#newcode24 experimental/svg/model/SkSVGContainer.h:24: Hmm, very trusting ... https://codereview.chromium.org/2327233003/diff/60001/experimental/svg/model/SkSVGLinearGradient.cpp File experimental/svg/model/SkSVGLinearGradient.cpp (right): ...
4 years, 3 months ago (2016-09-12 19:31:52 UTC) #9
f(malita)
https://codereview.chromium.org/2327233003/diff/60001/experimental/svg/model/SkSVGContainer.h File experimental/svg/model/SkSVGContainer.h (right): https://codereview.chromium.org/2327233003/diff/60001/experimental/svg/model/SkSVGContainer.h#newcode24 experimental/svg/model/SkSVGContainer.h:24: On 2016/09/12 19:31:52, robertphillips wrote: > Hmm, very trusting ...
4 years, 3 months ago (2016-09-12 19:52:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2327233003/80001
4 years, 3 months ago (2016-09-13 00:05:26 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 00:06:50 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/28d5b72d86fdfae20dc47ba548748f119c7273e3

Powered by Google App Engine
This is Rietveld 408576698