summaryrefslogtreecommitdiffstats
path: root/meta-agl-flutter/recipes-graphics/toyota
AgeCommit message (Collapse)AuthorFilesLines
2023-12-12Add support wl_output version 4 and agl_shell v8Marius Vlad3-0/+596
This adds support for wl_output version 4 that allows to match an output name to a string that can be passed using gRPC APIs. With this it allows events being sent out by the compositor which the shell client can react upon. This can be seen as an intermediary step until flutter-homescreen from ICS gains (direct) support for gRPC to handle activation that way. Bug-AGL: SPEC-5004 Change-Id: I143c9dbbc044720c3dee642177d3ae175bfa9a75 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-11-09flutter-auto: apply Vivante workaround for NXP BSPScott Murray3-0/+30
Add flutter-auto bbappend back and use it to apply the patch provided in SPEC-4947 when building for NXP BSP platforms that use the Vivante driver. This fixes the crashes observed on imx8mq-evk-viv. Bug-AGL: SPEC-4947 Change-Id: I71786b037f1670e8188d6818a05cb98bc4c129a7 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-11-02Remove unused filesJoel Winarske3-39/+0
-bbappends have been moved upstream Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I7d65ba7b477b67a3e9601633bf4a09f4532fc0ce
2023-10-19flutter-auto: add rcar3 build fix patchScott Murray2-0/+36
Add the patch with the EGL 1.4 compatibility tweak required to build for rcar3 that was accidentally dropped in upstream rebasing. This should be able to dropped when the next update happens. Bug-AGL: SPEC-4937 Change-Id: I5635ab099e5e0bd7240f87f4060815829fb51ac0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-10-18Flutter 3.13.2 updateJoel Winarske3-330/+1
-README update -workspace-automation configs * _global.json - move to 3.13.2 * _repos.json - remove wonderous, update commits, add depot_tools * flutter-engine.json - flutter engine local build (optional) * desktop-auto.json - remove clang from desktop-auto config -flutter-engine recipe * remove bbappend patches -flutter-auto * update agl-shell PACKAGECONFIG addition * remove patches upstream picked up 0001-shell-wayland-display-Handle-flags-as-bitfield-entri.patch dropped 0001-Add-optional-agl_shell-plugin.patch Bug-AGL: SPEC-4936 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iddd7c0f735abb4d114ba89a8bf0e49977b469150
2023-07-20meta-agl-flutter/recipes-graphics/toyota: Hot fix for current modeMarius Vlad2-1/+40
The flags entry is bitmasked between preferred and current mode, which we didn't account at all. This adds a temporary patch to fix that until meta-flutter is updated with it. Bug-AGL: SPEC-4841 Change-Id: I930bbaed59e468803e16cbb2c72df440a0c30746 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-06-05flutter-auto: refresh agl-shell platform channel plugin patchScott Murray1-12/+10
Refresh our platform channel plugin patch to fix fuzz warnings after the latest flutter-auto update. Bug-AGL: SPEC-4819 Change-Id: I5b7a40235d3601d95fe7c6f07d2bfddb83bdba64 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-01Flutter bbclass refactorJoel Winarske1-52/+59
-remove use of bbclass runtime modes -use external automation-workspace repo Scott Murray: - update flutter-auto agl-shell platform channel plugin patch with reworked version from Marius Vlad. Bug-AGL: SPEC-4819 Change-Id: I7510f916ab70d8bab78fdb9ab235092f84c3713a Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-16meta-agl-flutter: Add option agl-shell plugin patch to embedderoctopus_14.91.0octopus/14.91.014.91.0Scott Murray2-0/+283
Add a patch to flutter-auto to add an optional agl_shell static plugin to expose the activate_app call from the agl-shell Wayland protocol that is used when running against the AGL compositor. This provides a way for a homescreen application to activate other application surfaces to switch between multiple applications as is needed for the AGL demo. A new PACKAGECONFIG option is defined to control enabling the plugin, and it is enabled by default in our build. Upstreaming this will be discussed with the Toyota team. Given the previous discussion about not picking up significant meta-flutter updates until after CES, it may be that the patch here is carried for a while. Bug-AGL: SPEC-4612 Change-Id: Ie8e06c88bbf082ee7dc5126dfb3b24b1bb8deabe Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-09-12meta-agl-flutter updatesJoel Winarske2-46/+0
-layer README -flutter workspace configuration file -consolidation of gallery json files -remove flutter sdk version pin; now happens upstream -add engine_sdk.zip to all images (non-production) -add SSH server to debug and profile images -factor out flutter-auto xdg-shell-app-id patch Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I6fdf1277bb4011126103f74eda5e230f34f497d7
2022-08-04meta-agl-flutter: Simplify AGL integrationScott Murray7-83/+44
Changes: - Remove Igalia homescreen and Pumped Fuel app recipes since they duplicate what is in meta-flutter. Now that there is a AGL Flutter demo image in meta-agl, any recipes or bbappends for apps should go there except for the flutter-gallery integration for agl-image-flutter (see below). - Move flutter-gallery systemd unit changes out of flutter-auto bbappend to a new flutter-gallery bbappend to simplify using flutter-auto on its own. To facilitate interoperation with the use of flutter-gallery in the agl-ivi-demo-platform-flutter image, the systemd files are split out into a -init package that has been added to agl-image-flutter. - Added back a reworked version of the app-id command-line option patch in the flutter-auto bbappend with the option changed to --xdg-shell-app-id per upstream request. This wil be submitted upstream as time permits. The merged patches that were deleted have been removed from SRC_URI. The intent of the above is to move to meta-agl-flutter just having the minimal set of changes to integrate flutter-auto with AGL use, with the agl-image-flutter image kept as a simple smoketest / example. Bug-AGL: SPEC-4485 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I171852820be404774d7580778643c801e8fad34f
2022-08-03meta-agl-flutter refactorJoel Winarske16-395/+82
- application rename -> flutter-auto - adopts upstream (meta-flutter) bbclass for runtime selection runtimedebug -> runtime=debug runtimeprofile -> runtime=profile runtimerelease -> runtime=release *This also affects image names* - A discrete json files for each runtime configuration demuxing of runtime config happens in bbappend. - prevent dev host conflict with flutter-auto.service in case of debug and profile. The dev host machine controls homescreen in these scenarios. - simplifies inc and recipes Dependent on https://gerrit.automotivelinux.org/gerrit/c/AGL/AGL-repo/+/27850 Bug-AGL: SPEC-4326 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I877811417e3befab4d48a906058dcb52c81be4ce
2022-07-29ivi-homescreen: improve AGL integrationScott Murray5-6/+357
Changes: - For now add local patches for three changes that Marius has submitted upstream that fix issues with respect to running as a normal application against agl-compositor and configuration via the JSON configuration file. The first of these patches has been merged upstream, but bumping the level of meta-flutter to get it brings other rework that it seems perhaps better to wait on a tagged upstream release for. - Add another patch to add a '--app-id' command-line option to the embedder. This avoids needing to use a JSON configuration file for simple (i.e. non-homescreen) applications when running multiple apps against agl-compositor. The use of the example JSON file for the ivi-homescreen recipe itself has been left alone for now since it provides a reference for doing so. - Rename the embedder binary from "homescreen" to "flutter" to avoid collision with the existing Qt homescreen application in meta-agl-demo. This allows integrating Flutter applications into images using the Qt homescreen for testing in the period while a Flutter replacement is worked on. Discussion about possibly renaming the embedder to something more generic along these lines has started with upstream. - Split the embedder binary into a separate package from the ivi-homescreen package that contains the systemd unit file. We do not want the "homescreen" systemd unit when using the embedder in other images that use applaunchd, so this split seems the most straightforward way to avoid pulling it in. - Remove installing the "homescreen" system level systemd unit, as it does not get used in agl-image-flutter (it is installed as a user unit instead). Bug-AGL: SPEC-4485 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9f02f4312cf8c77ab224a3de8114c7fc3f4f6d36
2022-07-20ivi-homescreen_aglflutter.inc: Add a config.json for the shell clientMarius Vlad2-2/+15
Since the last update to ivi-homescreen it requires a JSON configuration file. This one brings it to be able to bind to the agl-shell interface and use the app gallery as the background surface. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I7ec2c64308f028d7d25b3604bbe0cde32199aab9
2022-07-19meta-agl-flutter:Application updatesJoel Winarske1-3/+2
-upstream is now pinning ivi-homescreen -fix breaking change. Change --a to --b -adds test apps to images: secure storage, EGL texture, and video_player -adds Igalia homescreen to images -add Pumped Fuel ped recipe to images v2 (jsmoeller): fixup missing require in recipes v3 (jsmoeller): rework duplication in recipes and use BBCLASSEXTEND v4 (jsmoeller): add dependencies to application framework and pipewire v5 (jsmoeller): update agl-image-flutter to use new naming Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I924335eb2ceb9ad91944630b43b72a6fe296b98d
2022-06-06meta-flutter updatesJoel Winarske5-5/+1
-move flutter apps to common folder -move do_compile[network] to app recipe Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: Iac543d404ec5a56576998194687bd35dc61b68fc
2022-05-12flutter-gallery: Add network access workaroundMarius Vlad4-0/+4
This is a temporary work-around to have a flutter-gallery bbapend until external/meta-flutter is synced-up to include this fix. It allows flutter sdk to be able to download whatever dependencies it needs to build the gallery application. Bug-AGL: SPEC-4371 Suggested-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I676d5d2f5b8b5977bb7b4d745b94cfb53459ac8e
2022-05-04ivi-homescreen_aglflutter: Use the agl-session for starting upMarius Vlad1-4/+15
Bug-AGL: SPEC-4330 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id09825fe02c0cf39d36c19291bc89113770c2d34
2022-04-17meta-agl-flutter: Initial Kirkstone updatesScott Murray1-2/+7
Changes: - Unpin Flutter SDK tag and ivi-homescreen SRCREV to track the upstream development against kirkstone for now. This at least gets us to building an image. It seems likely that when the Needlefish release happens these may need to be pinned again for reproducibility. - Added a remove of the "gstreamer" option from the ivi-homescreen PACKAGECONFIG in the local bbappend. This avoids needing to enable "commercial" licenses to allow ffmpeg to be pulled in. This will likely need further investigation around just what pieces are needed for upstream, as currently Flutter video playback is tied to it. It may be that an AGL feature to enable commercial licenses specifically for this becomes necessary... Note that while the above does allow building agl-image-flutter, ivi-homescreen currently fails to start, so further investigation is required. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I40f0619a161c4ebe1f37dc840caf9bbd6bc95947
2022-03-11SRCREV override fixmarlin_12.93.0marlin/12.93.012.93.0Joel Winarske6-25/+20
-Lock ivi-homescreen version v2 (jsmoeller): consolidate and apply missing include file Bug-AGL: SPEC-4297 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I189d86b353c6a2f9c1691cc8186992887c25d547
2022-02-04Flutter updatesmarlin_12.92.0marlin/12.92.012.92.0Joel Winarske4-1/+25
- ivi-homescreen updates * 32-bit build support * EGL build time parameters * Remove build time dependency of libflutter_engine.so. Loads libflutter_engine.so at runtime. * Functional Mouse cursor plugin. Adds --t {theme name} CLI option * DEBUG Check fix for mouse * third party flutter source update * Re-work common code for plugins * Text plugin functional and enabled by default * Use check_ipo_supported to determine lto * Dart message callback -> print to stdout * Support building for iMX8/Vivante EGL * Use revised meta-flutter layout for defining systemd service - move to latest commit for Igalia Flutter Demo application Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: Icfb7292537b3300e3af778c4934551c5d93f1727
2021-12-09Add meta-agl-flutter layerJoel Winarske4-0/+5
- agl-image-flutter baseline agl-compositor based image that includes: ivi-homescreen - Toyota Flutter Embedder flutter gallery - Flutter Demo Application flutter_homescreen - Igalia Demo Application - flutter-app-homescreen - Igalia flutter_homescreen app - ivi-homescreen bbappend to lock SRCREV Bug-AGL: SPEC-3852 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: I58779ab093e9d23a88005e60ef28b9133eca2479