summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/xwayland
Commit message (Collapse)AuthorAgeFilesLines
* xwayland: Extend support for 9-series with GPUTom Hochstein2024-04-241-1/+1
| | | | | | Align with NXP BSP 6.6.3-1.0.0. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xwayland: Mark 23.1.1.imx as MACHINE_SOCARCHTom Hochstein2023-05-171-0/+2
| | | | | | The bbappend does customize for the SOC, so mark is as such. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xwayland: Make local copy of 23.1.1 recipeTom Hochstein2023-05-172-0/+53
| | | | | | | | | The langdale branch version of xwayland is incompatible with mickledore and master. To allow meta-freescale master to be compatible with langdale, mickledore, and master, make a local copy of the master version of xwayland and use it. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xwayland: Drop upstreamed patch to make use of GL_EXT_texture_format_BGRA8888Khem Raj2023-04-252-40/+0
| | | | | | | | | | | | OE-core is soon upgrading to xwayland 23.x and this patch is already part of this release [1] Be aware that this would be post mickledore release, so this patch is not backportable to mickledore, its only for upcoming master and beyond. [1] https://gitlab.freedesktop.org/xorg/xserver/-/commit/24cd5f34f8edcc6621ed9c0f2b1a3df08de7488d Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cairo,xwayland: Fix compiling with musl with vivante gpu driver libsKhem Raj2022-09-191-0/+7
| | | | | | | | | | | This ensures that the symbols from the prebuilt libs are not flagged during build, we are betting on gcompat to provide the missing glibc API stubs at runtime. Depend on gcompat on musl needed for imxgpu machines its needed since graphics driver is precompiled for glibc. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xwayland: Add patch to fix fbo pixmap on glamorTom Hochstein2022-05-112-0/+40
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xwayland: Add patch to prefer GLES2 for glamor EGLTom Hochstein2022-05-112-0/+37
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xwayland: Drop GLX for i.MX GPUTom Hochstein2022-05-111-2/+3
| | | | | | i.MX GPU drivers don't support GLX. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* xwayland: Rework i.MX GPU configuration variablesTom Hochstein2022-05-111-4/+4
| | | | | | | | The design for GPU configuration uses a single input variable for any SOC with GPU and then chooses which SOC to apply it to. A better model uses a single input variable varied on the SOC, then adds it for GPU. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* layer: Convert to new override syntaxKhem Raj2021-08-121-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xwayland: fix build against vivante provided opengl on 32bit i.MXMax Krummenacher2021-06-261-0/+4
With 'use-nxp-bsp' xwayland must not be configured to use glamour. Set the now available package configs accordingly. Prevents compile time errors like: | ../xwayland-21.1.1/hw/xwayland/xwayland-present.c:61:49: error: invalid application of 'sizeof' to incomplete type 'struct xwl_present_window' | 61 | xwl_present_window = calloc (1, sizeof (struct xwl_present_window)); ... | ../xwayland-21.1.1/hw/xwayland/xwayland-present.c:450:14: error: implicit declaration of function 'xwl_glamor_pixmap_get_wl_buffer' [-Werror=implicit-function-declaration] | 450 | buffer = xwl_glamor_pixmap_get_wl_buffer(pixmap); Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>