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>
|
|
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>
|
|
* When activating a surface on layer x, all surfaces on all layers above
this will be deactivated.
* Remove main_surface special case (we get the same result by putting
the main_surface on the bottom layer).
* Track LayoutState per layer, make can_split() accept this layer-local
LayoutState for its decision.
* Sort layers on load according to their ID. That is, do not make use
Of the layer's z-order attribute, also there is no need to.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
* Also make use of optional's operator* where appropriate.
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, move binding_m mutex to the binding glue.
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>
|
|
* Use lookup_id().
* Do not call activate_surface() as the surface does not yet exist.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
* Single name/id mapping in id_alloc.
* Add Proxy methods to App.
* Disable old API functions to activate surfaces by ID.
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>
|
|
Implementation untested, not sure if this is even sensible...
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
Also, make away with those overloaded operators for generation
and lookup.
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>
|
|
* request_surface(name: string) -> id: int.
* activate_surface(name: string).
* names will be mapped to their respective layers by use of the layers'
surface rola match, a regex.
* the generated IDs are global and not reused.
* allow wp-request to use -p, disable use of pygments even if found.
Things missing:
* surface removal does not remove already established mappings/names.
* Mostly untested.
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>
|
|
* Added "main_surface" entry to layers.json.
* This surface is never made invisible by activate_surface().
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
|
|
* Move late-tasks to App.
* Add add_task() to controller_hooks.
* Do not roundtrip at the end of App::execute_pending(), flush() is
enough.
* Tasks are now void() functions, need to capture what is needed.
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>
|
|
* Setup layers as specified in ids.json.
* Map surfaces to their layers.
* Complain about unknown surfaces (i.e. those w/o a mapping).
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>
|
|
* 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>
|