aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland
AgeCommit message (Collapse)AuthorFilesLines
2021-01-12weston-init_agldemo: Enable debug option for agl-compositorMarius Vlad1-0/+1
We only enable it conditionally if agl-devel is distro feature is on, as it might be seen as a security hole. This helps CI to take screenshots. Bug-AGL: SPEC-3752 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I3731b19b557fca3d7e00906a37355db3e9f7b8d0
2020-12-17SPEC-3723: restructure meta-agl-demoJan-Simon Moeller9-0/+104
All demo related components should be in here now. We keep the packagegroups on purpose for now to stay backward-compatible. v2: layer does pass yocto-check-layer, dependencies adapted v3: remove the dynamic-layer setup, use all-in-one approach v4: Fixed comments from Paul Barker. Tnx! v5: Removed wayland/weston/agl-compositor additions, except for demo specific weston-init bbappend Follow-up changes required later: - massaging packagegroups - scrub of recipes Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I47cefd8c23d46b2cdd063470e3f7d97d5ad952d8
2018-12-20Remove weston-ivi-extensionScott Murray5-690/+0
Remove weston-ivi-extension recipe files, as they are being moved to the meta-agl-profile-graphical layer in the meta-agl repository. This allows using weston-ivi-extension in images other than agl-demo-platform. Bug-AGL: SPEC-1730 Change-Id: I31af55b4b0a6233b955688f888b42c4861385188 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-10-17wayland-ivi-extension: Added ivi-id-agent by mteyMichael Teyfel5-295/+646
As explained in further discussions, the simple-id-agent is a basic example for reference. This commit adds the ivi-id-agent [1]. It is still a reference implementation but already offers more features (like configurations) that should be desirable for AGL. [1] https://github.com/mtey/wayland-ivi-extension/commits/xdg_support_ivi_id_agent Change-Id: I041b81b480be8fd49fded9d9c9824a0dbb3b568f Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
2018-10-17Clean-up of wayland-ivi-extension_1.13.0 related legacy stuffMichael Teyfel9-576/+0
Since the agl demo is now using wayland-ivi-extension v2.0.2 everything related to v1.13.0 should be removed. That means all bitbake recipes and also the used patch files. Change-Id: I4a8124df464ad92f5dd4224887be5119f52621ef Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
2018-06-26Add simple-id-agent for wayland-ivi-extension 2.0.2zheng_wenlong2-0/+295
Add a subdirectory id-agent-modules for simple-id-agent. And load this library in ivi-controller. These codes are copy from this commit create by Emre Ucan. This commit is from meta-agl and can not cherrypick to meta-agl-demo. So copy it and create a new patch, change a litte line number to 0002. https://gerrit.automotivelinux.org/gerrit/#/c/11991/ 0001-simple-id-agent-initial-commit.patch 0002-ivi-controller-load-id-agent-module.patch Change-Id: I5e5278c9b6b536681ba0665e8549f98d75d69245 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Signed-off-by: Emre Ucan <eucan at de.adit-jv.com> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Tadao Tanikawa <taniakwa.tadao@jp.panasonic.com>
2018-06-053rd part of the layer/profile rework [2/2]Jan-Simon Möller11-0/+620
This is the last part of the layer rework series. Notable changes are: - move demo specific recipes to the demo (dlt, web-runtime mocca-usb) - wayland-ivi-extension moved to the meta-agl-demo layer for now. - web-runtime moved here (from appfw layer to allow console-only builds with appfw) - adapted packagegroups and agl-features v2: squashed with commit on sandbox to form single commit (tnx, Scott) v3: inclusion of old packagegroup-agl-image-ivi (TODO: refactor and include in profile packagegroups. Tnx, Stephane) v4: base packagegroup-agl-demo-platform on packagegroup-agl-profile-graphical-qt5 v5: fix MOST_DRIVERS_append (disable due to FTBS) v6: re-add RDEPENDS for virtual/pulseaudio-config Bug-AGL: SPEC-145 Bug-AGL: SPEC-1422 Change-Id: I20bd5b9a957ea54a7ecd08bd4f8b99a32266c9c8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-282nd part of the layer/profile rework [2/2]Jan-Simon Möller6-127/+0
Main goal of this is to move the agl-service-* bindings into the core and to unify common recipes like wayland/weston into meta-agl-profile-graphical. As a placeholder for recipes is meta-agl-profile-demo which are being reshuffled. TLDR: remove recipes from meta-agl-demo that were moved to other layers Bug-AGL: SPEC-145 , SPEC-876 , SPEC-877 v2: moving updated udisks changes to meta-agl Change-Id: I873107f00adadeb6f3f266cce37b513fe6d44cf2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-13Remove weston virtual screenronan5-5015/+0
Change-Id: I027a46a0cbe2ff3c46102d781158e2a979c07282 Signed-off-by: ronan <ronan.lemartret@gmail.com>
2017-12-11weston-ini-conf: Fix test of DISTRO_FEATUREJosé Bollo1-2/+2
The condition now depend of DISTRO_FEATURE (was always true before). Because the condition was badly evaluated the line "virtual=1" was always generated driving weston to crash. Change-Id: I74e3ee90d086224f358dff74183b67e7dbbf3d9f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-12-08weston-ini-conf: Add virtual display and record for CES2017 demoHarunobu Kurokawa2-0/+22
In order to support IVI-Cluster demo, virtual display and gst-recorder parameter are set in weston.ini. If you want to use virtual output system, set "virtual-display" in DISTRO_FEATURES. Then the sample value is enabled. If you want to use transfer system to multi ECU via H.264, set "gst-record" in DISTRO_FEATURES. This feature is commited to DD[1]. After that he weston-ini-conf is updated. This commit is same result as that time. Note: These system are supported in R-Car M3 and H3 only. [1] https://gerrit.automotivelinux.org/gerrit/#/c/9907/ [2] https://gerrit.automotivelinux.org/gerrit/#/c/10847/ Change-Id: I1f7b9af5dc0e459aa49d336ed5ba0cebaf8adab2 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-11-22Upgrade to 1.x for ivi-extensionsRomain Forlot1-0/+0
Bugs-AGL: SPEC-1096 Change-Id: I19cd92742d7808cb3d5cd94860051b4e7fb01d10 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-19weston-ini-conf.bbappend: DeleteTom Rini1-6/+0
This is no longer relevant. Bug-AGL: SPEC-964 Change-Id: Iec7a497b3c207c72280fb99061c2b2e28141820a Signed-off-by: Tom Rini <trini@konsulko.com>
2017-09-19Add gst-recorder implementation for weston2.0.0Harunobu Kurokawa6-0/+5016
This commit support virtual display and gst-recorder function for weston2.0.0. It is update patch for weston 2.0.0 and based on 562c0c1bb2ef74ccbfda1bae4f84a61828119674 Virtual display is additional display like as offscreen buffer and it is created from drm-backend. The gst-recorder is a transfer system using H.264 streaming and Ethernet. Change-Id: I1e1b07701229d47ab6616e85d78c6aa039a0775b Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-09-18Revert "Add gst-recorder implementation"Stephane Desneux5-4908/+0
This reverts commit 562c0c1bb2ef74ccbfda1bae4f84a61828119674. Conflicts: recipes-graphics/wayland/weston_%.bbappend Change-Id: I7b6e5a3969fc89c8279d47aaaf4f68a7544a181b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-09-18Revert "weston: Fix gst-record uses MONOTONIC time for IVI-Cluster system"Stephane Desneux2-65/+0
This reverts commit 20a872eee504c3826e02d153b1087bd4d077a1db. Change-Id: I85667d28138d6428aa96e90f70512fb151e4b299 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-09-15Revert "weston.ini: Add virtual display and record for CES2017 demo"Stephane Desneux1-25/+0
This reverts commit 077a0ef0ac094442ba5da0bd9f3f373c909d155f. Change-Id: Ieff670a423a5119ff6b907274d47144c3f66dd1b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-09-06Upgrade to pyroChanghyeok Bae3-27/+35
wayland-ivi-extension: Arrange recipe - Remove unecessary variable in PACKAGECONFIG - Arrange test-path.patch to upgrade wayland-ivi-extension qtbase: Fix build error due to binutils 2.28 bug - gold linker from binutils 2.28 may produce duplicate library symbols, which makes shared libraries created with it not usable with conventional ld linker. - See https://bugs.freebsd.org/bugzilla/attachment.cgi?id=183069&action=diff weston: Change recipe version libdbus-c++: Remove recipe and add bbappend file - meta-openembedded (pyro) already has same version. - Remove PNBLACKLIST[libdbus-c++] to use this component. packagegroups / agl-demo.inc : - move inclusion of qtwebkit out of agl-demo.inc into packagegroup-agl-demo - this fixes an inclusion bug Bug-AGL: SPEC-646 Change-Id: Ia71d5f4dc881f0d8f8f24a5574c9efc0f2da6245 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2017-08-31Fix dependency issue of weston for m3ulcbTadao Tanikawa1-0/+2
There is missing dependency to gstreamer for weston on which the gst-recorder pathces applied. This sometimes caused error while configuration to build. Bug-AGL: SPEC-788 Change-Id: I602185e95e8085ceccfb3259534b88a72fcfc5bf Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-07-06weston.ini: Add virtual display and record for CES2017 demoHarunobu Kurokawa1-0/+25
In order to support IVI-Cluster demo, set virtual display and gst-recorder parameter in weston.ini. v2: If you want to use virtual output system, set "virtual-display" in DISTRO_FEATURES. Then the sample value is enabled. If you want to use transfer system to multi ECU via H.264, set "gst-record" in DISTRO_FEATURES. Note: These system are supported in R-Car M3 only. Change-Id: Ia782d3bc7079c38f30be52c1f6f152d55e1d2e17 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-06-15weston: Fix gst-record uses MONOTONIC time for IVI-Cluster systemHarunobu Kurokawa2-0/+65
gst-record plugin uses gettimeofday to adapt gst buffer duration. When WLAN network access internet, system timer is changed by NTP, then the gst plugin system stopped. This patch change to use MONOTONIC timer to detect buffer time frame. -- The patch is same as https://gerrit.automotivelinux.org/gerrit/#/c/9417/ Change-Id: I2761b0f9dc3bed58d8556966acc54f9dc13d0556 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-06-15Add gst-recorder implementationDamian Hobson-Garcia5-0/+4906
Adapted from the Gen2 implementation to work on Gen3. Bug-AGL: SPEC-559 Change-Id: I8ec71354b0dee04277c6bf74c62956280b84b4fb Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-03-30Generate weston.ini dynamicallyRonan Le Martret1-0/+6
* bbappend on new package weston-ini-conf * for agl-demo, weston.ini must use ivi-shell.so Bug-AGL: SPEC-477 Change-Id: I3356900adfc166381dc01a158233348183a1c6db Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-22Removed wl-shell-emulator from AGLRonan Le Martret4-585/+0
Since CES2017, AGL doesn't use 'layer-add-surfaces' command. wl-shell-emultor.so is only required by 'layer-add-surfaces'. So we can remove wl-shell-emultor from AGL. Bug-AGL: SPEC-341 Change-Id: Icfaf91de624ed89e9640a9daf1a92b5de8912863 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-21Remove forward port for westonRonan Le Martret9-392/+5
* The forward port on weston is now merged in weston upstream * fix the patch 0001-weston-patch-for-wl-shell-emulator.patch for weston 1.11 patch -> commit id from upstream 0001-ivi-shell-fix-TODO-which-expects-only-one-screen-in-.patch b216c92d4d19d4b88817d088038de90f3d95ec06 0002-ivi-shell-avoid-inserting-a-ivi_layer-to-multiple-sc.patch 77b0ee18a2e02e6084ece3d04914f7e8f4c6dcb9 0003-ivi-shell-fix-layout_layer.view_list-is-not-initiliz.patch fbfa8f21f91dfd1a1d85f9c6b039fe893a36e69b 0004-ivi-shell-remove-a-code-which-expects-only-a-screen-.patch 747c3865ab7bf8defc7a0cacf148b547c949f303 0005-ivi-shell-multi-screen-support.-ivi_layout_screen-to.patch b4cb25dc261375bad87d1c1dd058b9716009e6fb 0006-ivi-shell-transforming-from-a-single-screen-coordina.patch 29babdf099fee228883ab6425811f11135296274 0007-RFR-ivi-shell-multi-screen-support-to-calcuration-of.patch 1c2618e9ff58d355714bcdde61f87a6e918f3059 Bug-AGL: SPEC-411 Change-Id: I58a23f3fe4046ef2befb594bf0f76f34c4d15312 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-21Update wayland-ivi-extension to 1.11.0 Jan-Simon Moeller3-93/+18
* remove unused recipes wayland-ivi-extension 1.5.0 * fix patch 0001-wayland-ivi-extension-patch-for-wl-shell-emulator.patch for the new version 1.11.0 of wayland-ivi-extension. Bug-AGL: SPEC-411 jsmoeller: readd after accident. early merge & revert Change-Id: I34add4548497a8f7105a9e635a953a98e2780e8c Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-03-18Temporarily revert Update wayland-ivi-extension to 1.11.0 from seriesJan-Simon Moeller3-18/+93
jsmoeller: I merged this one too early. We need to merge the whole series. Revert "Update wayland-ivi-extension to 1.11.0" This reverts commit 8ec9bc64f6bf1fb5b4208050392d2b1011c02222. Change-Id: If5c0228c7cab6a9c2576abd76feaae59bffab781 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-03-17Update wayland-ivi-extension to 1.11.0Ronan Le Martret3-93/+18
* remove unused recipes wayland-ivi-extension 1.5.0 * fix patch 0001-wayland-ivi-extension-patch-for-wl-shell-emulator.patch for the new version 1.11.0 of wayland-ivi-extension. Bug-AGL: SPEC-411 Change-Id: Icb9d7b40bfdd6a2df20cc2916ff0325dc31afab6 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2016-12-23ivi-shell multi screen supportToshi Umemura8-0/+388
This patch enables ivi-shell to manage multi screen. This solves SPEC-360 ivi-shell fails to manage two screens. CES2017 cluster demo also requires multi screen support. Bug-AGL: SPEC-360 Change-Id: Ie0f71855af70de28068cb9deee1a6c415eaea88e Signed-off-by: ynakamura <ynakamura@jp.adit-jv.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2016-07-08Enable ivi-input-contoller.so in meta-agl-demoTadao Tanikawa1-1/+1
This enable to deliver key events to applications running on ivi-shell. It requires ivi-input-controller.so and control keyboard focus explicitly. For that, wayland-ivi-extension should be configured with '-DWITH_ILM_INPUT=1' and built. This patch is needed because of wayland-ivi-extension_*.bbappend take over PACKAGECONFIG defined in wayland-ivi-extension.bb in meta-agl. Change-Id: Ie9664baa2cd10692b36790adf7cd0cca150fd35f Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-05-06Provide patched Wayland-IVI-Extension to work with patched Weston from ↵Andre Moreira Magalhaes (andrunko)1-0/+28
meta-agl-demo. This change adds support for Wayland IVI Extension 1.9.1 (latest stable release) to work against the patched weston from meta-agl-demo. It should not be used when using a stock/unpatched weston. Wayland-IVI-Extension provides an additional shell plugin for IVI-Shell, along with command-line tools and demonstration applications. More info at http://projects.genivi.org/wayland-ivi-extension. Change-Id: Id74c164eace0cb54d367eda743982bb8baf5d523 Signed-off-by: Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>
2016-03-14Remove Weston 1.8.0-specific IVI-Shell patchManuel Bachmann2-209/+0
As we are now using Weston 1.9.0 and CES demo timeline is far away, let us remove this ad hoc patch. Change-Id: I6ea9c425c5bb3740915a7d41c80270a42ad7a6db Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-18Relax version specification for weston patchJan-Simon Möller1-0/+0
This relaxes the version specification of the weston bbappend. We're migrating to YP2.0 now. Patch applies, but we need to test if it works. Related: Change-Id: Icaad3f40b29617bcb33ac235bbe3c65f7f4bdbd7 Change-Id: I1f8e2ce5ea5d621162502a8ec977e6c393ec15ce Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2015-12-14ivi-shell: Temporary fix: Send keyboard events to clients who binds wl_keyboard.Nobuhiko Tanibata2-0/+209
This is a temporary solution to send keyboard events to clients for CES2016 demo. This shall be resolved by using ilm keyboard focus later. This doesn't affect current wayland application who uses wl_pointer/touch and wl_keyboard. Change-Id: I81c0a58ec65f785652699a71acd9359e86cc3975 Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
2015-10-23wayland-ivi-extension: Build unit test appsMikhail Durnev3-0/+91
The wayland-ivi-extension package provides unit test applications. The recipe was modified to build those apps and install them on the target in a separate ipk/rpm package. The test apps are not compatible with ptest. Ctest is required to run them on the target. Change-Id: I937fde52eafc20f38ab7c8ff2d2981cc4f836f33 Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
2015-10-08Provide AGL extension, wl_shell support for Wayland-IVI-Extension.Nobuhiko Tanibata2-0/+581
This components is merged in meta-agl/meta-ivi-common. Additionally, AGL demo, Home screen, requires, wh_shell support as well. This patch enable wl_shell_emulator to support wl_shell. This patch also provide README how to enable this feature in weston.ini and try it out. In details, please visit AGL wiki, https://wiki.automotivelinux.org/agl-distro/demo-apps/home-screen Change-Id: Ieff9ed030eedbdeab285c5e75e2f6dddb765352a Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
2015-10-08Provide AGL extension, wl_shell support for Weston ivi-shell.Nobuhiko Tanibata2-0/+55
This component is merged in meta-agl/meta-ivi-common. Additionally, AGL demo, Home screen, requires, wl_shell support as well. This patch just makes two function extern to be used by Wayland-IVI-Extension to support wl_shell. This means this patch doesn't change bihavior of ivi-shell but allows Wayland-IVI-Extension to get notification of creation of wl_shell and send configure to the application. In details, please visit AGL wiki and Wayland-IVI-Extension's README https://wiki.automotivelinux.org/agl-distro/demo-apps/home-screen Change-Id: If300ca9ecc62a78e473e01ef670cd9a366fe44e0 Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>