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

Commit 77e53335 authored by John Reck's avatar John Reck Committed by android-build-merger
Browse files

Ensure Dequeue/Queue duration is always set am: 70e89c9c

am: ed343def

Change-Id: I7d8d854254f491f1a65d0efb82fa8545bc6feacf
parents 917837bd ed343def
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -578,6 +578,9 @@ void CanvasContext::draw() {
                = swap.queueDuration;
        mHaveNewSurface = false;
        mFrameNumber = -1;
    } else {
        mCurrentFrameInfo->set(FrameInfoIndex::DequeueBufferDuration) = 0;
        mCurrentFrameInfo->set(FrameInfoIndex::QueueBufferDuration) = 0;
    }

    // TODO: Use a fence for real completion?