mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
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:
parent
865e9311a2
commit
a06ab9849d
2 changed files with 3 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ libvdpau_gallium = shared_library(
|
|||
link_with : link_with_libvdpau_gallium,
|
||||
dependencies : [
|
||||
idep_mesautil,
|
||||
driver_r300, driver_r600, driver_radeonsi, driver_nouveau, driver_d3d12, driver_virgl,
|
||||
driver_r600, driver_radeonsi, driver_nouveau, driver_d3d12, driver_virgl,
|
||||
],
|
||||
link_depends : vdpau_link_depends,
|
||||
soversion : '@0@.@1@.0'.format(VDPAU_MAJOR, VDPAU_MINOR),
|
||||
|
|
@ -65,8 +65,7 @@ libvdpau_gallium = shared_library(
|
|||
install_dir : vdpau_drivers_path,
|
||||
name_suffix : 'so',
|
||||
)
|
||||
foreach d : [[with_gallium_r300, 'r300'],
|
||||
[with_gallium_r600, 'r600'],
|
||||
foreach d : [[with_gallium_r600, 'r600'],
|
||||
[with_gallium_radeonsi, 'radeonsi'],
|
||||
[with_gallium_nouveau, 'nouveau'],
|
||||
[with_gallium_virgl, 'virtio_gpu'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue