diff options
3 files changed, 34 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 e951ce12d..75589d3b1 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 @@ | |||
| 1 | From 4ab82e531d01c3c1f45a4f099d145cde2890a0d5 Mon Sep 17 00:00:00 2001 | 1 | From 186ec0c80410b2120b8f31c211cb44a836c84522 Mon Sep 17 00:00:00 2001 |
| 2 | From: Haihua Hu <jared.hu@nxp.com> | 2 | From: Haihua Hu <jared.hu@nxp.com> |
| 3 | Date: Wed, 4 Jul 2018 16:05:20 +0800 | 3 | Date: Wed, 4 Jul 2018 16:05:20 +0800 |
| 4 | Subject: [PATCH] weston.ini: using argb8888 as gbm default on mscale 850D | 4 | Subject: [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 000000000..7ea07ed64 --- /dev/null +++ b/recipes-graphics/wayland/weston/0003-weston-touch-calibrator-Advertise-the-touchscreen-ca.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From 46843c8681ddafbea6f491b7af4de6529e93f5bd Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jun Zhu <junzhu@nxp.com> | ||
| 3 | Date: Sun, 30 Sep 2018 15:31:26 +0800 | ||
| 4 | Subject: [PATCH] weston-touch-calibrator: Advertise the touchscreen calibrator | ||
| 5 | interface to all clients. [YOCIMX-2963] | ||
| 6 | |||
| 7 | Set touchscreen_calibrator to true in the section "libinput" of the configure file | ||
| 8 | /etc/xdg/weston/weston.ini. | ||
| 9 | Otherwise, it will report that the new-added interface "weston-touch-calibration" cannot be found. | ||
| 10 | |||
| 11 | Signed-off-by: Jun Zhu <junzhu@nxp.com> | ||
| 12 | |||
| 13 | --- | ||
| 14 | weston.ini.in | 3 +++ | ||
| 15 | 1 file changed, 3 insertions(+) | ||
| 16 | |||
| 17 | diff --git a/weston.ini.in b/weston.ini.in | ||
| 18 | index 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 | ||
diff --git a/recipes-graphics/wayland/weston_5.0.0.imx.bb b/recipes-graphics/wayland/weston_5.0.0.imx.bb index 032972faa..7649893bb 100644 --- a/recipes-graphics/wayland/weston_5.0.0.imx.bb +++ b/recipes-graphics/wayland/weston_5.0.0.imx.bb | |||
| @@ -14,6 +14,7 @@ SRC_URI = "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=http | |||
| 14 | file://0001-make-error-portable.patch \ | 14 | file://0001-make-error-portable.patch \ |
| 15 | file://xwayland.weston-start \ | 15 | file://xwayland.weston-start \ |
| 16 | file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \ | 16 | file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \ |
| 17 | file://0003-weston-touch-calibrator-Advertise-the-touchscreen-ca.patch \ | ||
| 17 | " | 18 | " |
| 18 | # Use argb8888 as gbm-format for i.MX8MQ only | 19 | # Use argb8888 as gbm-format for i.MX8MQ only |
| 19 | SRC_URI_append_mx8mq = " file://0001-weston.ini-using-argb8888-as-gbm-default-on-mscale-8.patch \ | 20 | SRC_URI_append_mx8mq = " file://0001-weston.ini-using-argb8888-as-gbm-default-on-mscale-8.patch \ |
