Bug 286291
| Summary: | [CoordinatedGraphics] Remove TextureMapperPlatformLayerProxy::swapBuffersIfNeeded | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | Platform | Assignee: | 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
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
Pull request: https://github.com/WebKit/WebKit/pull/39318
EWS
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
<rdar://problem/143474778>