summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-26 15:45:40 -0700
committerDylan Baker <[email protected]>2017-11-28 14:06:38 -0800
commit43b0e5f5cd87b3ca4dc97a6373cbee1f1f129f06 (patch)
tree47ca49cc9047109bcd390480d6ec26dd680dd373 /src/gallium/targets
parenta537231b226280bc1e5b7f0f58707cbd2cf29848 (diff)
meson: build virgl driver
Build tested only. Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/dri/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 79dc046f896..323b337266f 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -127,6 +127,11 @@ if with_gallium_svga
gallium_dri_link_with += [libsvga, libsvgadrm]
gallium_dri_drivers += 'vmwgfx_dri.so'
endif
+if with_gallium_virgl
+ gallium_dri_c_args += '-DGALLIUM_VIRGL'
+ gallium_dri_link_with += [libvirgl, libvirgldrm, libvirglvtest]
+ gallium_dri_drivers += 'virtio_gpu_dri.so'
+endif
if with_gallium_radeonsi or with_gallium_r300 or with_gallium_r600
gallium_dri_link_with += libradeonwinsys