summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-03-30 11:00:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-31 17:52:59 +0100
commit90862733ed0da3738554cf51c35e687412840c5f (patch)
treeabd19c4970f21802e72c475bd856d0dfb712f7fc /meta/recipes-graphics
parent767a6fb13336afad00da693d4364e06d8b478da3 (diff)
downloadpoky-90862733ed0da3738554cf51c35e687412840c5f.tar.gz
weston: Add a knob to control simple clients
Some graphics driver implementations ( e.g sgx ) do not yet support APIs from mesa 21.x, and some portions of weston simple clients depend on these APIs, therefore introduce a way to specify all or a selection fo clients to build Fixes clients/weston-simple-dmabuf-feedback.p/simple-dmabuf- feedback.c.o: in function `create_dmabuf_buffer': | simple-dmabuf-feedback.c:(.text+0x1076): undefined reference to `gbm_bo_get_fd_for_plane' (From OE-Core rev: 400aae43d08f0b9f787ac0d21cb3c97058d76748) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/wayland/weston_10.0.0.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-graphics/wayland/weston_10.0.0.bb b/meta/recipes-graphics/wayland/weston_10.0.0.bb
index 8424b4d548..93f7b59659 100644
--- a/meta/recipes-graphics/wayland/weston_10.0.0.bb
+++ b/meta/recipes-graphics/wayland/weston_10.0.0.bb
@@ -45,6 +45,9 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayla
45 shell-fullscreen \ 45 shell-fullscreen \
46 shell-ivi" 46 shell-ivi"
47 47
48# Can be 'damage', 'im', 'egl', 'shm', 'touch', 'dmabuf-feedback', 'dmabuf-v4l', 'dmabuf-egl' or 'all'
49SIMPLECLIENTS ?= "all"
50
48# 51#
49# Compositor choices 52# Compositor choices
50# 53#
@@ -77,7 +80,7 @@ PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false"
77# colord CMS support 80# colord CMS support
78PACKAGECONFIG[colord] = "-Dcolor-management-colord=true,-Dcolor-management-colord=false,colord" 81PACKAGECONFIG[colord] = "-Dcolor-management-colord=true,-Dcolor-management-colord=false,colord"
79# Clients support 82# Clients support
80PACKAGECONFIG[clients] = "-Dsimple-clients=all -Ddemo-clients=true,-Dsimple-clients= -Ddemo-clients=false" 83PACKAGECONFIG[clients] = "-Dsimple-clients=${SIMPLECLIENTS} -Ddemo-clients=true,-Dsimple-clients= -Ddemo-clients=false"
81# Virtual remote output with GStreamer on DRM backend 84# Virtual remote output with GStreamer on DRM backend
82PACKAGECONFIG[remoting] = "-Dremoting=true,-Dremoting=false,gstreamer1.0 gstreamer1.0-plugins-base" 85PACKAGECONFIG[remoting] = "-Dremoting=true,-Dremoting=false,gstreamer1.0 gstreamer1.0-plugins-base"
83# Weston with screen-share support 86# Weston with screen-share support