Bug 241577

Summary: [GPU Process] [Filters] Remove SVGFilterBuilder
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 2022-06-13 16:36:19 PDT
After r295498, all the methods of SVGFilterBuilder became static. So let's remove it and move its methods to SVGFilter.

This change will make SVGFilter and CSSFilter be very similar regarding the layout and the creation. CSSFilter::create() and SVGFilter::create() are responsible of creating the filters. And CSSFilter::calculateOutsets() and SVGFilter::calculateOutsets() can help knowing how much outsets they need to draw correctly.
Comment 1 Said Abou-Hallawa 2022-06-13 16:59:03 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1487
Comment 2 Radar WebKit Bug Importer 2022-06-13 19:03:53 PDT
<rdar://problem/95074247>
Comment 3 EWS 2022-06-13 23:33:48 PDT
Committed r295517 (251522@main): <https://commits.webkit.org/251522@main>

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