summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
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>