r300: drop VDPAU support

There is no UVD and the mpeg2 shader-based decoding is broken and doesn't
lead to CPU savings anyway. VDPAU output works, but there is no real
benefit so just disable VDPAU altogether so we can clean the backend a
bit and also open a way to potentially drop the mpeg2 deconding altogether
from the fronted.

Acked-by: Filip Gawin <filip@gawin.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20524>
This commit is contained in:
Pavel Ondračka
2023-01-04 17:27:14 +01:00
committed by Marge Bot
parent 865e9311a2
commit a06ab9849d
2 changed files with 3 additions and 5 deletions

View File

@@ -526,7 +526,6 @@ endif
_vdpau_drivers = [
with_gallium_d3d12_video,
with_gallium_nouveau,
with_gallium_r300,
with_gallium_r600,
with_gallium_radeonsi,
with_gallium_virgl,
@@ -535,7 +534,7 @@ _vdpau_drivers = [
vdpau = get_option('gallium-vdpau') \
.require(system_has_kms_drm, error_message : 'VDPAU state tracker can only be build on unix-like OSes.') \
.require(with_platform_x11, error_message : 'VDPAU state tracker requires X11 support.') \
.require(_vdpau_drivers.contains(true), error_message : 'VDPAU state tracker requires at least one of the following gallium drivers: r300, r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video, virgl).')
.require(_vdpau_drivers.contains(true), error_message : 'VDPAU state tracker requires at least one of the following gallium drivers: r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video, virgl).')
dep_vdpau = dependency('vdpau', version : '>= 1.1', required : vdpau)
if dep_vdpau.found()