2016-11-24 15:54:51 +00:00
|
|
|
# This option is not implemented:
|
|
|
|
# --with-cairo=[image|gl|glesv2] Which Cairo renderer to use for the clients
|
|
|
|
# It is hardcoded to cairo-image for now.
|
|
|
|
|
|
|
|
option(
|
|
|
|
'backend-drm',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Weston backend: DRM/KMS'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'backend-drm-screencast-vaapi',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'DRM/KMS backend support for VA-API screencasting'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'backend-headless',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Weston backend: headless (testing)'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'backend-rdp',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Weston backend: RDP remote screensharing'
|
|
|
|
)
|
2022-04-29 12:22:41 +00:00
|
|
|
option(
|
|
|
|
'rdp-thread-check',
|
|
|
|
type: 'boolean',
|
|
|
|
value: false,
|
|
|
|
description: 'Aggressive thread sanity checks for the RDP backend'
|
|
|
|
)
|
2016-11-24 15:54:51 +00:00
|
|
|
option(
|
|
|
|
'screenshare',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Compositor: RDP screen-sharing support'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'backend-wayland',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Weston backend: Wayland (nested)'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'backend-x11',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Weston backend: X11 (nested)'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'backend-default',
|
|
|
|
type: 'combo',
|
libweston: remove fbdev backend
Fbdev backend was deprecated in the Weston 10.0.0 release with
6338dbd5816689b2f08f48b359a972e16ff038d8. Before that, I suggested
already in 2019 to remove it, but it was too soon then. Now it seems the
final voices asking for fbdev to be kept have been satisfied, see the
linked issue.
Fbdev-backend uses a kernel graphics UAPI (fbdev) which is sub-par for a
Wayland compositor: you cannot do GPU accelerated graphics in any
reasonable way, no hotplug support, multi-output support is tedious, and
so on. Most importantly, Linux has deprecated fbdev a long time ago due
to the UAPI fitting modern systems and use cases very poorly, but cannot
get rid of it if any users remain. Let's do here what we can to reduce
fbdev usage.
I am doing color management related additions to libweston which require
adding checks to every backend. One backend less is less churn to write
and review.
Libweston major version has already been bumped to 11, so the next
release will be Weston 11, without fbdev. enum weston_compositor_backend
entries change their numerical values.
Fixes: https://gitlab.freedesktop.org/wayland/weston/-/issues/581
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2022-03-15 09:17:56 +00:00
|
|
|
choices: [ 'auto', 'drm', 'wayland', 'x11', 'headless' ],
|
2016-11-24 15:54:51 +00:00
|
|
|
value: 'drm',
|
|
|
|
description: 'Default backend when no parent display server detected'
|
|
|
|
)
|
|
|
|
|
|
|
|
option(
|
|
|
|
'renderer-gl',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Weston renderer: EGL / OpenGL ES 2.x'
|
|
|
|
)
|
|
|
|
|
|
|
|
option(
|
|
|
|
'xwayland',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Xwayland: support for X11 clients inside Weston'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'xwayland-path',
|
|
|
|
type: 'string',
|
|
|
|
value: '/usr/bin/Xwayland',
|
|
|
|
description: 'Xwayland: path to installed Xwayland binary'
|
|
|
|
)
|
|
|
|
|
|
|
|
option(
|
|
|
|
'systemd',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'systemd service plugin: state notify, watchdog, socket activation'
|
|
|
|
)
|
|
|
|
|
|
|
|
option(
|
|
|
|
'remoting',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Virtual remote output with GStreamer on DRM backend'
|
|
|
|
)
|
|
|
|
|
2019-04-23 10:34:05 +00:00
|
|
|
option(
|
|
|
|
'pipewire',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Virtual remote output with Pipewire on DRM backend'
|
|
|
|
)
|
|
|
|
|
2016-11-24 15:54:51 +00:00
|
|
|
option(
|
|
|
|
'shell-desktop',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Weston shell UI: traditional desktop'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'shell-fullscreen',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Weston shell UI: fullscreen/kiosk'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'shell-ivi',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Weston shell UI: IVI (automotive)'
|
|
|
|
)
|
2020-04-21 15:23:37 +00:00
|
|
|
option(
|
|
|
|
'shell-kiosk',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Weston shell UI: kiosk (desktop apps)'
|
|
|
|
)
|
2016-11-24 15:54:51 +00:00
|
|
|
|
|
|
|
option(
|
|
|
|
'desktop-shell-client-default',
|
|
|
|
type: 'string',
|
|
|
|
value: 'weston-desktop-shell',
|
|
|
|
description: 'Weston desktop shell: default helper client selection'
|
|
|
|
)
|
|
|
|
|
|
|
|
option(
|
|
|
|
'color-management-lcms',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
2021-03-29 11:11:49 +00:00
|
|
|
description: 'Compositor color management: Little CMS'
|
2016-11-24 15:54:51 +00:00
|
|
|
)
|
|
|
|
option(
|
|
|
|
'color-management-colord',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Compositor color management: colord (requires lcms)'
|
|
|
|
)
|
|
|
|
|
|
|
|
option(
|
|
|
|
'launcher-logind',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Compositor: support systemd-logind D-Bus protocol'
|
|
|
|
)
|
|
|
|
|
2020-10-21 19:36:57 +00:00
|
|
|
option(
|
|
|
|
'launcher-libseat',
|
|
|
|
type: 'boolean',
|
2022-03-04 09:20:16 +00:00
|
|
|
value: true,
|
2020-10-21 19:36:57 +00:00
|
|
|
description: 'Compositor: support libseat'
|
|
|
|
)
|
|
|
|
|
2016-11-24 15:54:51 +00:00
|
|
|
option(
|
|
|
|
'image-jpeg',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'JPEG loading support'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'image-webp',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'WebP loading support'
|
|
|
|
)
|
|
|
|
|
|
|
|
option(
|
|
|
|
'tools',
|
|
|
|
type: 'array',
|
|
|
|
choices: [ 'calibrator', 'debug', 'info', 'terminal', 'touch-calibrator' ],
|
|
|
|
description: 'List of accessory clients to build and install'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'demo-clients',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Sample clients: toytoolkit demo programs'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'simple-clients',
|
|
|
|
type: 'array',
|
2021-11-22 21:16:10 +00:00
|
|
|
choices: [ 'all', 'damage', 'im', 'egl', 'shm', 'touch', 'dmabuf-feedback', 'dmabuf-v4l', 'dmabuf-egl' ],
|
2016-11-24 15:54:51 +00:00
|
|
|
value: [ 'all' ],
|
|
|
|
description: 'Sample clients: simple test programs'
|
|
|
|
)
|
|
|
|
|
|
|
|
option(
|
|
|
|
'resize-pool',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Sample clients: optimize window resize performance'
|
|
|
|
)
|
|
|
|
option(
|
|
|
|
'wcap-decode',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Tools: screen recording decoder tool'
|
|
|
|
)
|
|
|
|
|
|
|
|
option(
|
|
|
|
'test-junit-xml',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Tests: output JUnit XML results'
|
|
|
|
)
|
2021-03-03 12:21:01 +00:00
|
|
|
option(
|
|
|
|
'test-skip-is-failure',
|
|
|
|
type: 'boolean',
|
|
|
|
value: false,
|
|
|
|
description: 'Tests: consider skip to be a failure'
|
|
|
|
)
|
2020-02-04 14:59:59 +00:00
|
|
|
option(
|
|
|
|
'test-gl-renderer',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description: 'Tests: allow running with GL-renderer'
|
|
|
|
)
|
2019-06-14 09:41:02 +00:00
|
|
|
option(
|
|
|
|
'doc',
|
|
|
|
type: 'boolean',
|
|
|
|
value: false,
|
|
|
|
description: 'Generate documentation'
|
|
|
|
)
|