summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston
Commit message (Collapse)AuthorAgeFilesLines
* weston: upgrade recipe to version 8.0.0 from NXPAndrey Zhizhikin2020-04-163-159/+75
| | | | | | | | | | | | | Upgrade weston recipe version 6.0.1 -> 8.0.0 with following modifications performed: - Transition build system to meson, replace autotools references with meson options; - Align recipe with the latest version from oe-core, include all configuration changes done upstream into this recipe; - Drop patches applied upstream and those related to autotools; Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* weston: refresh patch files to resolve hunksAndrey Zhizhikin2019-12-223-27/+28
| | | | | | | Refresh patches in this layer so they could be cleanly applied, this has been done via devtool. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* weston-init: Move weston.ini install to weston-initTom Hochstein2019-11-182-54/+0
| | | | | | | | | | | | | OE-core now installs weston.ini from weston-init, so align our recipe to do the same. The IVI dynamic layer now has a copy of the weston.ini file that is normally produced by the weston build. The AGL dynamic layer now uninstalls the weston.ini installed upstream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Enable touchscreen calibratorTom Hochstein2019-09-122-3/+33
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Drop weston.ini files since the baseline version is now in sourceTom Hochstein2019-09-124-44/+54
| | | | | | | | | | The customized baseline version of weston.ini is now in the source. That version is customized for 8MQ via patch files. Also drop desktop shell size from weston.config since it is already in weston.ini for 8M and 8M Mini. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Upgrade to 5.0.0.imxTom Hochstein2019-09-123-51/+18
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Update open function patchTom Hochstein2018-11-011-17/+5
| | | | | | | The g2d renderer open function patch was only needed for the case of a file open. Remove the other un-needed change. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Fix open function build break in g2d-rendererTom Hochstein2018-10-301-0/+45
| | | | | | | | | | | | | from ../git/libweston/g2d-renderer.c:40: | In function 'open', | inlined from 'g2d_renderer_create' at ../git/libweston/g2d-renderer.c:1629:2: | /home/r60874/upstream/fsl-xwayland/tmp/work/cortexa9t2hf-neon-mx6qdl-fsl-linux-gnueabi/weston/4.0.0.imx-r0/recipe- sysroot/usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open wit h O_CREAT or O_TMPFILE in second argument needs 3 arguments | __open_missing_mode (); | ^~~~~~~~~~~~~~~~~~~~~~ | Makefile:5266: recipe for target 'libweston/g2d_renderer_la-g2d-renderer.lo' failed Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Set desktop shell size to 1080p for i.MX 8MTom Hochstein2018-10-301-0/+3
| | | | | | For i.MX 8M, set the shell size to 1080p to reduce GPU pressure. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Use argb8888 as gbm-format for i.MX 8MQTom Hochstein2018-10-301-0/+21
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Move i.MX-specific config file to recipeTom Hochstein2018-10-301-0/+20
| | | | | | Make it easier to customize the config file. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Copy upstream 4.0 recipeTom Hochstein2018-07-055-0/+267
| | | | | | | 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>
* weston: Remove 2.0 recipeTom Hochstein2018-07-056-289/+0
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Switch to 2.0 with i.MX forkTom Hochstein2017-12-1812-2257/+37
| | | | | | | | | | 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: Use weston 1.11.1 for mx6 and mx7 machinesFabio Berton2017-05-198-0/+416
| | | | | | | | | | | | | | 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-2522-5882/+1994
| | | | | | | 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-232-0/+44
| | | | | | | | | | | 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-231-0/+45
| | | | | | | | | | | 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-231-0/+48
| | | | | | | | | 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-231-0/+40
| | | | | | | | | | | | 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: Use compiler settings provided by IMX-GPU driver pkg-configTom Hochstein2016-11-231-0/+12
| | | | | | | | | 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: Fix weston build failedTom Hochstein2016-10-181-0/+62
| | | | | | | | 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-181-0/+76
| | | | | | | 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-181-0/+196
| | | | | | | | | 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-181-0/+421
| | | | | | | | | 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-183-0/+3011
| | | | | | | 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: 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: Fix g2d compositor startup failureTom Hochstein2016-06-021-0/+31
| | | | | 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-193-122/+265
| | | | | | | 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-192-0/+134
| | | | | | | | - 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>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-161-0/+1709
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>