Discussion:
[meta-freescale] [PATCH 1/2] qtbase: Do not pin gles2 when using open source graphic stack
Andreas Müller
2018-10-18 12:01:38 UTC
Permalink
One of the advantages in using upstream mesa is that we have the freedom to
use gl or gles2 for qtbase. So follow meta-qt5's default here which is
desktop-gl and give other layers a more simple chance to change default if
necessary.

Notes:

* Did performance tests with my images and did not find any performance
issues.
* Some recipes in meta-qt5-extra fail to build when qtbase is build for gles2.
A patch addressing imx was applied [1] - but honestly it is not the way to
go: use meta-qt5's default which is fine.

[1] https://github.com/schnitzeltony/meta-qt5-extra/commit/0972828deb6a9e6a44d7596e6e4817fd74dbb51c

Signed-off-by: Andreas Müller <***@gmail.com>
---
dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
index 6d74ea6c..47b0a143 100644
--- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
+++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
@@ -17,7 +17,7 @@ SRC_URI_append_imxgpu3d = " \
PACKAGECONFIG_GL_imxpxp = "gles2"
PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)}"
PACKAGECONFIG_GL_imxgpu3d = "gles2"
-PACKAGECONFIG_GL_use-mainline-bsp = "gbm gles2 kms"
+PACKAGECONFIG_GL_append_use-mainline-bsp = " gbm kms"

QT_CONFIG_FLAGS_APPEND = ""
QT_CONFIG_FLAGS_APPEND_imxpxp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}"
--
2.14.4

--
Andreas Müller
2018-10-18 12:01:39 UTC
Permalink
Signed-off-by: Andreas Müller <***@gmail.com>
---
recipes-kernel/linux/linux-fslc_4.18.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-fslc_4.18.bb b/recipes-kernel/linux/linux-fslc_4.18.bb
index f14de5a8..e602671d 100644
--- a/recipes-kernel/linux/linux-fslc_4.18.bb
+++ b/recipes-kernel/linux/linux-fslc_4.18.bb
@@ -14,6 +14,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
PV = "4.18+git${SRCPV}"

SRCBRANCH = "4.18.x+fslc"
-SRCREV = "b84b14f4a55a09ab6cc392c7c0c89239f46c144f"
+SRCREV = "9c4e93aa83ce1274279c54e557312d431ff91654"

COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf|use-mainline-bsp)"
--
2.14.4

--
Andreas Müller
2018-10-26 08:14:08 UTC
Permalink
Post by Andreas Müller
---
recipes-kernel/linux/linux-fslc_4.18.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
ping
--

Andreas Müller
2018-10-26 08:13:43 UTC
Permalink
Post by Andreas Müller
One of the advantages in using upstream mesa is that we have the freedom to
use gl or gles2 for qtbase. So follow meta-qt5's default here which is
desktop-gl and give other layers a more simple chance to change default if
necessary.
* Did performance tests with my images and did not find any performance
issues.
* Some recipes in meta-qt5-extra fail to build when qtbase is build for gles2.
A patch addressing imx was applied [1] - but honestly it is not the way to
go: use meta-qt5's default which is fine.
[1] https://github.com/schnitzeltony/meta-qt5-extra/commit/0972828deb6a9e6a44d7596e6e4817fd74dbb51c
ping
--
Loading...