summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland
Commit message (Collapse)AuthorAgeFilesLines
* wayland: Remove file provided by imx-gpu-vivFabio Berton2018-07-121-0/+4
| | | | | | | | | wayland-egl.pc is installed by imx-gpu-viv and we need to remove from wayland package for imxgpu machines. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 3be51cd536cfb08e95e852ddfdb180a51798b1f0)
* weston: Set DEFAULT_PREFERENCE to -1Fabio Berton2018-07-061-0/+2
| | | | | | | | | | This recipe need to be set by machine using: PREFERRED_VERSION_weston = "4.0.0.imx" Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit bc093ba16280d68a8c6259788683b9bcce0a158a)
* wayland: Backport recipe for version 1.15Fabio Berton2018-07-052-0/+78
| | | | | | | | | | From OE-Core commit: 6e5952fcfc13ff4b63c9376bd41a1dbba957f425 Package libwayland-egl has been moved to wayland on version 1.15+ and we need to use wayland 1.15+ to build weston i.MX 4 Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston-init: Fix inoperable Weston desktopTom Hochstein2018-07-055-0/+66
| | | | | | | | | | | | | | | | | | | For an image configured with pam and systemd, Weston apps would fail to run. For example: $ weston-terminal failed to connect to Wayland display: No such file or directory failed to create display: No such file or directory This fix is based on a proposal by Daniel Diaz to OE-core. The main part of the fix is the use of a new, manually created tty. The original proposal called weston directly, but that didn't seem to work where weston-launch did. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 6c50f608063f673f8763d2baebf1c486cb5ed63a)
* weston-init: Remove OpenGL requirement for i.MX 6SLTom Hochstein2018-07-051-0/+5
| | | | | | | | For parts with 2D GPU but not 3D GPU, OpenGL is not required. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 3650dc2b1d17ea3d3c0388a890592f89c47d84de)
* weston: Remove OpenGL requirement for i.MX 6SLTom Hochstein2018-07-051-3/+7
| | | | | | | | | OpenGL is not required for parts with 2D GPU but no 3D GPU. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 74ae306d33971487efbe5faddcaeca670ec7634d)
* weston: Use cairo for parts with 3D GPUTom Hochstein2018-07-051-0/+1
| | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 33cfb1800371a5aed74fd99a8cb6c56d118affd4)
* weston: Add G2D rendering supportTom Hochstein2018-07-051-0/+3
| | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 57e479401af3ceb72743b0d91693f30c1af9852b)
* weston: Set configuration for non-DRM partsTom Hochstein2018-07-051-0/+9
| | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit b552d7aed251c084ee80b90d584d789c1f762a80)
* weston: Use a fork for i.MXTom Hochstein2018-07-051-4/+5
| | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit c7bce1d8726cfd04f18eee688b8ce65ecd1233a2)
* weston: Copy upstream 4.0 recipeTom Hochstein2018-07-056-0/+381
| | | | | | | | http://git.yoctoproject.org/cgit.cgi/poky/tree/?h=master-next&id=d05a268c5069c3fb47ceed47862ba36b5f49ebd3 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit fa818a55a70d0c6df6af57b477b4bd2ea9939953)
* weston: Remove 2.0 recipeTom Hochstein2018-07-058-438/+0
| | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 08d037b0ace4c71ae77b5e4bc6d990252995cf91)
* weston: Append EGL_CFLAGS to CFLAGS for imxgpu2dFabio Berton2018-02-061-0/+3
| | | | | | | | | | | When building weston for imxgpu2d machine, CFLAGS doesn't get EGL_CFLAGS value and cause the error bellow: | ../build/tmp/sysroots/imx6sl-warp/usr/include/EGL/eglvivante.h:266:2: error: #error "Platform not recognized" | #error "Platform not recognized" Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Do not force MACHINE_SOCARCH for PACKAGE_ARCHOtavio Salvador2018-01-251-2/+0
| | | | | | | There is no need to force the PACKAGE_ARCH as it is automatically set correctly for i.MX based machines and left unmodified otherwise. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Switch to 2.0 with i.MX forkTom Hochstein2017-12-1815-2314/+83
| | | | | | | | | | EGL support was removed from the fbdev compositor in Weston 2.0. Add it back via an i.MX fork. This has been verified with imx-gpu-viv v6 only. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Apply append only for weston 1.11.1 versionFabio Berton2017-05-231-0/+0
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Use weston 1.11.1 for mx6 and mx7 machinesFabio Berton2017-05-1910-0/+531
| | | | | | | | | | | | | | As EGL support was removed from weston on commit: https://github.com/wayland-project/weston/commit/e77f8ad79bdf3613dc7e587ea0cf5b9d39e4f8e0 we can't use version 2.0.0. Add latest version with EGL support, 1.11.1 and set mx6 and mx7 machines to use this version. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Fix patch for no input device handlingTom Hochstein2017-02-081-1/+3
| | | | | | | | The previous patch had a logic error. The upstream submission was correct, so this just synchronizes the patch. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Consolidate i.MX GPU patchesTom Hochstein2017-01-2523-5900/+2001
| | | | | | | This is a non-functional change with one small exception, an additional variable initialization that has no known behavioral effect: Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Touch events cause startup failureTom Hochstein2017-01-233-1/+46
| | | | | | | | | | | Pressing the touch panel continously during boot up caused weston to crash. The weston view was being accessed before it was fully initialized, so now we guard against this. Upstream-Status: Denied [Could not reproduce] Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Undo recent command-line change for renderer selectionTom Hochstein2017-01-234-146/+116
| | | | | | | | | | To restore command-line compatibility, reverting back to integer-based renderer selection syntax: weston [--use-gl=0|1] [--use-g2d=0|1] Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: xwayland: Fix crash when run with no input deviceTom Hochstein2017-01-232-0/+49
| | | | | | | | | | | Starting an xterm with no input device led to a crash because weston_wm_pick_seat() was returning garbage and weston_wm_selection_init() was trying to use the garbage. Upstream-Status: Accepted [https://cgit.freedesktop.org/wayland/weston/commit/?id=e7fff215ada3fd3d1b2af664888f960c082f9065] Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Enable double buffer with fb_pan_display for weston compositorTom Hochstein2017-01-232-0/+49
| | | | | | | | | Refine offset calculation. Upstream-Status: Inappropriate [i.MX specific] Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: T3DStressTest_Wayland displays abnormally while using G2D compositorTom Hochstein2017-01-232-0/+41
| | | | | | | | | | | | It need add g2d_finish after repaint_region and before copy to framebuffer. Because if using dual dpu cores, the tasks on each core will be executed sequently, but it can't ensure one task splited on dual cores can be finished synchronously by hardware. Upstream-Status: Inappropriate [i.MX specific] Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Add egl and gles support for non-GPU SoCsTom Hochstein2016-12-161-1/+9
| | | | | | | | For SoCs with no GPU, configure weston to use the software versions of egl and gles through mesa. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Fix build on i.MX 6SLTom Hochstein2016-12-161-1/+1
| | | | | | | | | Weston requires egl and glesv2 together, or neither. Since the i.MX 6SL can only provide egl, we configure weston to work without egl. A build break occurred due to i.MX patches which should not be applied for 6SL. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Use compiler settings provided by IMX-GPU driver pkg-configTom Hochstein2016-11-232-22/+13
| | | | | | | | | The IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly. The package had to be patched to link the compositor to egl. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Remove duplication in variable valueTom Hochstein2016-11-231-3/+5
| | | | | | | | Rework variable implementation (using SoC override) so that the value does not contain a duplication. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Fix weston build failedTom Hochstein2016-10-182-0/+63
| | | | | | | | Expose more variale to G2d compositor, because it is not easy to get the physical address in G2d compositor. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Get stride from the FB bufferTom Hochstein2016-10-182-0/+77
| | | | | | | Fix the stride setting error in the fbinfo. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Use common API to support G2d compositorTom Hochstein2016-10-182-0/+197
| | | | | | | | | Replace gcoOS_WaylandCreateVivGlobal with eglBindWaylandDisplayWL. Fix a width set error in g2d_renderer_attach_shm. Use noncached buffer in weston shm buffer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Add clone mode support for multi displayTom Hochstein2016-10-182-0/+422
| | | | | | | | | Support showing the same contents on multiple displays. Use the following command to enable multi-display: openvt -v -- weston-launch -- --idle-time=0 --use-g2d=1 --device=/dev/fb0,/dev/fb4 --clone-mode --log=/var/log/weston.log Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Re-implement renderer using G2DTom Hochstein2016-10-184-0/+3014
| | | | | | | Change i.MX renderer from gal2d to g2d API. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Remove EGL support for GPU 2D-only SoCsOtavio Salvador2016-10-181-1/+2
| | | | | | | | | The i.MX SoCs which provides support for GPU 2D but lacks GPU 3D should drop the EGL use. This fixes the i.MX6SL build errors seen in O.S. Systems autobuilders. Reported-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Rebase patches for Weston 1.11Tom Hochstein2016-09-212-67/+116
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Refactor code to use the new overridesOtavio Salvador2016-09-081-30/+31
| | | | | | | | | | The recipe has been reworked to use the 'imxpxp', 'imxgpu2d' and 'imxgpu3d' feature overrides. While on that, the i.MX6UL specific code has been reworked to used when only PXP-only support is available, fixing the i.MX7D support as well. Change-Id: Ieaae9f95bd7ace58df7bccdab19b42ad35f44f5e Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Fix weston window manager for i.MX 6UltraLiteTom Hochstein2016-06-271-0/+7
| | | | | | | | | | | The weston window manager failed to start on i.MX 6UltraLite EVK. 6UL has no GPU, so we need to use pixman. Fixed by removing EGL/GLES support, and by configuring to use Framebuffer backend as native. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Fix g2d compositor startup failureTom Hochstein2016-06-022-0/+32
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Rebase Vivante patch for Yocto 2.2Tom Hochstein2016-06-021-52/+40
| | | | | | Change-Id: Ideb91234d9aba465968f278955e74c13248cc1c7 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Fix issues with 1.9 versionNeena Busireddy2016-04-194-125/+270
| | | | | | | These set of patches are required to address the issues with weston 1.9 Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Add patches to fix bugsNeena Busireddy2016-04-193-1/+138
| | | | | | | | - Patch to fix setenv and clear environments. - Patch to fix screen blur for Qt5 CinematicExperience. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Rework i.MX6 UltraLite support to not use other i.MX6 codeOtavio Salvador2016-04-191-6/+1
| | | | | | | | | | | | | | The i.MX6 UltraLite is very different from the other i.MX6 SoCs and the current BSP infrastructure needs to be reworked to allow for more granullar control of the features each SoC provide to control the changes to be applied for the SoC peripherals support. For now, it is not possible to express this clearly in the BSP so the current change is to revert some of the changes done for the i.MX6 UltraLite to be enabled and make sure that the boards using the SoC does not inherit the 'mx6' override. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-162-0/+1751
The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>