diff options
author | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2018-05-16 09:48:31 +0000 |
---|---|---|
committer | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2018-05-18 15:57:15 +0900 |
commit | 443b9523b2e82352be9261d65f55bff9b0a5e4de (patch) | |
tree | 0966db2fe6dd8bae5b8f74df24e362d3b92eb0cf /src/layers.hpp | |
parent | 33ee7d8a99c540749dd9691362f109c5b884e588 (diff) |
Since the AGL HomeScreen of CES2018 assumes that the screen
resolution is 1080x1920px, the graphics of it partially
corrupted with others.
To fix this issue, now the AGL window manager automatically
scales size of HomeScreen to fit the resolution of the display.
By default, this scaling keeps HomeScreen's original aspect
rate (9:16). To ignore it, set the environment variable,
'HMI_SCALING_IGNORE_ASPECT'.
(E.g. set it in any file under /etc/afm/unit.env.d/)
Bug-AGL: SPEC-1138
Change-Id: Id11a07560fe254712aaab42018bfb4d1d87ad1df
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'src/layers.hpp')
-rw-r--r-- | src/layers.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layers.hpp b/src/layers.hpp index 1942229..fd0072b 100644 --- a/src/layers.hpp +++ b/src/layers.hpp @@ -77,6 +77,9 @@ struct layer_map { layers_type layers; // the actual layer IDs we have int main_surface; std::string main_surface_name; + int main_surface_width; + int main_surface_height; + bool scaling_keep_aspect = true; role_to_layer_map roles; addsurf_layer_map surfaces; // additional surfaces on layers |