Bug 257475

Summary: [GTK] Use three buffers for DMA-BUF renderer
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2 Keywords: Gtk
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Carlos Garcia Campos 2023-05-30 03:10:47 PDT
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.
Comment 1 Carlos Garcia Campos 2023-05-30 03:14:17 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14474
Comment 2 EWS 2023-06-15 04:01:59 PDT
Committed 265192@main (0e48ee99a1fc): <https://commits.webkit.org/265192@main>

Reviewed commits have been landed. Closing PR #14474 and removing active labels.