From f5e746f02956f8dc2cd480dd9ae9c0d7ad833b2c Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Wed, 20 Jan 2021 18:32:16 +0100 Subject: Allow compositor be started using software rendering This allows to produce working images without restricted licenses. Software rendering will be slow and screen updates take a while. Bug-AGL: SPEC-3774 Signed-off-by: Jan-Simon Moeller Change-Id: I4edb1a66284d60d4bae7e9f09f87b4268e2431df --- recipes-graphics/wayland/weston-init_agldemo.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-graphics') diff --git a/recipes-graphics/wayland/weston-init_agldemo.inc b/recipes-graphics/wayland/weston-init_agldemo.inc index a5eeab6c6..2ee4cecdb 100644 --- a/recipes-graphics/wayland/weston-init_agldemo.inc +++ b/recipes-graphics/wayland/weston-init_agldemo.inc @@ -3,10 +3,12 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/weston-init:" inherit agl-graphical AGL_DEFAULT_WESTONSTART ??= "/usr/bin/agl-compositor --config ${sysconfdir}/xdg/weston/weston.ini" +WESTON_USE_PIXMAN ??= "0" WESTONSTART ??= "${AGL_DEFAULT_WESTONSTART} ${WESTONARGS}" WESTONSTART_append = " ${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", " --log=${DISPLAY_XDG_RUNTIME_DIR}/compositor.log", "",d)}" WESTONSTART_append = " ${@bb.utils.contains("DISTRO_FEATURES", "agl-devel", " --debug", "",d)}" +WESTONSTART_append = " ${@bb.utils.contains("WESTON_USE_PIXMAN", "1", " --use-pixman", "",d)}" # Systemd name of DRM device to have weston/agl-compositor startup depend # upon, if required. Currently only x86-64 seems to need a dependency to -- cgit 1.2.3-korg