diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-01-20 18:32:16 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-01-26 16:48:11 +0000 |
commit | f5e746f02956f8dc2cd480dd9ae9c0d7ad833b2c (patch) | |
tree | 31504bb55ffaea4285a514d4e78544ab48dfd4fa | |
parent | b8f6d6ee440714d37e2138a728d3e9a560791f2f (diff) |
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 <jsmoeller@linuxfoundation.org>
Change-Id: I4edb1a66284d60d4bae7e9f09f87b4268e2431df
-rw-r--r-- | recipes-graphics/wayland/weston-init_agldemo.inc | 2 |
1 files changed, 2 insertions, 0 deletions
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 |