WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
312532
RemoteImageBufferGraphicsContext::drawImageBuffer continually reallocate buffers
https://bugs.webkit.org/show_bug.cgi?id=312532
Summary
RemoteImageBufferGraphicsContext::drawImageBuffer continually reallocate buffers
Matt Woodrow
Reported
2026-04-16 18:26:39 PDT
RemoteImageBufferGraphicsContext::drawImageBuffer uses a temporary buffer when it detects a self-copy. If there are many of these, it pays the cost for allocating over and over. We should cache a single buffer to be reused, and free it if isn't used for a while.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-04-16 18:26:45 PDT
<
rdar://problem/174969976
>
Matt Woodrow
Comment 2
2026-04-16 18:30:38 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/62942
EWS
Comment 3
2026-04-17 17:50:40 PDT
Committed
311500@main
(61c4954ff80a): <
https://commits.webkit.org/311500@main
> Reviewed commits have been landed. Closing PR #62942 and removing active labels.
Mike Wyrzykowski
Comment 4
2026-04-28 09:58:33 PDT
Reopened Bugzilla. Magenta blocks on all blocks on YouTube video page, tracking revert in
https://bugs.webkit.org/show_bug.cgi?id=313553
.
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