xserver/dri3
Austin Shafer 9865a2321f dri3: Don't compute intersection with drawable modifiers
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>
2023-01-20 17:56:54 +00:00
..
dri3.c dri3: Include dix-config.h instead of xorg-config.h 2020-09-15 11:38:55 +02:00
dri3.h dri3: Switch fds_from_pixmap to stdint types. 2018-05-08 11:59:41 -04:00
dri3_priv.h dri3: Include dix-config.h instead of xorg-config.h 2020-09-15 11:38:55 +02:00
dri3_request.c dri3: Include dix-config.h instead of xorg-config.h 2020-09-15 11:38:55 +02:00
dri3_screen.c dri3: Don't compute intersection with drawable modifiers 2023-01-20 17:56:54 +00:00
meson.build meson: hide C API if Xorg is disabled (like autotools) 2021-03-11 00:22:36 +00:00