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

Commit cd5a09d6 authored by Ian Elliott's avatar Ian Elliott
Browse files

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

This reverts commit e0ecc35b.

Change-Id: I5c42683f9eadec78138eca0f5541d9d161e5bec9
parent e0ecc35b
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;