Bug 263309

Summary: [GTK] Use the buffer format preferred by the driver in 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   
Bug Depends on: 264880    
Bug Blocks:    

Description Carlos Garcia Campos 2023-10-18 01:19:00 PDT
We currently use ARGB8888 unconditionally, assuming it will be supported by all drivers. We should query the driver for the list of supported formats and modifiers and create the GBM buffer with modifiers to make sure the optimal format and modifier is used.
Comment 1 Carlos Garcia Campos 2023-10-18 01:36:02 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19213
Comment 2 EWS 2023-10-22 05:37:39 PDT
Committed 269634@main (d3a9830bb678): <https://commits.webkit.org/269634@main>

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