diff options
4 files changed, 53 insertions, 3 deletions
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc index 03e09e579..794a0bad0 100644 --- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc +++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc | |||
| @@ -12,6 +12,8 @@ SRC_URI:append:imxgpu2d += " \ | |||
| 12 | file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \ | 12 | file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \ |
| 13 | file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \ | 13 | file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \ |
| 14 | file://0003-i.MX6-force-egl-visual-ID-33.patch \ | 14 | file://0003-i.MX6-force-egl-visual-ID-33.patch \ |
| 15 | file://0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch \ | ||
| 16 | file://0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch.patch \ | ||
| 15 | " | 17 | " |
| 16 | 18 | ||
| 17 | DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2" | 19 | DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2" |
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch new file mode 100644 index 000000000..7eee7cf2a --- /dev/null +++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | From 234580de9d63fd79a8b444358cdaeac111a17061 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mauro Salvini <m.salvini@koansoftware.com> | ||
| 3 | Date: Thu, 29 Sep 2022 16:06:04 +0200 | ||
| 4 | Subject: [PATCH 1/2] config.tests: add DEFINES to compile egl test with | ||
| 5 | imxgpu2d (Vivante) | ||
| 6 | |||
| 7 | Signed-off-by: Mauro Salvini <m.salvini@koansoftware.com> | ||
| 8 | --- | ||
| 9 | config.tests/unix/egl/egl.pro | 1 + | ||
| 10 | 1 file changed, 1 insertion(+) | ||
| 11 | |||
| 12 | diff --git a/config.tests/unix/egl/egl.pro b/config.tests/unix/egl/egl.pro | ||
| 13 | index f04d0535..bc35b908 100644 | ||
| 14 | --- a/config.tests/unix/egl/egl.pro | ||
| 15 | +++ b/config.tests/unix/egl/egl.pro | ||
| 16 | @@ -6,5 +6,6 @@ for(p, QMAKE_LIBDIR_EGL) { | ||
| 17 | |||
| 18 | !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL | ||
| 19 | !isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL | ||
| 20 | +DEFINES += LINUX=1 EGL_API_FB=1 | ||
| 21 | |||
| 22 | CONFIG -= qt | ||
| 23 | -- | ||
| 24 | 2.17.1 | ||
| 25 | |||
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch new file mode 100644 index 000000000..993df85e9 --- /dev/null +++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | From adb19c68d3c92eb1a88e49e447ce827f14943486 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mauro Salvini <m.salvini@koansoftware.com> | ||
| 3 | Date: Thu, 29 Sep 2022 16:12:11 +0200 | ||
| 4 | Subject: [PATCH 2/2] config.tests: add DEFINES to compile egl4gles1 test with | ||
| 5 | imxgpu2d (Vivante) | ||
| 6 | |||
| 7 | Signed-off-by: Mauro Salvini <m.salvini@koansoftware.com> | ||
| 8 | --- | ||
| 9 | config.tests/unix/egl4gles1/egl4gles1.pro | 1 + | ||
| 10 | 1 file changed, 1 insertion(+) | ||
| 11 | |||
| 12 | diff --git a/config.tests/unix/egl4gles1/egl4gles1.pro b/config.tests/unix/egl4gles1/egl4gles1.pro | ||
| 13 | index 667ea8e3..14cb4a76 100644 | ||
| 14 | --- a/config.tests/unix/egl4gles1/egl4gles1.pro | ||
| 15 | +++ b/config.tests/unix/egl4gles1/egl4gles1.pro | ||
| 16 | @@ -6,5 +6,6 @@ for(p, QMAKE_LIBDIR_EGL) { | ||
| 17 | |||
| 18 | !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL | ||
| 19 | !isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL | ||
| 20 | +DEFINES += LINUX=1 EGL_API_FB=1 | ||
| 21 | |||
| 22 | CONFIG -= qt | ||
| 23 | -- | ||
| 24 | 2.17.1 | ||
| 25 | |||
diff --git a/recipes-graphics/wayland/weston_10.0.0.imx.bb b/recipes-graphics/wayland/weston_10.0.0.imx.bb index b9e8fca5b..7ab612b03 100644 --- a/recipes-graphics/wayland/weston_10.0.0.imx.bb +++ b/recipes-graphics/wayland/weston_10.0.0.imx.bb | |||
| @@ -177,9 +177,7 @@ PACKAGECONFIG_OPENGL:imxgpu2d = "" | |||
| 177 | PACKAGECONFIG_OPENGL:imxgpu3d = "opengl" | 177 | PACKAGECONFIG_OPENGL:imxgpu3d = "opengl" |
| 178 | 178 | ||
| 179 | PACKAGECONFIG:remove = "wayland x11" | 179 | PACKAGECONFIG:remove = "wayland x11" |
| 180 | PACKAGECONFIG:append = " \ | 180 | PACKAGECONFIG:append = " ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_OPENGL}', d)}" |
| 181 | rdp \ | ||
| 182 | ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_OPENGL}', d)}" | ||
| 183 | 181 | ||
| 184 | PACKAGECONFIG:remove:imxfbdev = "kms" | 182 | PACKAGECONFIG:remove:imxfbdev = "kms" |
| 185 | PACKAGECONFIG:append:imxfbdev = " fbdev clients" | 183 | PACKAGECONFIG:append:imxfbdev = " fbdev clients" |
