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 WebKit | Assignee: | 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 | ||
Carlos Garcia Campos
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/27255
EWS
Committed 277538@main (f78822d601b7): <https://commits.webkit.org/277538@main>
Reviewed commits have been landed. Closing PR #27255 and removing active labels.
Diego Pino
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.
Diego Pino
Re-opening for pull request https://github.com/webkit/webkit/pull/27375
Diego Pino
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.