Summary: | [TextureMapper] large blur filter doesn't look smooth | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||
Component: | Platform | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | aki.develop8128, cgarcia, kdwkleung, smoley, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=87695 | ||||||
Bug Depends on: | 261022, 261101, 261102 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Fujii Hironori
2021-10-12 19:02:56 PDT
Thanks for filing, the attached test case and the linked page both look smooth for me on Safari Technology Preview 134. Are you seeing this issue there as well? TextureMapper is used only by GTK, WPE, WinCairo and PlayStation ports. Created attachment 452789 [details]
test case
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%. I will tackle this issue under mentorship of Fujii-san. All sub tasks have been resovled. No more remaining tasks. Closed. Could you add a link here to the PR fixing this issue? https://github.com/WebKit/WebKit/pull/17419 fixed the pixelated problem. https://github.com/WebKit/WebKit/pull/17471 is a speed up Gaussian blur filtrer. Thanks, great job! |