[webkit-changes] [WebKit/WebKit] dae05a: [Filters] Manage applying the SVGFilter using Filt...
Said Abou-Hallawa
noreply at github.com
Tue Nov 29 17:12:36 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dae05ac9cd872cb362ff1df8949b71fce4fe3541
https://github.com/WebKit/WebKit/commit/dae05ac9cd872cb362ff1df8949b71fce4fe3541
Author: Said Abou-Hallawa <said at apple.com>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M Source/WebCore/platform/graphics/filters/FilterStyleTargetSwitcher.h
M Source/WebCore/rendering/svg/RenderSVGResourceFilter.cpp
M Source/WebCore/rendering/svg/RenderSVGResourceFilter.h
Log Message:
-----------
[Filters] Manage applying the SVGFilter using FilterTargetSwitcher
https://bugs.webkit.org/show_bug.cgi?id=248354
rdar://102674910
Reviewed by Simon Fraser.
FilterTargetSwitcher will be used to apply the SVGFilter. It will replace the
sourceImage of FilterData. GraphicsContext filters will be used if
FilterTargetSwitcher::create() decides to create FilterStyleTargetSwitcher.
Unlike the CSSFilter, the SVGFilter does not require clipping the drawingContext
before drawing since it draws the whole filtered image in one time.
* Source/WebCore/platform/graphics/filters/FilterStyleTargetSwitcher.h:
* Source/WebCore/rendering/svg/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::applyResource):
(WebCore::RenderSVGResourceFilter::postApplyResource):
* Source/WebCore/rendering/svg/RenderSVGResourceFilter.h:
Canonical link: https://commits.webkit.org/257151@main
More information about the webkit-changes
mailing list