Bug 240296

Summary: [GPU Process ] WebProcess should share the NativeImages with GPUProcess
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: ImagesAssignee: Said Abou-Hallawa <sabouhallawa>
Status: NEW ---    
Severity: Normal CC: bfulgham, sabouhallawa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ews-feeder: commit-queue-

Description Said Abou-Hallawa 2022-05-10 22:39:50 PDT
Currently WebProcess holds a local copy of every NativeImage in addition to the ShareableBitmap which it creates when sending this NativeImage to GPUProcess. This doubles the WebKit overall memory needed for NativeImages.
Comment 1 Said Abou-Hallawa 2022-05-10 22:42:02 PDT
Created attachment 459143 [details]
Patch
Comment 2 Said Abou-Hallawa 2022-05-10 22:45:17 PDT
rdar://93048534