summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-14AFBClient: make all call through call()Marcus Fritzsch2-94/+108
* Make all calls through call(). * dispatch() aggressively to ensure we actually dispatch our call reply too. * Extend scope tracing, guarded by NDEBUG. * Remove onReply, always use the locally supplied callable. * Simplify method implementations making API calls. * Propagate API call result through call() method return value. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14AFBClient:: clang-formatMarcus Fritzsch1-116/+105
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14AFBClient: fix NDEBUG usageMarcus Fritzsch1-13/+12
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Make all non-public things private (move to impl)Marcus Fritzsch2-106/+110
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Add set_event_handler, added int returns for all API methods.Marcus Fritzsch2-20/+75
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Application code clean-upMarcus Fritzsch2-13/+4
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Removing some test callsMarcus Fritzsch1-6/+14
There were some test calls left that don't make any sense to be kept in the main(). Removed the extern C definitions of the functions used by the application from the AFB. Added some more debugging information original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14WIP: add enddraw() and deacrivate_surface() implementations.Marcus Fritzsch1-3/+11
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14WIP: make requestSurface/activateSurace() syncronousMarcus Fritzsch2-58/+62
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Reading and exporting the surfaceID from WMMarcus Fritzsch1-3/+17
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Remove the AFB definitionMarcus Fritzsch2-16/+0
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14WIP: dispatch sd_events, but break qt event handlingMarcus Fritzsch2-0/+5
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Trying to fix the link with wsj1Marcus Fritzsch1-3/+8
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Adding some extra application parametersMarcus Fritzsch2-29/+66
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Moved the AFBClient to singletonMarcus Fritzsch2-1/+21
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Fix compilation for targetMarcus Fritzsch2-20/+31
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Fix compilation on hostMarcus Fritzsch2-3/+32
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12add AFBClientMarcus Fritzsch2-0/+167
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-12wm-request: add file license headerMarcus Fritzsch1-0/+16
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-12layers.json: set OnScreen area to non-center non-fullMarcus Fritzsch1-1/+1
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>