virgl is the 3D acceleration backend for the virtio-gpu
shipping with qemu.
+config BR2_PACKAGE_MESA3D_VDPAU
+ bool "Gallium VDPAU state tracker"
+ depends on BR2_PACKAGE_XORG7
+ depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \
+ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \
+ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI
+ select BR2_PACKAGE_LIBVDPAU
+ help
+ VDPAU state tracker (needs r600, radeonsi or nouveau gallium
+ drivers).
+
+comment "Gallium VDPAU state tracker needs X.org and gallium drivers r600, radeonsi or nouveau"
+ depends on !BR2_PACKAGE_XORG7 || \
+ !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \
+ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \
+ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI)
+
config BR2_PACKAGE_MESA3D_XVMC
bool "Gallium XvMC state tracker"
depends on BR2_i386 || BR2_x86_64
MESA3D_CONF_OPTS += -Dlibunwind=false
endif
-ifeq ($(BR2_PACKAGE_LIBVDPAU),y)
+ifeq ($(BR2_PACKAGE_MESA3D_VDPAU),y)
MESA3D_DEPENDENCIES += libvdpau
MESA3D_CONF_OPTS += -Dgallium-vdpau=true
else