]> code.ossystems Code Review - meta-freescale.git/commitdiff
qtbase: Enable support for i.MX SoCs with PXP
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 6 Sep 2016 14:59:55 +0000 (11:59 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 8 Sep 2016 14:24:25 +0000 (11:24 -0300)
This enables the use of GLES2 backend for Software Rendering allowing
SoCs without GPU support to use it. Up to now, this includes i.MX6UL
and i.MX7D.

Change-Id: I3011a84198d42744639121394423106fcfc738b3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend

index 3b99886707519031c9ecd28df3b756417f1607da..a693fb2a92fdd6560d8228e26d9814a73e3e0761 100644 (file)
@@ -6,10 +6,12 @@ HAS_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 1, 0, d)}"
 IMXGPU_imxgpu3d = "3d"
 IMXGPU_imxgpu2d = "2d"
 
+PACKAGECONFIG_GL_imxpxp   = "gles2"
 PACKAGECONFIG_GL_imxgpu3d = "gles2"
 PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)}"
 
 QT_CONFIG_FLAGS_APPEND = ""
+QT_CONFIG_FLAGS_APPEND_imxpxp = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}"
 QT_CONFIG_FLAGS_APPEND_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -no-opengl -linuxfb -no-eglfs', d)}"
 QT_CONFIG_FLAGS_APPEND_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}"
 QT_CONFIG_FLAGS_append = " ${QT_CONFIG_FLAGS_APPEND}"