In dri3_get_supported_modifiers we were previously intersecting the drawable mods and the screen mods. This meant all screen mods were returned, but the ones compatible with the drawable were returned in the drawable mods list and the rest are returned in the screen mods list. This is a problem with linux_dmabuf v4 since the drawable mods may contain different mods not found in the screen mods (such as scanout entries). This change removes the intersection, and just returns the drawable/screen mod lists directly. Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> |
||
---|---|---|
.. | ||
dri3.c | ||
dri3.h | ||
dri3_priv.h | ||
dri3_request.c | ||
dri3_screen.c | ||
meson.build |