summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/TransactionCallbackInvoker.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/TransactionCallbackInvoker.h')
-rw-r--r--services/surfaceflinger/TransactionCallbackInvoker.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/services/surfaceflinger/TransactionCallbackInvoker.h b/services/surfaceflinger/TransactionCallbackInvoker.h
index 100dbfa8aa..e203d41bd9 100644
--- a/services/surfaceflinger/TransactionCallbackInvoker.h
+++ b/services/surfaceflinger/TransactionCallbackInvoker.h
@@ -76,7 +76,7 @@ public:
void addPresentFence(const sp<Fence>& presentFence);
- void sendCallbacks();
+ void sendCallbacks(bool onCommitOnly);
void clearCompletedTransactions() {
mCompletedTransactions.clear();
}
@@ -86,11 +86,9 @@ public:
private:
- status_t findTransactionStats(const sp<IBinder>& listener,
- const std::vector<CallbackId>& callbackIds,
- TransactionStats** outTransactionStats);
-
-
+ status_t findOrCreateTransactionStats(const sp<IBinder>& listener,
+ const std::vector<CallbackId>& callbackIds,
+ TransactionStats** outTransactionStats);
std::unordered_map<sp<IBinder>, std::deque<TransactionStats>, IListenerHash>
mCompletedTransactions;