Bug 240810 - [GPU Process] [Filters] Make FilterImage allocate shared memory if it is created in GPUProcess
Summary: [GPU Process] [Filters] Make FilterImage allocate shared memory if it is crea...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks: 231253 240269
  Show dependency treegraph
 
Reported: 2022-05-23 09:17 PDT by Said Abou-Hallawa
Modified: 2022-06-08 12:15 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.