summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/TransactionCallbackInvoker.cpp
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2021-06-18 17:45:42 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2021-06-18 17:45:42 +0000
commite31243e10cd00740edca5d771f5a06b7e14a6287 (patch)
tree89785b483c4b7dd8c8891e0784f810cd73fd65eb /services/surfaceflinger/TransactionCallbackInvoker.cpp
parent45ddb87d7e547af7bdf39c6cfe959e847b61e365 (diff)
parent19e047fb7c39fe52ab4bfbb02c09056b1b14d6f0 (diff)
Merge changes from topic "sf_maxAcquiredBufferCount" into sc-dev am: a9e4e2fb7a am: 19e047fb7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14633449 Change-Id: Iae9b092dba5eedc8a83c6063e9d198bfa3804808
Diffstat (limited to 'services/surfaceflinger/TransactionCallbackInvoker.cpp')
-rw-r--r--services/surfaceflinger/TransactionCallbackInvoker.cpp5
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;
}