summaryrefslogtreecommitdiff
path: root/native
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-02-06 01:11:19 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-02-06 01:11:19 +0000
commitc9853809e11db0cff1750a6379a976ba7ff147f4 (patch)
treee28d0f0074694c9239159e08147060ead6a354ef /native
parent39dcf2a1485411d5f9e91ddb1117908df1daf800 (diff)
parentd6a222eab0d5095bb6736cc6acbe25c57eca1f11 (diff)
Merge "Pass back frame event stats"
Diffstat (limited to 'native')
-rw-r--r--native/android/surface_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/android/surface_control.cpp b/native/android/surface_control.cpp
index 392c9f6404ba..ba793e83f1fb 100644
--- a/native/android/surface_control.cpp
+++ b/native/android/surface_control.cpp
@@ -294,7 +294,7 @@ void ASurfaceTransaction_setOnComplete(ASurfaceTransaction* aSurfaceTransaction,
auto& aSurfaceControlStats = aSurfaceTransactionStats.aSurfaceControlStats;
- for (const auto& [surfaceControl, acquireTime, previousReleaseFence, transformHint] : surfaceControlStats) {
+ for (const auto& [surfaceControl, latchTime, acquireTime, presentFence, previousReleaseFence, transformHint, frameEvents] : surfaceControlStats) {
ASurfaceControl* aSurfaceControl = reinterpret_cast<ASurfaceControl*>(surfaceControl.get());
aSurfaceControlStats[aSurfaceControl].acquireTime = acquireTime;
aSurfaceControlStats[aSurfaceControl].previousReleaseFence = previousReleaseFence;