summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-09-14App: remove unused g_app global, make dtor defaultMarcus Fritzsch2-7/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14App: remove id_shift and id_mask constantsMarcus Fritzsch1-3/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14binding/afbclient: use the correct binding namesMarcus Fritzsch1-3/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14app/afbclient: use the correct names for active/inactive eventsMarcus Fritzsch1-2/+2
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14layers: remove priority from split layout definitionMarcus Fritzsch2-10/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14redraw_fixer: a couple of style fixesMarcus Fritzsch1-5/+7
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14app: a couple of style fixes + formatMarcus Fritzsch1-7/+10
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14cmake: enable c++14 for redraw_fixerMarcus Fritzsch1-0/+6
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Remove remnants of obsolete surface management by their IDsMarcus Fritzsch3-107/+38
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14cmake/config: use /etc/layers.json, install it to there too.Marcus Fritzsch1-2/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14winman: add install targetsMarcus Fritzsch1-0/+10
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12cmake: add file license headerMarcus Fritzsch1-0/+16
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12policy: add file license headerMarcus Fritzsch1-3/+15
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12redraw_fixer: add file license headerMarcus Fritzsch1-3/+15
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12redraw_fixer: fix a couple of unneeded extra redundant stuffMarcus Fritzsch1-40/+28
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12add redraw_fixer, separate controller toolMarcus Fritzsch2-1/+157
* Use the existing wayland.hpp/cpp implementation * Listen for visibility and destination_rectangle events * Apply changing values to opacity to "fix" redraw Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12util: add ability to disable afb logging macro usageMarcus Fritzsch1-0/+15
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: controller hooks implMarcus Fritzsch1-0/+6
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12policy: debuglog everytime-positive resultMarcus Fritzsch1-0/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12Add visibility dst-rect controller hooksMarcus Fritzsch2-1/+4
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: be more thorough on (de)activate()Marcus Fritzsch1-2/+4
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: correctly deactivate sub surfacesMarcus Fritzsch1-3/+6
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: remove unused field layoutsMarcus Fritzsch2-6/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: fix missing layout_commit() on single-surface deactivateMarcus Fritzsch1-0/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12policy: add a simple policy stub, broke some layouting thoMarcus Fritzsch5-77/+117
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12app: emit_syncdraw() only after layout commit to compositorMarcus Fritzsch1-8/+6
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12layers/app: properly remove surfs, deactivate main_surfaceMarcus Fritzsch3-3/+21
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: add layout_commit()Marcus Fritzsch2-13/+14
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: single-method layout setupMarcus Fritzsch2-74/+35
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: make a couple of methods private to signal internal useMarcus Fritzsch3-21/+35
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: add enqueue_flushdraw() and check_flushdraw()Marcus Fritzsch2-13/+28
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: do some clang-formatMarcus Fritzsch1-20/+20
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: rename api call implementations to api_*Marcus Fritzsch3-20/+21
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12app/binding: implement crude syndraw/enddraw/flushdraw sequenceMarcus Fritzsch3-7/+41
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: std::move() optional wrapped values out of thereMarcus Fritzsch1-3/+3
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: thoroughly check LayoutState availability in activate tooMarcus Fritzsch1-1/+7
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: be more thorough when checking surface-associated LayoutStateMarcus Fritzsch1-1/+7
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: take local copies of some optional<> wrapped values.Marcus Fritzsch1-6/+9
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: emit_flushdraw() should actually emit a flushdraw event.Marcus Fritzsch1-1/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12App: remove some superflous debuglog()Marcus Fritzsch1-5/+0
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12app: check layer <-> surface assoc more thoroughlyMarcus Fritzsch1-3/+14
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-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 Fritzsch2-8/+12
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>