summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerie Hau <vhau@google.com>2020-01-29 14:27:09 -0800
committerValerie Hau <vhau@google.com>2020-01-29 20:01:38 -0800
commitd6a222eab0d5095bb6736cc6acbe25c57eca1f11 (patch)
treede81b5492cc557133eb8feb1f1a251cbc8aad866
parent97e66d02067adcc68bff61d67f2adc2e875d2d21 (diff)
Pass back frame event stats
Adding frame event stats to SurfaceControlStats Not exposing to ASurfaceControlStats Bug: 141939081 Test: build, boot Change-Id: If64056514be6b5161d52f5e8c2cc499bd8389099
-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;