[Webkit-unassigned] [Bug 231653] [TextureMapper] large blur filter doesn't look smooth

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 26 23:09:27 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=231653

--- Comment #5 from Fujii Hironori <Hironori.Fujii at sony.com> ---
FEGaussianBlurSoftwareApplier::boxBlurUnaccelerated is applying box-blur three times.
https://github.com/WebKit/WebKit/blob/a713d4c4e774133040e273ce5c2ec5e8ebf85e02/Source/WebCore/platform/graphics/filters/software/FEGaussianBlurSoftwareApplier.cpp#L302-L328

This is suggested by the spec:
https://drafts.fxtf.org/filter-effects/#feGaussianBlurElement

> For larger values of "s" (s >= 2.0), an approximation can be
> used: Three successive box-blurs build a piece-wise quadratic
> convolution kernel, which approximates the Gaussian kernel to
> within roughly 3%.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220627/0655fd1d/attachment.htm>


More information about the webkit-unassigned mailing list