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

Commit ebe5dadd 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."

parents b9926f1f ee9ddeff
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;