Bug 240808

Summary: [GPU Process] [Filters] Make ImageBufferAllocator control the creation of the FilterImage buffers
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: 231253, 240269    

Description Said Abou-Hallawa 2022-05-23 09:02:02 PDT
ImageBufferAllocator is a new class which will be introduced to allow creating different ImageBuffer and PixelBuffer if the filter software appliers run in GPUProcess. The plan is to keep FilterImage allocate unaccelerated local ImageBuffer and PixelBuffer backed by Uint8ClampedArray in WebProcess. But make it allocate ImageBuffer backed by ShareableBitmap and PixelBuffer backed by SharedMemory in GPUProcess.
Comment 1 Radar WebKit Bug Importer 2022-05-30 09:02:12 PDT
<rdar://problem/94117817>
Comment 2 Said Abou-Hallawa 2022-06-02 01:50:49 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1234
Comment 3 EWS 2022-06-02 15:12:53 PDT
Committed r295149 (251238@main): <https://commits.webkit.org/251238@main>

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