summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland
Commit message (Collapse)AuthorAgeFilesLines
* weston-init: Update weston.iniTom Hochstein2021-02-112-2/+10
| | | | | | | | | - Add repaint-window for all i.MX 8 to support 4K display - Add enable-overlay-view option as comment - Enable touchscreen_calibrator - Update transform values which were re-worked for weston 9.0 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: update to 9.0.0.imxMax Krummenacher2021-02-013-23/+70
| | | | | | | | | NXP release imx_5.4.70_2.3.0. 0001-weston-launch-Provide-a-default-version-that-doesn-t.patch update taken from NXP BSP. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* wayland-protocols: update to 1.20.imxMax Krummenacher2021-02-011-2/+2
| | | | | | NXP release imx_5.4.70_2.3.0. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* weston-init: enable g2d for mx6dl/mxq machinesPierluigi Passaro2021-01-311-0/+6
| | | | | | | Both the machines do support g2d and this fix graphical artifacts when using a mouse Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com>
* weston-imx: Bump revision f13d40a3Fabio Berton2020-12-111-1/+1
| | | | | | | | | | | | This commit includes the following changes: - f13d40a3 compositor-drm: Add environmen variables configuration in weston.ini - 1e1f6fb5 compositor-drm: display will be blank when weston restart with rotate - 27cde525 gl-renderer: Video playback always flashes and jitteres on the top-right corner - e08a9c3d g2d-renderer: UI is abnormal using G2D compositor - 81a7538f gl-renderer: mm06 has performance dropped Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* weston: add libxcursor to depends for xwaylandMax Krummenacher2020-09-301-2/+2
| | | | | | | | | | Otherwise configure will fail. | ../git/xwayland/meson.build:27:2: ERROR: Problem encountered: xwayland requires xcursor which was not found. Or, you can use '-Dxwayland=false'. This reverts additionally commit 86cde62d1 which addressed the same issue. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* weston-imx: remove also xwayland from package configAndrey Zhizhikin2020-09-291-1/+1
| | | | | | | | | | | Commit [5a5c5dd23ea0173ef16073c3c651aec89b5a67c1] removes x11 and wayland from PACKAGECONFIG, but when wayland with X11 distro is used - this leaves the xwayland package config option enabled. Without x11 and wayland in PACKAGECONFIG, xwayland cannot be enabled so remove this config option as well. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* weston-init: add weston.ini section to support imx8mpAndrey Zhizhikin2020-09-291-0/+3
| | | | | | Allow usage of 2D blit accelerator present in imx8mp soc Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* weston-imx: Remove wayland and x11 from PACKAGECONFIGFabio Berton2020-09-221-0/+1
| | | | | | | | Weston i.MX uses framebuffer to render images and doesn't work if wayland PACKAGECONFIG is enabled. Without this weston can't find the wayland display. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* weston.ini: Move to imx subdirKhem Raj2020-09-141-0/+0
| | | | | | This ensures that it does not lurk for non meta-freescale BSPs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "weston-init: use g2d for i.MX8M Nano SoC"Tom Hochstein2020-07-231-3/+0
| | | | | | 8M Nano does not have 2D acceleration. This reverts commit b3f51ab82838a67146d5b6fcf8f19d36c5efeb37.
* weston: Restore partial clients for i.MX 6 and 7Tom Hochstein2020-05-051-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The clients configuration for fbdev was recently removed from meta-freescale [1] because of the following error: ``` | Run-time dependency gbm found: NO (tried pkgconfig and cmake) | | clients/meson.build:134:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires gbm which was not found. If you rather not build this, drop "dmabuf-egl" from simple-clients option. ``` [1] eda44e49618610c13ebe4c026cd4981b404a1543 It was also removed for non-Wayland from OE-core [2] because of the following error in the same client dmabuf-egl: ``` clients/meson.build:141:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires option renderer-gl which is not enabled. If you rather not build this, drop "dmabuf-egl" from simple-clients option. ``` [2] 9b1d30810eeecb46b977c8eed68be69aef891312 Restore the working subset of clients. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Cleanup FILES for no longer used folderTom Hochstein2020-04-291-2/+0
| | | | | | | ${sysconfdir}/xdg/weston was used to install weston.ini, but that functionality has moved to weston-init. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Fix build error for opengl typoTom Hochstein2020-04-291-1/+1
| | | | | | | | There was an extra hyphen on the command line: meson: error: unrecognized arguments: --Dopengl=false Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Fix non-GBM build error for i.MX 6 & 7Tom Hochstein2020-04-291-1/+1
| | | | | | | | | | | | i.MX 6 and 7 doesn't support GBM, required by weston-simple-dmabuf-egl: | Run-time dependency gbm found: NO (tried pkgconfig and cmake) | | clients/meson.build:134:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires gbm which was not found. If you rather not build this, drop "dmabuf-egl" from simple-clients option. Remove the clients for i.MX 6 and 7. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Restructure recipe for ease of maintananceTom Hochstein2020-04-291-31/+60
| | | | | | | | Structure the recipe into two sections, the top as a verbatim copy of the upstream recipe that is the basis, and the bottom for the i.MX customization. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Align 8.0.0.imx recipe with 8.0.0Tom Hochstein2020-04-291-3/+5
| | | | | | | Update license file data and move i.MX customizations to unique lines for simpler diff. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: upgrade recipe to version 8.0.0 from NXPAndrey Zhizhikin2020-04-164-202/+112
| | | | | | | | | | | | | 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>
* wayland-protocols: upgrade to 1.18 from NXPAndrey Zhizhikin2020-04-161-2/+2
| | | | Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* 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>