Bug 286291

Summary: [CoordinatedGraphics] Remove TextureMapperPlatformLayerProxy::swapBuffersIfNeeded
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: PlatformAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
Carlos Garcia Campos
Comment 1 2025-01-21 04:48:43 PST
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
Note You need to log in before you can comment on or make changes to this bug.