diff options
| author | 2021-06-18 17:21:39 +0000 | |
|---|---|---|
| committer | 2021-06-18 17:21:39 +0000 | |
| commit | a9e4e2fb7aea58d18c230e9fb8d40da72537997e (patch) | |
| tree | f5db4963468dc335b300cc870b462697ca7e3ee2 /services/surfaceflinger/TransactionCallbackInvoker.cpp | |
| parent | 7e19eaca332c9f301de70b404fb3648af82dcb3e (diff) | |
| parent | 899dcdb63ad9cb81d1987e89be08dc9603aad89b (diff) | |
Merge changes from topic "sf_maxAcquiredBufferCount" into sc-dev
* changes:
SF: change acquired buffers based on the current refresh rate
SF: increase the number of buffers for SurfaceView
Diffstat (limited to 'services/surfaceflinger/TransactionCallbackInvoker.cpp')
| -rw-r--r-- | services/surfaceflinger/TransactionCallbackInvoker.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/services/surfaceflinger/TransactionCallbackInvoker.cpp b/services/surfaceflinger/TransactionCallbackInvoker.cpp index 4f4c02be6c..fdf16a797f 100644 --- a/services/surfaceflinger/TransactionCallbackInvoker.cpp +++ b/services/surfaceflinger/TransactionCallbackInvoker.cpp @@ -235,8 +235,9 @@ status_t TransactionCallbackInvoker::addCallbackHandle(const sp<CallbackHandle>& handle->dequeueReadyTime); transactionStats->surfaceStats.emplace_back(surfaceControl, handle->acquireTime, handle->previousReleaseFence, - handle->transformHint, eventStats, jankData, - handle->previousBufferId); + handle->transformHint, + handle->currentMaxAcquiredBufferCount, + eventStats, jankData, handle->previousBufferId); } return NO_ERROR; } |