Bug 272667

Summary: [WPE] WPE Platform: change the API to get the preferred DMA-BUF formats
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WPE WebKitAssignee: Diego Pino <dpino>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bugs-noreply, dpino
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 265636    

Description Carlos Garcia Campos 2024-04-15 05:25:32 PDT
The initial API we added was very simple, just providing a single list of formats, usages and modifiers, but it turned out it was not so simple to iterate the formats, since we always want to iterate by tranche. Also, we want to handle the main and target devices in the future, so we need a new API that simplifies the iteration by tranche and includes the devices.
Comment 1 Carlos Garcia Campos 2024-04-15 05:32:07 PDT
Pull request: https://github.com/WebKit/WebKit/pull/27255
Comment 2 EWS 2024-04-16 04:50:43 PDT
Committed 277538@main (f78822d601b7): <https://commits.webkit.org/277538@main>

Reviewed commits have been landed. Closing PR #27255 and removing active labels.
Comment 3 Diego Pino 2024-04-17 00:38:02 PDT
The Debian 11 build bot is failing after this change because the function 'drmGetDeviceFromDevId' is not available. This function is available since libdrm-dev 2.4.109. Debian 11 features libdrm-dev 2.4.104.
Comment 4 Diego Pino 2024-04-17 00:38:36 PDT
Re-opening for pull request https://github.com/webkit/webkit/pull/27375
Comment 5 Diego Pino 2024-07-09 08:24:35 PDT
This change is no longer needed since we're no longer actively maintaining Debian 11. Distributions using Debian 11, or similar, should provide libdrm-dev >= 2.4.109.