summaryrefslogtreecommitdiffstats
path: root/src/app.hpp
AgeCommit message (Collapse)AuthorFilesLines
2017-08-08app/api: add demo_activate_surface() api_bindingMarcus Fritzsch1-0/+1
* 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/wayland: move late-tasks to AppMarcus Fritzsch1-0/+6
* 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-08app: add surface_set_layout(), call it from genivi::controller late-taskMarcus Fritzsch1-0/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08add license text to implementation filesMarcus Fritzsch1-0/+16
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: use config to determine json config file namesMarcus Fritzsch1-0/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08layers: rename surface_id_to_layer and surface_id_to_layer_mapMarcus Fritzsch1-1/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: clang-formatMarcus Fritzsch1-3/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: scene setup according to ids.jsonMarcus Fritzsch1-0/+2
* 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: wire up controller_hooksMarcus Fritzsch1-0/+5
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: add very c++-y layout parsingMarcus Fritzsch1-0/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08app: reset g_app on ~App()Marcus Fritzsch1-0/+4
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08clang-format, mostly indenting.Marcus Fritzsch1-17/+18
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08glue: renamed output files to better represent their actual purposeMarcus Fritzsch1-1/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: move most of main to app, separate ownershipMarcus Fritzsch1-2/+12
* Move everything apart from the display connection itself to App. * Everything depending on the display however is owned by App. * Dispatch events for the application in App::dispatch_events() That is, display_dispatch and local stuff e.g. execute_pending(). Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08Generating binding API glue code using generate-binding.pyMarcus Fritzsch1-33/+13
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main/app: started to move things to appMarcus Fritzsch1-0/+52
Started implementing App, as the actual implementation, that is, to pull out all the stuff that is actually the application and only have glue code reside in main. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>