summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Rob Carr <racarr@google.com> 2022-01-04 22:00:00 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-01-04 22:00:00 +0000
commit39bfc78fa03edb6cd10f42b074e4c71e28518e7f (patch)
tree23b37b0e23746789cf6a41e08776dbb72548d000
parent238c6d65d0ba15ed9d3f2f27ddb9b0357a4bb601 (diff)
parentdf7c72558630e4b9e3fa50e3fda4ff8a5bed22e8 (diff)
Merge "DO NOT MERGE: Track SurfaceComposerClient changes" into sc-v2-dev
-rw-r--r--native/android/surface_control.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/native/android/surface_control.cpp b/native/android/surface_control.cpp
index 693a027bd0e2..d818ffc7c352 100644
--- a/native/android/surface_control.cpp
+++ b/native/android/surface_control.cpp
@@ -298,7 +298,7 @@ void ASurfaceTransaction_setOnComplete(ASurfaceTransaction* aSurfaceTransaction,
auto& aSurfaceControlStats = aSurfaceTransactionStats.aSurfaceControlStats;
- for (const auto& [surfaceControl, latchTime, acquireTime, presentFence, previousReleaseFence, transformHint, frameEvents] : surfaceControlStats) {
+ for (const auto& [surfaceControl, latchTime, acquireTime, presentFence, previousReleaseFence, transformHint, frameEvents, ignore] : surfaceControlStats) {
ASurfaceControl* aSurfaceControl = reinterpret_cast<ASurfaceControl*>(surfaceControl.get());
aSurfaceControlStats[aSurfaceControl].acquireTime = acquireTime;
aSurfaceControlStats[aSurfaceControl].previousReleaseFence = previousReleaseFence;
@@ -650,7 +650,7 @@ void ASurfaceTransaction_setOnCommit(ASurfaceTransaction* aSurfaceTransaction, v
for (const auto&
[surfaceControl, latchTime, acquireTime, presentFence,
previousReleaseFence, transformHint,
- frameEvents] : surfaceControlStats) {
+ frameEvents, ignore] : surfaceControlStats) {
ASurfaceControl* aSurfaceControl =
reinterpret_cast<ASurfaceControl*>(surfaceControl.get());
aSurfaceControlStats[aSurfaceControl].acquireTime = acquireTime;
@@ -662,4 +662,4 @@ void ASurfaceTransaction_setOnCommit(ASurfaceTransaction* aSurfaceTransaction, v
Transaction* transaction = ASurfaceTransaction_to_Transaction(aSurfaceTransaction);
transaction->addTransactionCommittedCallback(callback, context);
-} \ No newline at end of file
+}