Bug 257475
| Summary: | [GTK] Use three buffers for DMA-BUF renderer | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | WebKitGTK | Assignee: | Carlos Garcia Campos <cgarcia> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | Keywords: | Gtk |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Carlos Garcia Campos
Two buffers is not enough, because we might be rendering in the UI process with the buffer that is being used by the web process. The first time we render a frame in the UI process we notify the web process that the buffer has been painted and web process does a swap and starts rendering the next frame. If there's a web view redraw before the next frame message is received in the UI process we would be using the current web process back buffer to repaint.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/14474
EWS
Committed 265192@main (0e48ee99a1fc): <https://commits.webkit.org/265192@main>
Reviewed commits have been landed. Closing PR #14474 and removing active labels.