aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-08-08main: add wl_output proxy-to-id mapping in wl_output global handlerMarcus Fritzsch1-4/+10
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: rename connection, streamline init_layout and error handlingMarcus Fritzsch1-14/+16
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: do not special-case ~display for DEBUG_OUTPUTMarcus Fritzsch1-11/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: genivi object events are called with their respective objectMarcus Fritzsch2-74/+77
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: be explicit about our struct layer/surface designationMarcus Fritzsch1-2/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: wayland_proxy ctor improvementMarcus Fritzsch1-4/+3
* Take the std::function by rval reference. * Do not create a lambda for the wl_proxy_destroy deleter. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: header order fixed, comment on controller member orderMarcus Fritzsch1-1/+8
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: delete copy ctors and operatorsMarcus Fritzsch1-0/+16
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08cmake: do not generate the ivi_application protocolMarcus Fritzsch1-2/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: unique_ptr'd wayland_proxyMarcus Fritzsch2-110/+117
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: removed unnecessary destructorsMarcus Fritzsch2-11/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: simpler layout for controller::proxy_to_id mapsMarcus Fritzsch2-4/+6
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: moved screen inline methods to .cppMarcus Fritzsch2-13/+18
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: do not include cstdlib, it's unusedMarcus Fritzsch1-2/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: moved inline methods to .cppMarcus Fritzsch2-134/+166
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: less cast-y, minor style fixesMarcus Fritzsch1-41/+39
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08cmake: merged target properties on winman, added IPO/LTOMarcus Fritzsch1-3/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08clang-tidy the place upMarcus Fritzsch3-80/+91
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: controller_surface() sets surface visibility, less lookupsMarcus Fritzsch1-3/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: less lookup-y controller_layer()Marcus Fritzsch1-1/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: remove layer on controller::layer_destroyedMarcus Fritzsch1-0/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: set layer visibility in init_layout()Marcus Fritzsch2-2/+3
Also don't set layer visibility when adding surfaces. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: minor clang-format fixesMarcus Fritzsch1-2/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: introduce reverse mappings of proxy-ptr to idMarcus Fritzsch2-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-08wayland: rename controlled_entity to controller_childMarcus Fritzsch2-9/+9
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: pass struct conn by-reference to init_layout()Marcus Fritzsch1-6/+6
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: strip std::quniue_ptr from wl::display as it is superfluousMarcus Fritzsch1-17/+17
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: cast wl_fixed_to_double() return to float for our interfaceMarcus Fritzsch1-2/+4
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: display unique_ptr holds a void(*)(...) deleterMarcus Fritzsch2-5/+8
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: clang-formatMarcus Fritzsch2-21/+21
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08util: make log_() staticMarcus Fritzsch1-1/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: one less level of unique_ptrMarcus Fritzsch3-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-08main: use auto variables where appropriate and sensibleMarcus Fritzsch1-4/+4
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: header hygieneMarcus Fritzsch1-5/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08cmake: modernized to the best of my knowledgeMarcus Fritzsch1-1/+29
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: set surface layout in controller::surfaceMarcus Fritzsch1-15/+11
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08use unordered_map for id->obj mapsMarcus Fritzsch3-9/+7
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: c++-ifiy struct conn c initMarcus Fritzsch1-1/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: do not capture the whole environment in lambdasMarcus Fritzsch1-2/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: added some 'demarcation' commentsMarcus Fritzsch1-0/+18
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main/init_layout: use screen::set_render_order instead of add_layer callsMarcus Fritzsch1-2/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: C++ified set_render_order requests for layer and screenMarcus Fritzsch1-2/+15
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: initialize layer membersMarcus Fritzsch1-2/+10
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: print debug message when setting surface onto layerMarcus Fritzsch1-0/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: remove surface immediately on surface_destroyed eventMarcus Fritzsch1-0/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: flush after execute_pendingMarcus Fritzsch1-0/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: Reset layout on stratup; bottom and top layer layoutMarcus Fritzsch1-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-08wayland: put surface 0x16180 on layer 100, all others on layer 1000Marcus Fritzsch1-2/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08wayland: minimal code style changeMarcus Fritzsch1-1/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-08-08main: also show layer info on line breakMarcus Fritzsch1-0/+11
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>