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>
|
|
* Also, move binding_m mutex to the binding glue.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
* Dispatch ayland events with ping() API call, after having read events
from wayland fd - in order to prevent indefinite-poll on wrongly read+
dispatch from multiple threads (dispatcher and API call).
* Add scope trace to all API call thunks.
* Split layout advancements, still broken AF though.
* Add App1 example split layout to App 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>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
* Preliminary event support - wrong names, likely wrong implementation
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>
|
|
* Move everything apart from the display connection itself to App.
* Everything depending on the display however is owned by App.
* Dispatch events for the application in App::dispatch_events()
That is, display_dispatch and local stuff e.g. execute_pending().
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Started implementing App, as the actual implementation, that is, to
pull out all the stuff that is actually the application and only have
glue code reside in main.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
It holds the data necessary for the AFB to work, hence call it
g_afb_instance to make this clear.
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>
|
|
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>
|
|
* Compile to shared object module, to be loaded by afb-daemon.
* Take most of main, rewrite to adhere to the AFB API.
* Implement dummy API call winman/status.
* Use export.map to specify symbol visibility.
* Poller and unique_fd are currently useless/unused.
* Logging is still only to stdout/stderr.
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>
|
|
* 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>
|
|
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 don't set layer visibility when adding surfaces.
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>
|