summaryrefslogtreecommitdiffstats
path: root/meta-agl-flutter/recipes-graphics/toyota/flutter-auto_aglflutter.inc
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2024-10-31 10:45:46 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-11-04 09:45:22 +0000
commitd26651f556470efecbb52d95c65690bd7fb50f25 (patch)
treea299b493673252fd1e309840faf72537a53e5e41 /meta-agl-flutter/recipes-graphics/toyota/flutter-auto_aglflutter.inc
parentc4edb8b167b07b26b92517c58544bb6cbb817644 (diff)
backend/wayland_egl: Add a fallback eglConfig
On agl-kvm-guest and agl-rdp, flutter-auto with its eglConfig will have a black image as opposed to regular one. This is a work-around by using a fallback eglConfig until flutter-auto gains some sort of heuristic choosing between the eglConfig available and pick one that can work. Bug-AGL: SPEC-5260 Change-Id: I1f9f95d2bba1d218b9b1fb12ff11df3209dc2e03 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30477 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-flutter/recipes-graphics/toyota/flutter-auto_aglflutter.inc')
-rw-r--r--meta-agl-flutter/recipes-graphics/toyota/flutter-auto_aglflutter.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-agl-flutter/recipes-graphics/toyota/flutter-auto_aglflutter.inc b/meta-agl-flutter/recipes-graphics/toyota/flutter-auto_aglflutter.inc
index 54b834922..6c1503024 100644
--- a/meta-agl-flutter/recipes-graphics/toyota/flutter-auto_aglflutter.inc
+++ b/meta-agl-flutter/recipes-graphics/toyota/flutter-auto_aglflutter.inc
@@ -1,6 +1,8 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
+EGLCONFIG_FALLBACK = "${@bb.utils.contains_any('AGL_FEATURES', 'agl-rdp agl-kvm-guest', '', 'file://0001-backend-wayland_egl-Add-a-fallback-eglConfig.patch', d)}"
SRC_URI:append:use-nxp-bsp = " file://0001-Disable-on_frame_base_surface-wl_surface_commit.patch"
+SRC_URI:append = " ${EGLCONFIG_FALLBACK}"
# Disable WIP webview plugin on 32-bit ARM platforms for now, as build
# failures have been seen on qemuarm and beaglebone.