Bug 240810

Summary: [GPU Process] [Filters] Make FilterImage allocate shared memory if it is created in GPUProcess
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   
See Also: https://bugs.webkit.org/show_bug.cgi?id=241429
Bug Depends on:    
Bug Blocks: 231253, 240269    

Description Said Abou-Hallawa 2022-05-23 09:17:06 PDT
This will be done by subclassing 'PixelBuffer' to a new class named 'ShareablePixelBuffer' and subclassing 'ImageBufferAllocator' to a new class named 'ImageBufferShareableAllocator'. FilterResults takes a std::unique_ptr< ImageBufferAllocator> as input. It passes a reference to it to every FilterImage it creates. FilterImage will use it to create its buffers.
Comment 1 Radar WebKit Bug Importer 2022-05-30 09:18:13 PDT
<rdar://problem/94118129>
Comment 2 Said Abou-Hallawa 2022-06-03 15:17:10 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1291
Comment 3 EWS 2022-06-07 20:49:08 PDT
Committed r295372 (251380@main): <https://commits.webkit.org/251380@main>

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