Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
As both share the exact same properties this makes sense, we now can
write code once and work on both layer and surface properties. This
however is only relevant in the wayland "level" of things, as in WM
semantics layers are always fullscreen.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
* Introduced helper struct Poller
* Implements check_events() and calls custom handlers on POLLIN.
* Moved status dump to genivi::controller.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
* 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>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Needed to lookup the objects when we receive calls like e.g.
surface::layer().
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
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>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
* Also; added output_size - for now.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
* Added layer_create and surface_create to genivi::controller.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
* 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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|