Bug 244940

Summary: [Filters] FilterImage should hold one form of the result image
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: NEW    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=242219
Bug Depends on:    
Bug Blocks: 242219    

Said Abou-Hallawa
Reported 2022-09-08 11:43:55 PDT
Usually the software image form of FilterImage is be converted to another form; e.g. ImageBuffer -> PixelBuffer. But we rarely need both forms of image. There are instances of filters where we fail to render the filtered image just because we cache more than form of the image of FilterImage. See the test case in bug 242219. So we should keep only one form of the image. And we can get the original form of the image from the new one if we want. This will reduce the memory needed to generate the software filtered image.
Attachments
Said Abou-Hallawa
Comment 1 2022-09-08 12:10:12 PDT
Radar WebKit Bug Importer
Comment 2 2022-09-15 11:44:23 PDT
Note You need to log in before you can comment on or make changes to this bug.