WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
241127
ImageBuffer::copyImage consumes GPUP memory and is redundant
https://bugs.webkit.org/show_bug.cgi?id=241127
Summary
ImageBuffer::copyImage consumes GPUP memory and is redundant
Kimmo Kinnunen
Reported
2022-05-31 06:14:52 PDT
ImageBuffer::copyImage consumes GPUP memory and is redundant ImageBuffer::copyImage overrides: - Always ends up returning BitmapImage - Always ends up constructing BitmapImage from copyNativeImage - Is implemented erroneously in many backends, ignoring the preserve resolution scale flag - Is implemented correctly in ImageBufferCGBackend, but will allocate the destination buffer when trying to honour the PreserveResolution::No. This will cause a large unattributed allocation in GPUP
Attachments
Add attachment
proposed patch, testcase, etc.
Kimmo Kinnunen
Comment 1
2022-06-01 01:57:15 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/1204
Radar WebKit Bug Importer
Comment 2
2022-06-07 06:16:14 PDT
<
rdar://problem/94522061
>
EWS
Comment 3
2022-06-07 06:44:40 PDT
Committed
r295343
(
251359@main
): <
https://commits.webkit.org/251359@main
> Reviewed commits have been landed. Closing PR #1204 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug