Bug 263309 - [GTK] Use the buffer format preferred by the driver in DMA-BUF renderer
Summary: [GTK] Use the buffer format preferred by the driver in DMA-BUF renderer
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Garcia Campos
URL:
Keywords: Gtk
Depends on: 264880
Blocks:
  Show dependency treegraph
 
Reported: 2023-10-18 01:19 PDT by Carlos Garcia Campos
Modified: 2023-11-15 08:43 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.