summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical-html5/recipes-graphics/wayland
diff options
context:
space:
mode:
authorLorenzo Tilve <ltilve@igalia.com>2020-02-14 12:12:08 +0100
committerLorenzo Tilve <ltilve@igalia.com>2020-02-17 14:55:30 +0100
commit59bd63d58261d55bba95e1e243b670c4670f91b1 (patch)
tree8c29a25cf1f97d1224d4043dd1a7c2f5798a7b3b /meta-agl-profile-graphical-html5/recipes-graphics/wayland
parent2d86f0d7e00612a591c143b2c962e9192b2a396a (diff)
Use landscape layout by default on HTML5 image
This also workarounds an issue when starting the homescreen in portrait mode by default. Bug-AGL: SPEC-3181 Change-Id: Ia84baab19c13c8484f681c8218a406e836dd08b0 Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
Diffstat (limited to 'meta-agl-profile-graphical-html5/recipes-graphics/wayland')
-rw-r--r--meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf.bbappend12
-rw-r--r--meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf/hdmi-a-1-180.cfg4
-rw-r--r--meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf/virtual-landscape.cfg3
3 files changed, 19 insertions, 0 deletions
diff --git a/meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf.bbappend
new file mode 100644
index 00000000..2c5201aa
--- /dev/null
+++ b/meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf.bbappend
@@ -0,0 +1,12 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI_remove = " \
+ file://hdmi-a-1-270.cfg \
+ file://hdmi-a-1-90.cfg \
+ file://virtual.cfg \
+"
+
+SRC_URI += " \
+ file://hdmi-a-1-180.cfg \
+ file://virtual-landscape.cfg \
+"
diff --git a/meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf/hdmi-a-1-180.cfg b/meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf/hdmi-a-1-180.cfg
new file mode 100644
index 00000000..59e2c2db
--- /dev/null
+++ b/meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf/hdmi-a-1-180.cfg
@@ -0,0 +1,4 @@
+# A display is connected to HDMI-A-1
+[output]
+name=HDMI-A-1
+transform=0
diff --git a/meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf/virtual-landscape.cfg b/meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf/virtual-landscape.cfg
new file mode 100644
index 00000000..d6925363
--- /dev/null
+++ b/meta-agl-profile-graphical-html5/recipes-graphics/wayland/weston-ini-conf/virtual-landscape.cfg
@@ -0,0 +1,3 @@
+[output]
+name=Virtual-1
+mode=1920x1080