Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-08 | wayland: less lookup-y controller_layer() | Marcus Fritzsch | 1 | -1/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: remove layer on controller::layer_destroyed | Marcus Fritzsch | 1 | -0/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: set layer visibility in init_layout() | Marcus Fritzsch | 2 | -2/+3 | |
Also don't set layer visibility when adding surfaces. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: minor clang-format fixes | Marcus Fritzsch | 1 | -2/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: introduce reverse mappings of proxy-ptr to id | Marcus Fritzsch | 2 | -2/+44 | |
Needed to lookup the objects when we receive calls like e.g. surface::layer(). Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: rename controlled_entity to controller_child | Marcus Fritzsch | 2 | -9/+9 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: pass struct conn by-reference to init_layout() | Marcus Fritzsch | 1 | -6/+6 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: strip std::quniue_ptr from wl::display as it is superfluous | Marcus Fritzsch | 1 | -17/+17 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: cast wl_fixed_to_double() return to float for our interface | Marcus Fritzsch | 1 | -2/+4 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: display unique_ptr holds a void(*)(...) deleter | Marcus Fritzsch | 2 | -5/+8 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: clang-format | Marcus Fritzsch | 2 | -21/+21 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | util: make log_() static | Marcus Fritzsch | 1 | -1/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: one less level of unique_ptr | Marcus Fritzsch | 3 | -25/+23 | |
Display now holds struct registry by value, as holding it through a unique_ptr was rather unnecessary. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: use auto variables where appropriate and sensible | Marcus Fritzsch | 1 | -4/+4 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: header hygiene | Marcus Fritzsch | 1 | -5/+0 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | cmake: modernized to the best of my knowledge | Marcus Fritzsch | 1 | -1/+29 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: set surface layout in controller::surface | Marcus Fritzsch | 1 | -15/+11 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | use unordered_map for id->obj maps | Marcus Fritzsch | 3 | -9/+7 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: c++-ifiy struct conn c init | Marcus Fritzsch | 1 | -1/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: do not capture the whole environment in lambdas | Marcus Fritzsch | 1 | -2/+2 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: added some 'demarcation' comments | Marcus Fritzsch | 1 | -0/+18 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main/init_layout: use screen::set_render_order instead of add_layer calls | Marcus Fritzsch | 1 | -2/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: C++ified set_render_order requests for layer and screen | Marcus Fritzsch | 1 | -2/+15 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: initialize layer members | Marcus Fritzsch | 1 | -2/+10 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: print debug message when setting surface onto layer | Marcus Fritzsch | 1 | -0/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: remove surface immediately on surface_destroyed event | Marcus Fritzsch | 1 | -0/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: flush after execute_pending | Marcus Fritzsch | 1 | -0/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: Reset layout on stratup; bottom and top layer layout | Marcus Fritzsch | 1 | -12/+19 | |
* When started, layout is cleared, that is layers will be removed and screen render order reset * Layers 100 and 1000 are created, layer 1000 s the top layer. * Add layers to screen * C++-ification of some cumbersome direct-pointer accesses. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: put surface 0x16180 on layer 100, all others on layer 1000 | Marcus Fritzsch | 1 | -2/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: minimal code style change | Marcus Fritzsch | 1 | -1/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: also show layer info on line break | Marcus Fritzsch | 1 | -0/+11 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: simplify surface property setting | Marcus Fritzsch | 1 | -12/+8 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: store layer properties | Marcus Fritzsch | 2 | -9/+21 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: set surfaces fullscreen when configured. | Marcus Fritzsch | 2 | -6/+9 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: initalize all controll members | Marcus Fritzsch | 2 | -1/+8 | |
* Also; added output_size - for now. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: init dummy layout of layer 100 on the first screen | Marcus Fritzsch | 1 | -0/+25 | |
* If the layer is not existent, create it. * Set the layer to the output dimensions. * Set layer visibility to 1. * Add the layer to the first screen. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: check that outputs are available before running main loop | Marcus Fritzsch | 1 | -0/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: add missing add_layer and clear requests to genivi::screen | Marcus Fritzsch | 1 | -0/+3 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: add missing controller requests | Marcus Fritzsch | 2 | -1/+19 | |
* Added layer_create and surface_create to genivi::controller. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: task names, delete surfaces using pending_tasks | Marcus Fritzsch | 2 | -7/+12 | |
* Use the pending task list to delete surfaces * Added task names for debug output, simple pointers to const char for dirty and cheap storage. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main: execute controllers pending tasks, clang-format | Marcus Fritzsch | 1 | -11/+16 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: added a pending tasks list to controller | Marcus Fritzsch | 1 | -0/+15 | |
With this item it is possible to append tasks to the controller, which will be executed after the current events have been dispatched. Note, that tasks need to check their needed resources are still alive! Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: storing output mode and surface properties | Marcus Fritzsch | 2 | -2/+39 | |
The events for this are received by the controller, the data however is stored in the surface proxe wrappers. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: added genivi::rect and genivi::size and props to genivi::surface | Marcus Fritzsch | 1 | -0/+16 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: remove surfaces that got destroyed | Marcus Fritzsch | 1 | -0/+4 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | main/wayland: added a simple main loop | Marcus Fritzsch | 3 | -5/+52 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | wayland: minor fix with this-> and formatting | Marcus Fritzsch | 2 | -3/+4 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | util: add printf format check attributes | Marcus Fritzsch | 1 | -5/+12 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | renamed controller event methods, all have now a controller_ prefix | Marcus Fritzsch | 2 | -14/+16 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> | |||||
2017-08-08 | do not initialize registry when display is unavailable | Marcus Fritzsch | 1 | -1/+1 | |
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com> |