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

Commit 0fbeb4d0 authored by Ian Elliott's avatar Ian Elliott Committed by Android (Google) Code Review
Browse files

Merge "Revert "Have the Surface class track the buffer age.""

parents 0892aeaa cd5a09d6
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -64,8 +64,9 @@ Return<void> TWGraphicBufferProducer::dequeueBuffer(
    sp<Fence> fence;
    ::android::FrameEventHistoryDelta outTimestamps;
    status_t status = mBase->dequeueBuffer(
        &slot, &fence, width, height,
        static_cast<::android::PixelFormat>(format), usage, nullptr,
            &slot, &fence,
            width, height,
            static_cast<::android::PixelFormat>(format), usage,
            getFrameTimestamps ? &outTimestamps : nullptr);
    hidl_handle tFence;
    FrameEventHistoryDelta tOutTimestamps;