summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-12app: check layer <-> surface assoc more thoroughlyMarcus Fritzsch1-3/+14
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12wm-request: use a preset UUID if uuidgen cannot be foundMarcus Fritzsch1-8/+13
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App/layers: deactivate surfaces on layers above.Marcus Fritzsch4-60/+85
* 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>
2017-09-12wm-request: fix unset-var errorMarcus Fritzsch1-0/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: special-case (de)activation for main_surfaceMarcus Fritzsch1-3/+27
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12misc: fix some minor style issues, fix SCOPE_TRACING compilationMarcus Fritzsch3-5/+5
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12app: emit syncdraw and flushdraw eventsMarcus Fritzsch1-20/+41
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12app: remove unsused surface ref in activate_surface()Marcus Fritzsch1-12/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12wayland: fix two instances of logdebug format breakageMarcus Fritzsch1-2/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12util/cmake: enable ScopeTracing through cmake variable optionMarcus Fritzsch3-8/+20
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12scripts: wm-request uses afb-client-demoMarcus Fritzsch1-13/+9
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12app: do not inline assignmentsMarcus Fritzsch1-3/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12app/layers: consolidate signed/unsigned usageMarcus Fritzsch3-46/+36
* Also make use of optional's operator* where appropriate. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12app/layout: fix split layout from and to transitionsMarcus Fritzsch3-108/+71
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12binding: protect raise(SIGKILL) by getenvMarcus Fritzsch1-2/+4
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12binding: make the pending_events functionality nicer[tm]Marcus Fritzsch3-9/+19
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12binding: ping() dispatches only pending eventsMarcus Fritzsch6-7/+19
* Also, move binding_m mutex to the binding glue. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12binding: manual lock on API call, do not use noconcurrent bitMarcus Fritzsch2-4/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12app/main: dispatch wayland events using ping(), WIP on split layoutMarcus Fritzsch4-38/+245
* 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>
2017-09-12binding: add ping() API callMarcus Fritzsch2-1/+10
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12app: remove last remnants of obsolete layout configMarcus Fritzsch1-57/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12layers: fix layers parsing, do not sort by prioMarcus Fritzsch2-14/+15
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12util: add scope tracer utility (hack, but more or less useful)Marcus Fritzsch2-2/+27
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12wayland: extend wl::display for finer grained dispatch controlMarcus Fritzsch2-0/+23
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12WIP split layouts, reading config, defining data layout.Marcus Fritzsch5-7/+89
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05App/binding: move binding_api impl to its own source file.Marcus Fritzsch3-73/+103
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05main: only exit on hangup if WINMAN_EXIT_ON_HANGUP env var is presentMarcus Fritzsch1-1/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05App: emit visibility eventsMarcus Fritzsch2-6/+18
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05layers: prefer using instead of typedefMarcus Fritzsch1-4/+4
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05layers.json: remove unused layers description.Marcus Fritzsch1-20/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05README: updateMarcus Fritzsch1-6/+9
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05App: be a little more thorough when activating a surfaceMarcus Fritzsch1-1/+4
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05App: only activate/deactivate if necessaryMarcus Fritzsch1-4/+10
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05App: remove unimplemented (stubbed) binding API methodsMarcus Fritzsch2-18/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05wayland: debug log prints IDs instead of controller ptrMarcus Fritzsch1-29/+28
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05App: some quality improvements, add activate/deactivate helperMarcus Fritzsch2-26/+33
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05App: remove last_active logicMarcus Fritzsch2-39/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-05main: exit on compositor hangupMarcus Fritzsch1-0/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04App: cleanup requestSurface API method.Marcus Fritzsch2-3/+4
* Use lookup_id(). * Do not call activate_surface() as the surface does not yet exist. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04App: emit activated and deactivated eventsMarcus Fritzsch1-0/+4
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04App: cleanup name/id mapping and its reverseMarcus Fritzsch2-74/+54
* 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>
2017-09-04App/API: fix event emission methodsMarcus Fritzsch4-8/+13
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04main: simplify event broadcastingMarcus Fritzsch1-2/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04app: remove previous work around experiments, add one that fixes HomeScreenMarcus Fritzsch1-21/+44
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04app: remove add_task/execute_pending supportMarcus Fritzsch4-50/+13
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04main/binding: do not allow concurrent threads in AppMarcus Fritzsch2-0/+7
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04app: workaround for visibility setting; use system()Marcus Fritzsch1-4/+10
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04app: visibility setting work around... peak software enfineering right here!!1Marcus Fritzsch1-2/+13
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04app: do not use the Qt surface ID shift hackMarcus Fritzsch1-2/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-04app: use activate_surface() in surface_set_layout()Marcus Fritzsch1-2/+7
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>