commit | 4c89481be4957cb943d2545793b0b41d1ee557d8 | [log] [tgz] |
---|---|---|
author | Tyler Denniston <tdenniston@google.com> | Wed Jan 20 09:41:22 2021 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jan 20 16:13:56 2021 +0000 |
tree | 6bbdb6c448d019d5c89fbf627b3cdb5c3fa91233 | |
parent | 24c4d209ba0c4621babf2321199788c0780e875a [diff] [blame] |
[svg] Implement feMorphology filter https://www.w3.org/TR/SVG11/filters.html#feMorphologyElement Bug: skia:10841 Change-Id: I0b0028fb815c490670f9f1e888770efb194a8f3b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/356107 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Tyler Denniston <tdenniston@google.com>
diff --git a/modules/svg/include/SkSVGFe.h b/modules/svg/include/SkSVGFe.h index 155634b..ac4d8c4 100644 --- a/modules/svg/include/SkSVGFe.h +++ b/modules/svg/include/SkSVGFe.h
@@ -21,7 +21,7 @@ return node->tag() == SkSVGTag::kFeTurbulence || node->tag() == SkSVGTag::kFeColorMatrix || node->tag() == SkSVGTag::kFeComposite || node->tag() == SkSVGTag::kFeFlood || node->tag() == SkSVGTag::kFeGaussianBlur || node->tag() == SkSVGTag::kFeOffset || - node->tag() == SkSVGTag::kFeBlend; + node->tag() == SkSVGTag::kFeBlend || node->tag() == SkSVGTag::kFeMorphology; } sk_sp<SkImageFilter> makeImageFilter(const SkSVGRenderContext& ctx,