summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2019-05-23 16:24:00 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2019-09-12 14:45:07 -0300
commitce4eb34fe6fb18da65b5916d35adff690c5c9f12 (patch)
treecab99e17916e8485fed2c7c03669b01223c3a0b9 /recipes-graphics/wayland/weston
parent0b123b0300c73ddac68a2ea4c7609011e463bd81 (diff)
downloadmeta-freescale-ce4eb34fe6fb18da65b5916d35adff690c5c9f12.tar.gz
weston: Enable touchscreen calibrator
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-graphics/wayland/weston')
-rw-r--r--recipes-graphics/wayland/weston/0001-weston.ini-using-argb8888-as-gbm-default-on-mscale-8.patch6
-rw-r--r--recipes-graphics/wayland/weston/0003-weston-touch-calibrator-Advertise-the-touchscreen-ca.patch30
2 files changed, 33 insertions, 3 deletions
diff --git a/recipes-graphics/wayland/weston/0001-weston.ini-using-argb8888-as-gbm-default-on-mscale-8.patch b/recipes-graphics/wayland/weston/0001-weston.ini-using-argb8888-as-gbm-default-on-mscale-8.patch
index e951ce12..75589d3b 100644
--- a/recipes-graphics/wayland/weston/0001-weston.ini-using-argb8888-as-gbm-default-on-mscale-8.patch
+++ b/recipes-graphics/wayland/weston/0001-weston.ini-using-argb8888-as-gbm-default-on-mscale-8.patch
@@ -1,4 +1,4 @@
1From 4ab82e531d01c3c1f45a4f099d145cde2890a0d5 Mon Sep 17 00:00:00 2001 1From 186ec0c80410b2120b8f31c211cb44a836c84522 Mon Sep 17 00:00:00 2001
2From: Haihua Hu <jared.hu@nxp.com> 2From: Haihua Hu <jared.hu@nxp.com>
3Date: Wed, 4 Jul 2018 16:05:20 +0800 3Date: Wed, 4 Jul 2018 16:05:20 +0800
4Subject: [PATCH] weston.ini: using argb8888 as gbm default on mscale 850D 4Subject: [PATCH] weston.ini: using argb8888 as gbm default on mscale 850D
@@ -22,5 +22,5 @@ Index: git/weston.ini.in
22 #use-g2d=1 22 #use-g2d=1
23+gbm-format=argb8888 23+gbm-format=argb8888
24 24
25 #[output] 25 [libinput]
26 #name=HDMI-A-1 26 touchscreen_calibrator=true
diff --git a/recipes-graphics/wayland/weston/0003-weston-touch-calibrator-Advertise-the-touchscreen-ca.patch b/recipes-graphics/wayland/weston/0003-weston-touch-calibrator-Advertise-the-touchscreen-ca.patch
new file mode 100644
index 00000000..7ea07ed6
--- /dev/null
+++ b/recipes-graphics/wayland/weston/0003-weston-touch-calibrator-Advertise-the-touchscreen-ca.patch
@@ -0,0 +1,30 @@
1From 46843c8681ddafbea6f491b7af4de6529e93f5bd Mon Sep 17 00:00:00 2001
2From: Jun Zhu <junzhu@nxp.com>
3Date: Sun, 30 Sep 2018 15:31:26 +0800
4Subject: [PATCH] weston-touch-calibrator: Advertise the touchscreen calibrator
5 interface to all clients. [YOCIMX-2963]
6
7Set touchscreen_calibrator to true in the section "libinput" of the configure file
8 /etc/xdg/weston/weston.ini.
9Otherwise, it will report that the new-added interface "weston-touch-calibration" cannot be found.
10
11Signed-off-by: Jun Zhu <junzhu@nxp.com>
12
13---
14 weston.ini.in | 3 +++
15 1 file changed, 3 insertions(+)
16
17diff --git a/weston.ini.in b/weston.ini.in
18index 83dd56e..6e20e11 100644
19--- a/weston.ini.in
20+++ b/weston.ini.in
21@@ -3,6 +3,9 @@
22 idle-time=0
23 #use-g2d=1
24
25+[libinput]
26+touchscreen_calibrator=true
27+
28 #[output]
29 #name=HDMI-A-1
30 #mode=1920x1080@60