summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Marcus Fritzsch [Fri, 23 Jun 2017 13:09:03 +0000 (15:09 +0200)]
main: do not capture the whole environment in lambdas
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 13:08:02 +0000 (15:08 +0200)]
main: added some 'demarcation' comments
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 13:05:14 +0000 (15:05 +0200)]
main/init_layout: use screen::set_render_order instead of add_layer calls
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 13:04:37 +0000 (15:04 +0200)]
wayland: C++ified set_render_order requests for layer and screen
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 12:48:06 +0000 (14:48 +0200)]
update session
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 12:47:39 +0000 (14:47 +0200)]
wayland: initialize layer members
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 12:47:23 +0000 (14:47 +0200)]
wayland: print debug message when setting surface onto layer
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 12:47:00 +0000 (14:47 +0200)]
wayland: remove surface immediately on surface_destroyed event
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 12:28:10 +0000 (14:28 +0200)]
main: flush after execute_pending
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 12:27:55 +0000 (14:27 +0200)]
main: Reset layout on stratup; bottom and top layer layout
* 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>
Marcus Fritzsch [Fri, 23 Jun 2017 12:26:16 +0000 (14:26 +0200)]
wayland: put surface 0x16180 on layer 100, all others on layer 1000
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 12:25:50 +0000 (14:25 +0200)]
wayland: minimal code style change
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 12:10:21 +0000 (14:10 +0200)]
main: also show layer info on line break
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 12:09:52 +0000 (14:09 +0200)]
wayland: simplify surface property setting
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 12:09:32 +0000 (14:09 +0200)]
wayland: store layer properties
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 10:41:25 +0000 (12:41 +0200)]
wayland: set surfaces fullscreen when configured.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 10:40:55 +0000 (12:40 +0200)]
wayland: initalize all controll members
* Also; added output_size - for now.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 10:29:27 +0000 (12:29 +0200)]
main: init dummy layout of layer 100 on the first screen
* 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>
Marcus Fritzsch [Fri, 23 Jun 2017 10:24:41 +0000 (12:24 +0200)]
main: check that outputs are available before running main loop
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 10:24:06 +0000 (12:24 +0200)]
wayland: add missing add_layer and clear requests to genivi::screen
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 10:23:36 +0000 (12:23 +0200)]
wayland: add missing controller requests
* Added layer_create and surface_create to genivi::controller.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 23 Jun 2017 07:25:26 +0000 (09:25 +0200)]
wayland: task names, delete surfaces using pending_tasks
* 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>
Marcus Fritzsch [Thu, 22 Jun 2017 14:23:35 +0000 (16:23 +0200)]
main: execute controllers pending tasks, clang-format
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Thu, 22 Jun 2017 14:23:17 +0000 (16:23 +0200)]
wayland: added a pending tasks list to controller
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>
Marcus Fritzsch [Thu, 22 Jun 2017 14:21:26 +0000 (16:21 +0200)]
wayland: storing output mode and surface properties
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>
Marcus Fritzsch [Thu, 22 Jun 2017 14:22:21 +0000 (16:22 +0200)]
wayland: added genivi::rect and genivi::size and props to genivi::surface
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Thu, 22 Jun 2017 12:20:16 +0000 (14:20 +0200)]
wayland: remove surfaces that got destroyed
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Thu, 22 Jun 2017 12:19:36 +0000 (14:19 +0200)]
main/wayland: added a simple main loop
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Mon, 19 Jun 2017 13:05:09 +0000 (15:05 +0200)]
updated session
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Mon, 19 Jun 2017 11:52:10 +0000 (13:52 +0200)]
wayland: minor fix with this-> and formatting
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Mon, 19 Jun 2017 11:51:44 +0000 (13:51 +0200)]
util: add printf format check attributes
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Mon, 19 Jun 2017 11:51:12 +0000 (13:51 +0200)]
cmake: introduce ENABLE_DEBUG_OUTPUT cmake cache variable
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Mon, 19 Jun 2017 08:29:38 +0000 (10:29 +0200)]
renamed controller event methods, all have now a controller_ prefix
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Mon, 19 Jun 2017 08:16:20 +0000 (10:16 +0200)]
do not initialize registry when display is unavailable
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 9 Jun 2017 15:18:28 +0000 (17:18 +0200)]
removed all notifier remnants
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 9 Jun 2017 15:13:43 +0000 (17:13 +0200)]
wayland: refactored genivi object events
Events are now delivered to surface_* and layer_* methods of the
controller. The genivi object wrappers still are needed to hold wl_proxy
objects, their id and a reference/pointer to the controller.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 9 Jun 2017 13:55:20 +0000 (15:55 +0200)]
wayland: added notification prototype, be more explicit about struct types
Notification support can be implemented on genivi objects using the
genivi::notify::notifier, it is supposed to be inherited from by the
notification-needing types, e.g. genivi::surface.
Currently no implementation for notifier is present (only an empty
shell) also it is not yet clear, if the notifications will be sent from
the genivi objects method's or e.g. their thunks (which would simplify
the methods considerably).
Added request wrappers for genivi::surface and genivi::layer, just
inline them into the class and be done with it.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Fri, 9 Jun 2017 13:52:36 +0000 (15:52 +0200)]
cmake: visibility is hidden, do not warn about comments
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Thu, 8 Jun 2017 14:20:39 +0000 (16:20 +0200)]
fixed display dtor message, added layer request defs
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Thu, 8 Jun 2017 13:40:11 +0000 (15:40 +0200)]
moved callback thunks to impl, makes classes readable
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Thu, 8 Jun 2017 13:00:55 +0000 (15:00 +0200)]
hooked up genivi::surface and layer
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Thu, 8 Jun 2017 11:33:47 +0000 (13:33 +0200)]
cpp, simple wrappers for most of what we need, ivi_* still incomplete
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Wed, 7 Jun 2017 16:02:36 +0000 (18:02 +0200)]
cpp, more listeners
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Wed, 7 Jun 2017 12:29:15 +0000 (14:29 +0200)]
add gvim session
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Marcus Fritzsch [Wed, 7 Jun 2017 12:28:57 +0000 (14:28 +0200)]
initial commit
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>