summaryrefslogtreecommitdiffstats
path: root/AFBClient.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-09-14AFBClient: trace dispatch_internal(), header hygieneMarcus Fritzsch1-9/+23
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14AFBClient: make all call through call()Marcus Fritzsch1-92/+103
* 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 Fritzsch1-90/+104
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Add set_event_handler, added int returns for all API methods.Marcus Fritzsch1-15/+55
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Application code clean-upMarcus Fritzsch1-12/+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 Fritzsch1-55/+60
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 Fritzsch1-14/+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 Fritzsch1-0/+4
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 Fritzsch1-27/+65
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Moved the AFBClient to singletonMarcus Fritzsch1-0/+10
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Fix compilation for targetMarcus Fritzsch1-14/+19
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-14Fix compilation on hostMarcus Fritzsch1-3/+28
original author is Aurelian. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-09-12add AFBClientMarcus Fritzsch1-0/+133
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>