Closed emersion closed 2 months ago
Should we also update the mapping between drm and PipeWire formats for all possible values?
I don't think there is a straightforward generic mapping for these, like there is for wl_shm
and DRM FourCC?
My idea was to manually update the conversion to formats available in PipeWire, but this can be done when needed.
Right, this patch is mostly intended as a cleanup to avoid unnecessary repetition and remove the need to maintain format lists for wl_shm
.
All formats except ARGB8888 and XRGB8888 are guaranteed to always match the DRM FourCC.