xorg: initialize glamor provider

This allows Xorg to use Glamor GLX when Glamor is requested,
and eliminates usage of DRI2 in case of Glamor.

Signed-off-by: Konstantin Pugin <ria.freelander@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-by: Emma Anholt <emma@anholt.net>
This commit is contained in:
Konstantin Pugin
2022-07-21 00:49:13 +03:00
committed by Konstantin
parent a563f530f6
commit a987fc7c36
2 changed files with 12 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ shared_module(
dependency('libdrm', version: '>= 2.4.46'),
gbm_dep,
],
link_with: glamor,
link_with: [glamor, libxserver_glx],
install: true,
install_dir: module_dir,