Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec453e14 authored by Valerie Hau's avatar Valerie Hau
Browse files

Adding transformHint to callbacks

Bug: 141939598, 133512804
Test: build, boot, manual
Change-Id: I58411368e5187b3a23eb9e8ac9abbf1cb1a5d97e
parent 017cbabd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -294,7 +294,7 @@ void ASurfaceTransaction_setOnComplete(ASurfaceTransaction* aSurfaceTransaction,


        auto& aSurfaceControlStats = aSurfaceTransactionStats.aSurfaceControlStats;
        auto& aSurfaceControlStats = aSurfaceTransactionStats.aSurfaceControlStats;


        for (const auto& [surfaceControl, acquireTime, previousReleaseFence] : surfaceControlStats) {
        for (const auto& [surfaceControl, acquireTime, previousReleaseFence, transformHint] : surfaceControlStats) {
            ASurfaceControl* aSurfaceControl = reinterpret_cast<ASurfaceControl*>(surfaceControl.get());
            ASurfaceControl* aSurfaceControl = reinterpret_cast<ASurfaceControl*>(surfaceControl.get());
            aSurfaceControlStats[aSurfaceControl].acquireTime = acquireTime;
            aSurfaceControlStats[aSurfaceControl].acquireTime = acquireTime;
            aSurfaceControlStats[aSurfaceControl].previousReleaseFence = previousReleaseFence;
            aSurfaceControlStats[aSurfaceControl].previousReleaseFence = previousReleaseFence;