Bug 240296 - [GPU Process ] WebProcess should share the NativeImages with GPUProcess
Summary: [GPU Process ] WebProcess should share the NativeImages with GPUProcess
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-10 22:39 PDT by Said Abou-Hallawa
Modified: 2022-05-14 14:07 PDT (History)
5 users (show)

See Also:


Attachments
Patch (3.92 KB, patch)
2022-05-10 22:42 PDT, Said Abou-Hallawa
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

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