summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland
diff options
context:
space:
mode:
authorHarunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>2017-12-06 15:52:15 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-08 14:07:00 +0000
commit43583c61abd39dd6c1b547ef36d1b136a6f21ca5 (patch)
tree6aecb28ba11e87cbb76c3bb024fdfc4bdf2ebbeb /recipes-graphics/wayland
parent41949b6a45620544d81810a293dbe67d4b2df702 (diff)
weston-ini-conf: Add virtual display and record for CES2017 demo
In order to support IVI-Cluster demo, virtual display and gst-recorder parameter are set in weston.ini. If you want to use virtual output system, set "virtual-display" in DISTRO_FEATURES. Then the sample value is enabled. If you want to use transfer system to multi ECU via H.264, set "gst-record" in DISTRO_FEATURES. This feature is commited to DD[1]. After that he weston-ini-conf is updated. This commit is same result as that time. Note: These system are supported in R-Car M3 and H3 only. [1] https://gerrit.automotivelinux.org/gerrit/#/c/9907/ [2] https://gerrit.automotivelinux.org/gerrit/#/c/10847/ Change-Id: I1f7b9af5dc0e459aa49d336ed5ba0cebaf8adab2 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Diffstat (limited to 'recipes-graphics/wayland')
-rw-r--r--recipes-graphics/wayland/weston-ini-conf.bbappend15
-rw-r--r--recipes-graphics/wayland/weston-ini-conf/virtualoutput.cfg7
2 files changed, 22 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston-ini-conf.bbappend b/recipes-graphics/wayland/weston-ini-conf.bbappend
new file mode 100644
index 000000000..2f155c022
--- /dev/null
+++ b/recipes-graphics/wayland/weston-ini-conf.bbappend
@@ -0,0 +1,15 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+#
+SRC_URI += "${@bb.utils.contains("DISTRO_FEATURES", "virtual-display", "file://virtualoutput.cfg", "",d)}"
+
+do_configure_append() {
+ if [ ${@bb.utils.contains('DISTRO_FEATURES', 'virtual-display', 'true', 'false', d)} ]; then
+ echo virtual=1 >> ${WORKDIR}/core.cfg
+ fi
+
+ if [ ${@bb.utils.contains('DISTRO_FEATURES', 'gst-record', 'true', 'false', d)} ]; then
+ echo recorder=true >> ${WORKDIR}/virtualoutput.cfg
+ fi
+}
+
diff --git a/recipes-graphics/wayland/weston-ini-conf/virtualoutput.cfg b/recipes-graphics/wayland/weston-ini-conf/virtualoutput.cfg
new file mode 100644
index 000000000..76f536ff8
--- /dev/null
+++ b/recipes-graphics/wayland/weston-ini-conf/virtualoutput.cfg
@@ -0,0 +1,7 @@
+[output]
+name=virtual1
+mode=1920x1080@30
+ip=192.168.20.99
+port=5005
+bitrate=3000000
+crop=384x368@0x0