From d6b295b89882b61ddefc4bed4b6f8dad0181d170 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Sun, 20 Oct 2019 12:27:29 -0400 Subject: Add remote display support Apply a heavily refactored version of the remote display changes from the CES 2019 demo #3 source demo3/common/agl-service-windowmanager in: https://git.automotivelinux.org/staging/new-apps The refactoring of the extracted changes has been done with an eye to reduce code duplication and minimize the changes to existing code. As well, the required default policy manager changes missing in the demo #3 tree have been added to produce a working default policy. At present the configuration has been hard-coded to assume use of the tbtnavi application on a Weston remoting display, but testing has also been done with a second display on one board. The changes should not impact operation of any other application, as only applications with roles listed in the "Remote" layer definition can be displayed on a configured second Weston screen. Bug-AGL: SPEC-2914 Signed-off-by: Scott Murray Change-Id: I29380bbbec46969b75ed4fe7e8095db772524082 --- conf/areas.json | 9 +++++++++ conf/layers.json | 8 ++++++++ 2 files changed, 17 insertions(+) (limited to 'conf') diff --git a/conf/areas.json b/conf/areas.json index 03ddfe4..25d2e07 100644 --- a/conf/areas.json +++ b/conf/areas.json @@ -80,6 +80,15 @@ "w": 1080, "h": 1488 } + }, + { + "name": "remote.fullscreen", + "rect": { + "x": 0, + "y": 0, + "w": 640, + "h": 720 + } } ] } diff --git a/conf/layers.json b/conf/layers.json index 539846a..87cda15 100644 --- a/conf/layers.json +++ b/conf/layers.json @@ -49,6 +49,14 @@ "id_range_begin": 6000, "id_range_end": 6999, "comment": "System notification layer. For example, on_screen_low_battery_alert to notify user" + }, + { + "name": "Remote", + "role": "tbtnavi", + "type": "stack", + "id_range_begin": 9000, + "id_range_end": 9999, + "comment": "Range of IDs that will always be placed on the Remote layer for remote display, that gets a very high 'dummy' id of over 9000" } ] } -- cgit 1.2.3-korg