targets/libgl-xlib: add support for virgl

This allows testing virgl over vtest by setting GALLIUM_DRIVER=virpipe
when the X server uses a proprietary driver.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Tested-by: John Bates <jbates@chromium.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8888>
This commit is contained in:
Chia-I Wu 2021-02-05 14:57:39 -08:00 committed by Marge Bot
parent 75c7e4b2f8
commit c9bc23d27a
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ libvirgl = static_library(
[ files_libvirgl ],
gnu_symbol_visibility : 'hidden',
include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_virtio],
dependencies : [dep_libdrm, idep_mesautil],
dependencies : [dep_libdrm, idep_mesautil, idep_xmlconfig],
)
driver_virgl = declare_dependency(

View file

@ -52,7 +52,7 @@ libgl = shared_library(
libxlib, libws_xlib, libglapi_static,
libgallium, libmesa_gallium, gallium_xlib_link_with,
],
dependencies : [dep_thread, dep_clock, dep_unwind, driver_swrast, driver_swr],
dependencies : [dep_thread, dep_clock, dep_unwind, driver_swrast, driver_swr, driver_virgl],
install : true,
version : '1.5.0',
)