Bug 256318

Summary: [GPU Process][Filters] Make FilterFunction a RenderingResource
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   
Bug Depends on:    
Bug Blocks: 232845    

Description Said Abou-Hallawa 2023-05-04 10:19:19 PDT
This will allow caching the SVGFilter in GPU Process and will allow referencing it in DisplayList items by its RenderingResourceIdentifier. To do that RenderingResource has to not be a RefCounted. SVGFilter inherits FilterFunction which is a RefCounted. NativeImage, Gradient, DecomposeGlyphs and SVGFilter have to handle the ref-counted separate from RenderingResource.
Comment 1 Radar WebKit Bug Importer 2023-05-04 10:29:26 PDT
<rdar://problem/108900138>
Comment 2 Said Abou-Hallawa 2023-05-04 10:33:58 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13446
Comment 3 EWS 2023-05-08 13:42:07 PDT
Committed 263820@main (9a8998b85a0a): <https://commits.webkit.org/263820@main>

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