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

Commit 88249364 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Have the Surface class track the buffer age." into oc-mr1-dev

parents eb1c0658 6c161bd7
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -64,9 +64,8 @@ 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,
        &slot, &fence, width, height,
        static_cast<::android::PixelFormat>(format), usage, nullptr,
        getFrameTimestamps ? &outTimestamps : nullptr);
    hidl_handle tFence;
    FrameEventHistoryDelta tOutTimestamps;