Skip to content

wayland/dma-buf: Only advertise supported formats

Robert Mader requested to merge rmader/mutter:issue2238 into main

Analogous to how we use eglQueryDmaBufModifiersEXT() to query supported modifiers, use eglQueryDmaBufFormatsEXT() to ensure we only advertise formats supported by both the compositor and the driver.

If there is no overlap, don't advertise zwp_linux_dmabuf_v1 at all.

Closes #2238 (closed)

Merge request reports

Loading