From 3bde996a724d03a578d8b1d59c9921cdd27e4877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 31 Jan 2019 13:40:44 +0100 Subject: [PATCH] liri-eglfs: do not record screens by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- ...cording-by-default-it-requires-GLES3.patch | 29 +++++++++++++++++++ recipes-liri/liri-eglfs/liri-eglfs_git.bb | 1 + 2 files changed, 30 insertions(+) create mode 100644 recipes-liri/liri-eglfs/liri-eglfs/0001-Do-not-enable-recording-by-default-it-requires-GLES3.patch diff --git a/recipes-liri/liri-eglfs/liri-eglfs/0001-Do-not-enable-recording-by-default-it-requires-GLES3.patch b/recipes-liri/liri-eglfs/liri-eglfs/0001-Do-not-enable-recording-by-default-it-requires-GLES3.patch new file mode 100644 index 00000000..e36b7f62 --- /dev/null +++ b/recipes-liri/liri-eglfs/liri-eglfs/0001-Do-not-enable-recording-by-default-it-requires-GLES3.patch @@ -0,0 +1,29 @@ +From 63a7de68a3df67647a26261a412a51275c5de677 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Thu, 31 Jan 2019 12:25:01 +0100 +Subject: [PATCH] Do not enable recording by default - it requires GLES3 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Andreas Müller +--- + src/plugins/platforms/eglfs/api/qeglfsscreen_p.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/plugins/platforms/eglfs/api/qeglfsscreen_p.h b/src/plugins/platforms/eglfs/api/qeglfsscreen_p.h +index 9b1e072..e3f0901 100644 +--- a/src/plugins/platforms/eglfs/api/qeglfsscreen_p.h ++++ b/src/plugins/platforms/eglfs/api/qeglfsscreen_p.h +@@ -104,7 +104,7 @@ private: + EGLSurface m_surface; + QPlatformCursor *m_cursor; + bool m_modeChangeRequested = false; +- bool m_recordingEnabled = true; ++ bool m_recordingEnabled = false; + + friend class QEglFSWindow; + }; +-- +2.20.1 + diff --git a/recipes-liri/liri-eglfs/liri-eglfs_git.bb b/recipes-liri/liri-eglfs/liri-eglfs_git.bb index aeb6208d..cb7a843e 100644 --- a/recipes-liri/liri-eglfs/liri-eglfs_git.bb +++ b/recipes-liri/liri-eglfs/liri-eglfs_git.bb @@ -20,6 +20,7 @@ DEPENDS += " \ PV = "0.0.0+git${SRCPV}" SRCREV = "7bbc508bc03ab0f6a6b1633b322a83db5d99ab5b" +SRC_URI += "file://0001-Do-not-enable-recording-by-default-it-requires-GLES3.patch" S = "${WORKDIR}/git" FILES_${PN} += " \