Commit 5daf42b4 authored by Olivier Fourdan's avatar Olivier Fourdan 🛠 Committed by Olivier Fourdan
Browse files

xwayland: Set GLVND driver based on GBM backend name



With the GBM backend becoming usable with different drivers such as
NVIDIA, set the GLVND vendor to the same value as the GBM backend name.

Mesa implementation however returns "drm" so we need to special case
this value - Basically, for anything other than "drm" we simply assume
that the GBM backend name is the same as the vendor.
Signed-off-by: Olivier Fourdan's avatarOlivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <mdaenzer@redhat.com>
Reviewed-by: James Jones's avatarJames Jones <jajones@nvidia.com>
Tested-by: James Jones's avatarJames Jones <jajones@nvidia.com>
parent f1572937
Pipeline #417283 passed with stages
in 6 minutes and 58 seconds