summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland
Commit message (Collapse)AuthorAgeFilesLines
* weston-init.bbappend: Fix missing space in variable assignmentTom Hochstein2020-03-031-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* wayland-protocols: Switch to i.MX fork for sourceTom Hochstein2020-02-124-389/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston-init: use g2d for i.MX8M Nano SoCAndrey Zhizhikin2020-01-081-0/+3
| | | | | | Use 2D acceleration for i.MX8M Nano SoC. 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: Upgrade to 6.0.1.imxMihai Lindner2019-12-161-2/+3
| | | | Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
* recipes: Use features_check instead of distro_features_checkKhem Raj2019-11-231-1/+1
| | | | | | distro_features_check is now deprecated Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston-init: Keep the logic to edit weston.ini to meta-freescaleKhem Raj2019-11-191-1/+1
| | | | | | | | | | | | | | This logic does not work across multiple layers even OE-Core machines dont build with it. For now its best to keep this confined to meta-freescale machines Idea is good but it needs to align with OE-core's methods where currently in OE-Core we expect machines to override weston.ini completely per machine, this logic sort of goes against it. However it has some goodness to it, eg. adding options based on DISTRO_FEATURES which OE-Core could have too but maybe implemented differently. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston: Move xwayland config to weston.iniTom Hochstein2019-11-185-18/+9
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Replace copies of weston.ini with logicTom Hochstein2019-11-184-75/+25
| | | | | | | Install a common base weston.ini and then customize it in the recipe by specifying custom options. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Use G2D as default renderer for 7ULPTom Hochstein2019-11-181-0/+25
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Move use-g2d option for 8M Mini to weston.iniTom Hochstein2019-11-182-1/+26
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston-init: Move weston.ini install to weston-initTom Hochstein2019-11-185-66/+50
| | | | | | | | | | | | | 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: Improve weston.ini selection logicTom Hochstein2019-11-041-7/+5
| | | | | | | | | | | | Add a variable WESTON_INI_INSTALL_FILE to make it easy to customize the selection of the weston.ini file. The main recipe now performs only a generic install of the selected file. For AGL and IVI, we use the BBFILES_DYNAMIC mechanism to specify no file and an IVI-specific file respectively. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: fix the test condition for agl buildsAndrey Zhizhikin2019-11-011-1/+1
| | | | | | | | | | | | | | | | Fix the variable test condition, wich is used during inclusion of weston.ini file in the agl and non-agl builds. Since for non-agl build there is no algprofilegraphics in the collection, variable expands to an empty string and test condition evaluates to true for both agl and non-agl builds. This causes the weston.ini file to be installed regardless of whether the agl is found or not. Usage of a different condition check (lenght instead of empty) eliminates this issue. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* weston-init: Adjust to match recent oe-core changesKhem Raj2019-09-212-43/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* wayland-protocols_1.17.imx: add missing DTRC meta protocolPeter Griffin2019-09-122-1/+52
| | | | | | | | | | | Add missing protocol from wayland-protocols-imx fork. This is required to use waylandsink from gst-plugins-bad-imx fork. This protocol supports passing pass offset to DTRC in drm DCSS driver to enable video tile compress. Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
* weston: Fix video blurring for i.MX 6SL on WaylandTom Hochstein2019-09-121-0/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Add support for AGL and IVITom Hochstein2019-09-121-1/+8
| | | | | | | - For AGL, don't install weston.ini - For IVI, do install the IVI-shell version of weston.ini Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Enable touchscreen calibratorTom Hochstein2019-09-123-3/+34
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Drop weston.ini files since the baseline version is now in sourceTom Hochstein2019-09-127-47/+58
| | | | | | | | | | 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-124-55/+21
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* wayland-protocols-imx: Upgrade to version 1.17Carlos Rafael Giani2019-05-253-10/+12
| | | | | | This is needed for GStreamer 1.16 Wayland support Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* white-space compliante in DEPENDSWalter Bonetti2019-03-211-3/+3
|
* weston: Avoid parsing for non-i.MX machinesOtavio Salvador2018-11-081-0/+3
| | | | | | | | | | | | Fixes: ,---- | meta-freescale/recipes-graphics/wayland/weston_4.0.0.imx.bb: Unable to | get checksum for weston SRC_URI entry weston.ini: file could not be | found `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* 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-302-0/+46
| | | | | | | | | | | | | 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: Disable opengl for 2D-only SOCTom Hochstein2018-10-301-1/+4
| | | | 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-302-0/+22
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Move i.MX-specific config file to recipeTom Hochstein2018-10-302-2/+22
| | | | | | Make it easier to customize the config file. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: BugfixesTom Hochstein2018-10-261-1/+1
| | | | | | | | | | | | | | | | | - g2d-renderer: Enable dither effect in the fbdev board - compositor-drm: avoid commit invalid framebuffer to plane - g2d-render: fix the render error in vg_gc2000 test - g2d-render: fix the residual image on display - g2d-renderer: import DMABuf should use offset in attributes - compositor-drm: Revert the fence support in DRM compositor - compositor-drm: fix video playback hang after add fence in glrender - MGS-4050 [#ccc] libweston/compositor-fbdev: Use fbGetDisplayByIndex when selecting the framebuffer - compositor-drm: Add display fence support - compositor-drm: fix cannot reuse current framebuffer if damage is empty - g2d-render: weston will be closed after executing weston-info - g2d-render: support new ion allocator Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: install weston.ini to disable idle timeoutGary Bisson2018-09-121-1/+5
| | | | | | | | In order to get the same behavior as meta-fsl-bsp-release (see weston_4.0.0.bbappend). Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* wayland-protocols: Avoid recipe parsing for foreign machinesOtavio Salvador2018-09-121-0/+1
| | | | | | | | | This restricts the parsing for machines which has either imxgpu or imxfbdev SoC features. Fixes: contamination of other BSP machines Reported-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* wayland-protocols: Fix PACKAGE_ARCH for i.MX-specific versionTom Hochstein2018-09-111-1/+3
| | | | | | | | Fix the PACKAGE_ARCH so that our i.MX-specific version does not override the standard allarch version. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* wayland-protocols: Fix fetcher errorTom Hochstein2018-09-111-1/+3
| | | | | | | | The i.MX-specific recipe is using a standard archive, so the i.MX-specific recipe version cannot be used in the archive URL. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* wayland-protocols: Add HDR10 metadata and alpha compositing protocolsTom Hochstein2018-09-073-1/+331
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* wayland-protocols: Downgrade to 1.13 for i.MXTom Hochstein2018-09-071-0/+20
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Revert "wayland: Remove file provided by imx-gpu-viv"Gary Bisson2018-09-061-4/+0
| | | | | | | | | | | | | | | | | This reverts commit 3be51cd536cfb08e95e852ddfdb180a51798b1f0. This fixes the following issue: | No package 'wayland-egl' found Reason is that 3be51cd5 should have been removed as soon as the following commit was pushed: f1e39bd1 imx-gpu-viv: Remove wayland-egl files Since imx-gpu-viv doesn't provide wayland-egl any longer, wayland recipe has to. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Fix non-GPU supportTom Hochstein2018-08-301-1/+4
| | | | | | | | | The desktop failed to start on i.MX parts without GPU. The problem is fixed, and now the package must be configured for i.MX GPU support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* 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>
* imx-base.inc: Add imxfbdev and imxdrm to MACHINEOVERRIDES_EXTENDERTom Hochstein2018-07-111-7/+2
| | | | | | | | - weston uses the imxfbdev override for backend configuration - imx-gpu-viv uses the imxdrm override for dependency configuration Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>