skia2/modules/svg/include
Tyler Denniston bd91660b6e [svg] Handle unspecified filter effect inputs
Per spec [1], unspecified inputs ('in', 'in2' attributes) have different
meaning depending on whether the referencing filter is the first in the
pipeline. This CL adds previous result tracking to the filter context
and handles unspecified values accordingly during input resolution.

[1] https://www.w3.org/TR/SVG11/filters.html#FilterPrimitiveInAttribute

Bug: skia:10841
Change-Id: I64618ad712979f6dd62adb4686085fe31618c3cb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/357278
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Tyler Denniston <tdenniston@google.com>
2021-01-25 15:18:16 +00:00
..
SkSVGAttribute.h [svg] Add support for mask color-interpolation 2021-01-15 15:19:40 +00:00
SkSVGAttributeParser.h [svg] Text rotate support 2021-01-05 17:43:51 +00:00
SkSVGCircle.h [svg] Implement onObjectBoundingBox for circle and path 2021-01-12 15:05:16 +00:00
SkSVGClipPath.h [svg] Add clipPathUnits support 2021-01-14 20:18:15 +00:00
SkSVGContainer.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGDefs.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGDOM.h [svg] Allow clients to pass a custom SkFontMgr 2020-11-11 01:51:44 +00:00
SkSVGEllipse.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGFe.h [svg] Handle unspecified filter effect inputs 2021-01-25 15:18:16 +00:00
SkSVGFeBlend.h [svg] Implement feBlend filter 2021-01-15 19:45:56 +00:00
SkSVGFeColorMatrix.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeComposite.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeFlood.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeGaussianBlur.h [svg] Implement feGaussianBlur 2021-01-12 16:26:16 +00:00
SkSVGFeMorphology.h [svg] Implement feMorphology filter 2021-01-20 16:13:56 +00:00
SkSVGFeOffset.h [svg] Implement feOffset filter 2021-01-15 15:04:30 +00:00
SkSVGFeTurbulence.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFilter.h [svg] Mask support 2021-01-14 18:50:46 +00:00
SkSVGFilterContext.h [svg] Handle unspecified filter effect inputs 2021-01-25 15:18:16 +00:00
SkSVGG.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGGradient.h [svg] Cleanup: use FP alpha for opacity 2021-01-19 19:22:49 +00:00
SkSVGHiddenContainer.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGIDMapper.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGLine.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGLinearGradient.h [svg] Cleanup: use FP alpha for opacity 2021-01-19 19:22:49 +00:00
SkSVGMask.h [svg] Mask support 2021-01-14 18:50:46 +00:00
SkSVGNode.h [svg] Implement feMorphology filter 2021-01-20 16:13:56 +00:00
SkSVGPath.h [svg] Implement onObjectBoundingBox for circle and path 2021-01-12 15:05:16 +00:00
SkSVGPattern.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGPoly.h [svg] Fix filter region bounds 2020-12-15 16:15:19 +00:00
SkSVGRadialGradient.h [svg] Cleanup: use FP alpha for opacity 2021-01-19 19:22:49 +00:00
SkSVGRect.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGRenderContext.h [svg] Cleanup: drop the presentation attribute SkPaint cache 2021-01-19 15:58:55 +00:00
SkSVGShape.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGStop.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGSVG.h [svg] Fix handling of root element position attributes 2021-01-20 19:13:17 +00:00
SkSVGText.h [svg] Cleanup text content model rules 2021-01-25 14:49:16 +00:00
SkSVGTransformableNode.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGTypes.h [svg] Handle unspecified filter effect inputs 2021-01-25 15:18:16 +00:00
SkSVGUse.h [svg] Fix <use> bounds calculation 2021-01-14 21:35:58 +00:00
SkSVGValue.h [svg] Initial mask plumbing 2021-01-13 17:23:24 +00:00