summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-08app/api: add demo_activate_surface() api_bindingMarcus Fritzsch6-0/+52
* Added "main_surface" entry to layers.json. * This surface is never made invisible by activate_surface(). Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: do not set surface source rectangle on layout setupMarcus Fritzsch1-2/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: comment on surface visiblity and layout setupMarcus Fritzsch1-0/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app/wayland: move late-tasks to AppMarcus Fritzsch5-38/+39
* Move late-tasks to App. * Add add_task() to controller_hooks. * Do not roundtrip at the end of App::execute_pending(), flush() is enough. * Tasks are now void() functions, need to capture what is needed. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08cmake: reference export.map using CMAKE_CURRENT_SOURCE_DIRMarcus Fritzsch1-2/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08fix LICENSE fileMarcus Fritzsch1-25/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08add LICENSE fileMarcus Fritzsch1-0/+202
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: add surface_set_layout(), call it from genivi::controller late-taskMarcus Fritzsch2-38/+55
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: add {surface,layer}_exists(uint32_t) methodsMarcus Fritzsch1-0/+9
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: rename fullscren surface taskMarcus Fritzsch1-1/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08add license text to implementation filesMarcus Fritzsch18-0/+288
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: debug_layers returns a representation of layers.json configurationMarcus Fritzsch1-1/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: add layer and layer_map to_json() helperMarcus Fritzsch2-1/+41
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: add genivi::full_rect and operator== for genivi::rectMarcus Fritzsch1-0/+6
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: use config to determine json config file namesMarcus Fritzsch2-13/+23
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08add config, a simple config interface. i.e. key-value-storeMarcus Fritzsch3-1/+53
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08rename ids.json to layers.json, because that's what is is.Marcus Fritzsch1-0/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: rename load_layer_ids to load_layer_mapMarcus Fritzsch1-2/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: rename surface_id_to_layer and surface_id_to_layer_mapMarcus Fritzsch4-43/+36
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layer: document intentions of layer structureMarcus Fritzsch1-0/+10
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: some comments and erorrs regarding IDs configurationMarcus Fritzsch1-0/+10
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: when loading config, handle returned errorsMarcus Fritzsch1-8/+16
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: simplify config loading code, handle errors tooMarcus Fritzsch1-6/+20
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08minor clang-formatMarcus Fritzsch3-16/+16
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08add simple READMEMarcus Fritzsch1-0/+71
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: handle failure to load layout.json gracefullyMarcus Fritzsch2-1/+24
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: implement configured surface areas from ids.jsonMarcus Fritzsch4-20/+54
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: make genivi::rect::width and height int32Marcus Fritzsch3-6/+6
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: surfaces on layer != 1000 leave a 100pixel top and bottom marginMarcus Fritzsch1-3/+14
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: add debug_terminate() event, quick hack to terminateMarcus Fritzsch2-0/+9
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: clang-formatMarcus Fritzsch2-2/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08util: clang-formatMarcus Fritzsch1-2/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: clang-formatMarcus Fritzsch2-15/+15
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08json_helper: clang-formatMarcus Fritzsch2-3/+5
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08controller_hooks: clang-formatMarcus Fritzsch1-1/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: clang-formatMarcus Fritzsch2-7/+16
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08result: return nullopt if error is actuall nullptrMarcus Fritzsch1-5/+5
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: provide a layers-only vectorMarcus Fritzsch3-6/+14
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: logdebug() layer setupMarcus Fritzsch1-1/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: scene setup according to ids.jsonMarcus Fritzsch2-35/+40
* Setup layers as specified in ids.json. * Map surfaces to their layers. * Complain about unknown surfaces (i.e. those w/o a mapping). Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: preallocate layouts storageMarcus Fritzsch1-0/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app/wayland: move surface setup as is to app controller hookMarcus Fritzsch2-9/+12
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: wire up controller_hooksMarcus Fritzsch3-3/+47
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08add controller_hooks, a proxy for calls from the controller to the applicationMarcus Fritzsch2-1/+25
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app/layers: move embedded test run to layersMarcus Fritzsch2-23/+30
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08remove some of th more verbose debug messagesMarcus Fritzsch2-2/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08result: remove broken map()Marcus Fritzsch1-12/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: move get_layer_for_surface() to .cppMarcus Fritzsch2-21/+29
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08clang-tidy once moreMarcus Fritzsch3-10/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: introduce layers.hpp and .cpp for layer related codeMarcus Fritzsch6-86/+109
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>