Bug 272667 - [WPE] WPE Platform: change the API to get the preferred DMA-BUF formats
Summary: [WPE] WPE Platform: change the API to get the preferred DMA-BUF formats
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Diego Pino
URL:
Keywords:
Depends on:
Blocks: WPEPlatformAPI
  Show dependency treegraph
 
Reported: 2024-04-15 05:25 PDT by Carlos Garcia Campos
Modified: 2024-07-09 08:24 PDT (History)
2 users (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 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.