Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3ec2b85e authored by Robert Carr's avatar Robert Carr Committed by Rob Carr
Browse files

TransactionCallbackInvoker: Send callbacks on thread

The binder serialization cost and one way method cost can add up
when we have multiple layers. We invoked these callbacks directly
from the main thread in order to reduce latency. Latency requirements
are now loosened by two changes:
     1. Most of the time we have a queue on the server side
     and won't be trying to make the next frame from the callback
     2. In GL comp where frames are back to back, we now have
     release at latch.

Bug: 201436596
Test: Existing tests pass
Change-Id: I1372022b5130e041d6b2429a2e87e2c622086d7a
parent 6cb6100d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment