Bug 242359

Summary: [Filters] Implement no-op filters
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, dino, letmespellitoutforyou, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 231253    

Description Said Abou-Hallawa 2022-07-05 13:35:16 PDT
We should only draw the sourceImage is the whole filter chain is Noop (no-operation). At least This will save us from duplicating the sourceImage for SourceGraphic.

Are Noop filters common? Yes some pages may initially display their images blurred then decrease the blur radius to zero through animation. So every time these images are displayed after that will be displayed as filtered images even the applied filter has no effect.
Comment 1 Said Abou-Hallawa 2022-07-05 13:47:50 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2092
Comment 2 Radar WebKit Bug Importer 2022-07-12 13:36:20 PDT
<rdar://problem/96907495>
Comment 3 EWS 2022-08-03 20:07:13 PDT
Committed 253098@main (4ac8e180ed02): <https://commits.webkit.org/253098@main>

Reviewed commits have been landed. Closing PR #2092 and removing active labels.
Comment 4 Said Abou-Hallawa 2023-06-06 13:44:14 PDT
*** Bug 114032 has been marked as a duplicate of this bug. ***
Comment 5 Said Abou-Hallawa 2023-06-06 13:44:36 PDT
*** Bug 165110 has been marked as a duplicate of this bug. ***