From f6820bb2d1f0e987121ebec3010a98e4f70cbb08 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 9 Mar 2020 15:46:54 +0100 Subject: weston.ini: use g2d for soc which support g2d For apalis-imx8 this makes gst-play and the gstreamer playbin plugin automatically convert the tiling output of the vpu decoder to the video sink plugins requirement. Related-to: ELB-2351 Signed-off-by: Max Krummenacher (cherry picked from commit b5fd4d1e039ff265cdeb1f401d5c34a7110e31bd) (cherry picked from commit 0ab9b1dab586cb237a1f973abedc1edbb48202c8) --- recipes-graphics/wayland/weston-init.bbappend | 14 ++++++++++++++ recipes-graphics/wayland/weston_5.0.0.imx.bbappend | 1 - 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 recipes-graphics/wayland/weston-init.bbappend (limited to 'recipes-graphics') diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend new file mode 100644 index 0000000..c92a3c6 --- /dev/null +++ b/recipes-graphics/wayland/weston-init.bbappend @@ -0,0 +1,14 @@ +INI_UNCOMMENT_ASSIGNMENTS_append_mx8 = " \ + use-g2d=1 \ +" + + +uncomment() { + # already uncommented, do nothing + if ! (grep "^$1" $2); then + if ! (grep "^#$1" $2); then + bbfatal "Commented setting '#$1' not found in file $2" + fi + sed -i -e 's,^#'"$1"','"$1"',g' $2 + fi +} diff --git a/recipes-graphics/wayland/weston_5.0.0.imx.bbappend b/recipes-graphics/wayland/weston_5.0.0.imx.bbappend index 9cb3de2..ba8d20f 100644 --- a/recipes-graphics/wayland/weston_5.0.0.imx.bbappend +++ b/recipes-graphics/wayland/weston_5.0.0.imx.bbappend @@ -1,3 +1,2 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/weston:" -SRC_URI += "file://weston.ini" SRCREV = "73a26456e43b6d4f72f0a995d437590065cafb15" -- cgit v1.2.3