diff options
| author | 2020-02-06 01:11:19 +0000 | |
|---|---|---|
| committer | 2020-02-06 01:11:19 +0000 | |
| commit | dda5d58c17ea381fcc46f35c36611fb9779df831 (patch) | |
| tree | f847f53c82237a80498d82228a4e5d3427182153 /services/surfaceflinger/TransactionCompletedThread.cpp | |
| parent | 21a64de2f77e9a909de2c414e683535130b16d6e (diff) | |
| parent | 871d635736f502e67e6b41a162d4c77826cf6523 (diff) | |
Merge "Plumb FrameEventHistory to client"
Diffstat (limited to 'services/surfaceflinger/TransactionCompletedThread.cpp')
| -rw-r--r-- | services/surfaceflinger/TransactionCompletedThread.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/services/surfaceflinger/TransactionCompletedThread.cpp b/services/surfaceflinger/TransactionCompletedThread.cpp index daa67ae043..0cdff8f380 100644 --- a/services/surfaceflinger/TransactionCompletedThread.cpp +++ b/services/surfaceflinger/TransactionCompletedThread.cpp @@ -237,9 +237,13 @@ status_t TransactionCompletedThread::addCallbackHandle(const sp<CallbackHandle>& // destroyed the client side is dead and there won't be anyone to send the callback to. sp<IBinder> surfaceControl = handle->surfaceControl.promote(); if (surfaceControl) { + FrameEventHistoryStats eventStats(handle->frameNumber, + handle->gpuCompositionDoneFence->getSnapshot().fence, + handle->compositorTiming, handle->refreshStartTime, + handle->dequeueReadyTime); transactionStats->surfaceStats.emplace_back(surfaceControl, handle->acquireTime, handle->previousReleaseFence, - handle->transformHint); + handle->transformHint, eventStats); } return NO_ERROR; } |