From: Jan-Simon Moeller Date: Wed, 20 Jan 2021 17:32:16 +0000 (+0100) Subject: Allow compositor be started using software rendering X-Git-Tag: 10.93.0~1 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl-demo.git;a=commitdiff_plain;h=f5e746f02956f8dc2cd480dd9ae9c0d7ad833b2c 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 --- 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