backend-drm: Deprecate DRM VA-API recorder

The DRM backend has had a VA-API recorder for a while, which pushes the
frames from every redraw into libva for compositor-side recording.

Implementing this manually in the compositor, and configuring it, is
kind of pain. We now have the PipeWire backend which can do
screencasting in a much more flexible way without having to push
everything into the compositor itself, and without having to hardcode
support for one particular encoder framework.

Deprecate this module with the intention of removing it in the Weston 16
cycle, along with screenshare (for similar reasons).

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone 2025-10-27 14:52:22 +00:00 committed by Marius Vlad
parent 53895cac2f
commit 6d18e86b06
2 changed files with 5 additions and 4 deletions

View file

@ -65,7 +65,8 @@ if get_option('renderer-vulkan')
config_h.set('BUILD_DRM_GBM', '1')
endif
if get_option('backend-drm-screencast-vaapi')
if get_option('deprecated-backend-drm-screencast-vaapi')
warning('deprecated-backend-drm-screencast-vaapi enabled. This option will be removed in future versions.')
foreach name : [ 'libva', 'libva-drm' ]
d = dependency(name, version: '>= 0.34.0', required: false)
if not d.found()

View file

@ -9,10 +9,10 @@ option(
description: 'Weston backend: DRM/KMS'
)
option(
'backend-drm-screencast-vaapi',
'deprecated-backend-drm-screencast-vaapi',
type: 'boolean',
value: true,
description: 'DRM/KMS backend support for VA-API screencasting'
value: false,
description: 'DEPRECATED: DRM/KMS backend support for VA-API screencasting'
)
option(
'backend-headless',