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
286291
[CoordinatedGraphics] Remove TextureMapperPlatformLayerProxy::swapBuffersIfNeeded
https://bugs.webkit.org/show_bug.cgi?id=286291
Summary
[CoordinatedGraphics] Remove TextureMapperPlatformLayerProxy::swapBuffersIfNe...
Carlos Garcia Campos
Reported
2025-01-21 04:45:59 PST
We don't need to call swapBuffersIfNeeded() during layer flush because prepareForDisplay is already called by Page::updateRendering right before the layer flush, so we can push the new buffer from there without having to install a swap buffer function in the proxy. For WebGL we already have prepareForDisplay in the graphics context, but for accelerated 2D canvas we need to add it to ImageBufferBackend.
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2025-01-21 04:48:43 PST
Pull request:
https://github.com/WebKit/WebKit/pull/39318
EWS
Comment 2
2025-01-23 03:13:46 PST
Committed
289282@main
(affcb2b627eb): <
https://commits.webkit.org/289282@main
> Reviewed commits have been landed. Closing PR #39318 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-01-23 03:14:18 PST
<
rdar://problem/143474778
>
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