render/pixel_format: drop wlr_pixel_format_info.opaque_substitute

Move this away from struct wlr_pixel_format_info. The next commit
will generate the pixel_format_info table from kdfs, computing a
compatible opaque format needs to be done separately from
retrieving pixel format metadata (and is not yet supported).
This commit is contained in:
Simon Ser 2026-02-19 15:49:41 +01:00
parent 2d95d8d292
commit 34ffeaa4ef
2 changed files with 28 additions and 22 deletions

View file

@ -18,11 +18,6 @@
struct wlr_pixel_format_info {
uint32_t drm_format;
/* Equivalent of the format if it has an alpha channel,
* DRM_FORMAT_INVALID (0) if NA
*/
uint32_t opaque_substitute;
/* Bytes per block (including padding) */
uint32_t bytes_per_block;
/* Size of a block in pixels (zero for 1×1) */