WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
313217
[GTK][WPE] Skia Compositor: avoid copies when getting the SkImage of a tile
https://bugs.webkit.org/show_bug.cgi?id=313217
Summary
[GTK][WPE] Skia Compositor: avoid copies when getting the SkImage of a tile
Carlos Garcia Campos
Reported
2026-04-24 02:22:30 PDT
SkSurface::makeImageSnapshot() does a copy-on-write, but when the surface is wrapping an external texture, it always copies because it doesn't know if the texture will be modified externally. We know the texture won't change, so we can use our own cached image wihtout copying.
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2026-04-24 02:27:03 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/63512
EWS
Comment 2
2026-04-24 03:43:44 PDT
Committed
311937@main
(6961eee0cf14): <
https://commits.webkit.org/311937@main
> Reviewed commits have been landed. Closing PR #63512 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