xserver/hw
José Expósito 4f8e209d2c xwayland/glamor/gbm: Set GBM_BO_USE_LINEAR if only LINEAR modifier is supported
Some drivers might not support explicit format modifiers. On these
drivers `gbm_bo_create_with_modifiers()` will fail and the
`gbm_bo_create()` code path will be used instead.

In this case, if the LINEAR modifier is advertised (and the INVALID
modifier is not) add the `GBM_BO_USE_LINEAR` flag.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1438
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: José Expósito's avatarJosé Expósito <jexposit@redhat.com>
(cherry picked from commit 287638db59)
2023-10-12 09:39:31 +02:00
..
vfb Don't install Xvfb 2023-07-18 12:52:07 +00:00
xwayland xwayland/glamor/gbm: Set GBM_BO_USE_LINEAR if only LINEAR modifier is supported 2023-10-12 09:39:31 +02:00
meson.build Drop Xephyr / kdrive DDX 2023-07-18 12:52:07 +00:00