aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland
AgeCommit message (Collapse)Author
2021-04-14weston-init: Do not exit with error if uncomment function failFabio Berton
Show a warning instead of raising an error when uncomment function can't found the text. This allows using a custom weston.ini file in bbappend. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-13weston-init: Rework uncomment function logicVinicius Aquino
Fix error "Commented setting '#use-g2d=1' not found" when building for some imx machines. Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
2021-02-11weston-init: Update weston.iniTom Hochstein
- 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>
2021-02-01weston: update to 9.0.0.imxMax Krummenacher
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>
2021-02-01wayland-protocols: update to 1.20.imxMax Krummenacher
NXP release imx_5.4.70_2.3.0. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-31weston-init: enable g2d for mx6dl/mxq machinesPierluigi Passaro
Both the machines do support g2d and this fix graphical artifacts when using a mouse Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com>
2020-12-11weston-imx: Bump revision f13d40a3Fabio Berton
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>
2020-09-30weston: add libxcursor to depends for xwaylandMax Krummenacher
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>
2020-09-29weston-imx: remove also xwayland from package configAndrey Zhizhikin
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>
2020-09-29weston-init: add weston.ini section to support imx8mpAndrey Zhizhikin
Allow usage of 2D blit accelerator present in imx8mp soc Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2020-09-22weston-imx: Remove wayland and x11 from PACKAGECONFIGFabio Berton
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>
2020-09-14weston.ini: Move to imx subdirKhem Raj
This ensures that it does not lurk for non meta-freescale BSPs Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-23Revert "weston-init: use g2d for i.MX8M Nano SoC"Tom Hochstein
8M Nano does not have 2D acceleration. This reverts commit b3f51ab82838a67146d5b6fcf8f19d36c5efeb37.
2020-05-05weston: Restore partial clients for i.MX 6 and 7Tom Hochstein
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>
2020-04-29weston: Cleanup FILES for no longer used folderTom Hochstein
${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>
2020-04-29weston: Fix build error for opengl typoTom Hochstein
There was an extra hyphen on the command line: meson: error: unrecognized arguments: --Dopengl=false Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-29weston: Fix non-GBM build error for i.MX 6 & 7Tom Hochstein
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>
2020-04-29weston: Restructure recipe for ease of maintananceTom Hochstein
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>
2020-04-29weston: Align 8.0.0.imx recipe with 8.0.0Tom Hochstein
Update license file data and move i.MX customizations to unique lines for simpler diff. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16weston: upgrade recipe to version 8.0.0 from NXPAndrey Zhizhikin
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>
2020-04-16wayland-protocols: upgrade to 1.18 from NXPAndrey Zhizhikin
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-03-03weston-init.bbappend: Fix missing space in variable assignmentTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-02-12wayland-protocols: Switch to i.MX fork for sourceTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-01-08weston-init: use g2d for i.MX8M Nano SoCAndrey Zhizhikin
Use 2D acceleration for i.MX8M Nano SoC. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2019-12-22weston: refresh patch files to resolve hunksAndrey Zhizhikin
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>
2019-12-16weston: Upgrade to 6.0.1.imxMihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-11-23recipes: Use features_check instead of distro_features_checkKhem Raj
distro_features_check is now deprecated Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-19weston-init: Keep the logic to edit weston.ini to meta-freescaleKhem Raj
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>
2019-11-18weston: Move xwayland config to weston.iniTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-11-18weston: Replace copies of weston.ini with logicTom Hochstein
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>
2019-11-18weston: Use G2D as default renderer for 7ULPTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-11-18weston: Move use-g2d option for 8M Mini to weston.iniTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-11-18weston-init: Move weston.ini install to weston-initTom Hochstein
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>
2019-11-04weston: Improve weston.ini selection logicTom Hochstein
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>
2019-11-01weston: fix the test condition for agl buildsAndrey Zhizhikin
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>
2019-09-21weston-init: Adjust to match recent oe-core changesKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-12wayland-protocols_1.17.imx: add missing DTRC meta protocolPeter Griffin
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>
2019-09-12weston: Fix video blurring for i.MX 6SL on WaylandTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-09-12weston: Add support for AGL and IVITom Hochstein
- 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>
2019-09-12weston: Enable touchscreen calibratorTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-09-12weston: Drop weston.ini files since the baseline version is now in sourceTom Hochstein
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>
2019-09-12weston: Upgrade to 5.0.0.imxTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-05-25wayland-protocols-imx: Upgrade to version 1.17Carlos Rafael Giani
This is needed for GStreamer 1.16 Wayland support Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2019-03-21white-space compliante in DEPENDSWalter Bonetti
2018-11-08weston: Avoid parsing for non-i.MX machinesOtavio Salvador
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>
2018-11-01weston: Update open function patchTom Hochstein
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>
2018-10-30weston: Fix open function build break in g2d-rendererTom Hochstein
| 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>
2018-10-30weston: Disable opengl for 2D-only SOCTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-10-30weston: Set desktop shell size to 1080p for i.MX 8MTom Hochstein
For i.MX 8M, set the shell size to 1080p to reduce GPU pressure. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-10-30weston: Use argb8888 as gbm-format for i.MX 8MQTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>