summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/ClientCache.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2021-01-14 16:57:58 -0800
committer Robert Carr <racarr@google.com> 2021-02-03 17:05:51 -0800
commit9a803c3e842f0bd56b461cc7db912c2f4c09e39f (patch)
tree50f848015ba3652b72dde523ef9c3fde8b061ffc /services/surfaceflinger/ClientCache.cpp
parentc5515fccae31bcec3c9861512008e8684a0f173b (diff)
SurfaceFlinger: Emit TransactionCompleted callbacks directly.
Transaction complete callbacks (BLAST Buffer release callbacks), are emitted from a TransactionCompletedThread. There's no clear reason for this behavior, as the actual runtime is exceedingly minimal. This opens us to scheduling delays when we call TransactionCompletedThread.sendCallbacks. In this CL we both remove the threaded nature of TransactionCompletedThread, and also take advantage of it running on the main thread to reduce some unnecessary copying and further reduce its runtime. Bug: 176691195 Test: Existing tests pass Change-Id: Ib1661df24c4a2ee39fc28c29a395158ce0ee7b7f
Diffstat (limited to 'services/surfaceflinger/ClientCache.cpp')
0 files changed, 0 insertions, 0 deletions