Bug 256759

Summary: [GPU Process][Filters] Implement equality operator for FilterEffect
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Said Abou-Hallawa 2023-05-13 07:11:35 PDT
This will be needed when caching the FilterResults in GPUProcess. We need to identify the modified FilterEffects so we can clear their FilterImages. They will be regenerated when the filtered ImageBuffer is displayed.

The FilterEffect::operator==() will be virtual and will be overridden by all the superclasses. All the properties of the superclass and the properties of FilterEffect will be compared for equality.
Comment 1 Radar WebKit Bug Importer 2023-05-13 07:11:55 PDT
<rdar://problem/109303025>
Comment 2 Said Abou-Hallawa 2023-05-13 07:22:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13856
Comment 3 EWS 2023-05-13 12:20:41 PDT
Committed 264050@main (5f6cc633dcd4): <https://commits.webkit.org/264050@main>

Reviewed commits have been landed. Closing PR #13856 and removing active labels.