Bug 261101
Summary: | [TextureMapper] Shrink texture before applying large radius blur | ||
---|---|---|---|
Product: | WebKit | Reporter: | Akihiro Kiuchi <aki.develop8128> |
Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | kdwkleung, 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=261870 | ||
Bug Depends on: | |||
Bug Blocks: | 231653, 261102 |
Akihiro Kiuchi
This is a sub issue of https://bugs.webkit.org/show_bug.cgi?id=231653
As Bug231653 pointed out, current blurring causes a mosaic artifacts when the blur radius is large.
The promissing solution is to shrink the texture before applying blur filter and expand again, which seems a common technique and skia uses it as well.
ref: https://github.com/google/skia/blob/0f9e50daa87997d376bf5fb60b06ab5b15c63ed9/src/gpu/ganesh/GrBlurUtils.cpp#L2580-L2586.
This is the main sub issue of Bug231653 but separeted from Bug231653 because But231653 will includes additional refactoring issue and performance issue.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Akihiro Kiuchi
Pull request: https://github.com/WebKit/WebKit/pull/17419
EWS
Committed 267646@main (57b05d82091b): <https://commits.webkit.org/267646@main>
Reviewed commits have been landed. Closing PR #17419 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/115004547>