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

Commit 295d81c3 authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Ensure Dequeue/Queue duration is always set" into nyc-mr1-dev

parents 867f6d5d 70e89c9c
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?