summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/TransactionCallbackInvoker.cpp
diff options
context:
space:
mode:
author Satish Yalla <satishy@google.com> 2024-08-30 09:25:35 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-08-30 09:25:35 +0000
commit4aface1c7583f8593ad40534f65218c590bd419e (patch)
treeb26a3b11f9ba0c6907e763a7efcdb5519cd27acf /services/surfaceflinger/TransactionCallbackInvoker.cpp
parent7a34bdcde80fbeb55b507cc7975b1f2a5125e562 (diff)
Revert^3 "Read from BufferReleaseChannel in background thread"
This reverts commit 7a34bdcde80fbeb55b507cc7975b1f2a5125e562. Reason for revert: Droidmonitor created revert due to b/363109809. Will be verifying through ABTD before submission. Change-Id: I933a9b7602732bcd8c152978bbb2c7ee88a1533b
Diffstat (limited to 'services/surfaceflinger/TransactionCallbackInvoker.cpp')
-rw-r--r--services/surfaceflinger/TransactionCallbackInvoker.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/services/surfaceflinger/TransactionCallbackInvoker.cpp b/services/surfaceflinger/TransactionCallbackInvoker.cpp
index c6856aea75..881bf35b58 100644
--- a/services/surfaceflinger/TransactionCallbackInvoker.cpp
+++ b/services/surfaceflinger/TransactionCallbackInvoker.cpp
@@ -149,13 +149,6 @@ status_t TransactionCallbackInvoker::addCallbackHandle(const sp<CallbackHandle>&
handle->transformHint,
handle->currentMaxAcquiredBufferCount,
eventStats, handle->previousReleaseCallbackId);
- if (handle->bufferReleaseChannel &&
- handle->previousReleaseCallbackId != ReleaseCallbackId::INVALID_ID) {
- mBufferReleases.emplace_back(handle->bufferReleaseChannel,
- handle->previousReleaseCallbackId,
- handle->previousReleaseFence,
- handle->currentMaxAcquiredBufferCount);
- }
}
return NO_ERROR;
}
@@ -165,12 +158,6 @@ void TransactionCallbackInvoker::addPresentFence(sp<Fence> presentFence) {
}
void TransactionCallbackInvoker::sendCallbacks(bool onCommitOnly) {
- for (const auto& bufferRelease : mBufferReleases) {
- bufferRelease.channel->writeReleaseFence(bufferRelease.callbackId, bufferRelease.fence,
- bufferRelease.currentMaxAcquiredBufferCount);
- }
- mBufferReleases.clear();
-
// For each listener
auto completedTransactionsItr = mCompletedTransactions.begin();
ftl::SmallVector<ListenerStats, 10> listenerStatsToSend;