diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvflinger/buffer_item_consumer.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_item_consumer.h b/src/core/hle/service/nvflinger/buffer_item_consumer.h deleted file mode 100644 index a5c655d9e..000000000 --- a/src/core/hle/service/nvflinger/buffer_item_consumer.h +++ /dev/null @@ -1,28 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project -// SPDX-FileCopyrightText: Copyright 2012 The Android Open Source Project -// SPDX-License-Identifier: GPL-3.0-or-later -// Parts of this implementation were based on: -// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/BufferItemConsumer.h - -#pragma once - -#include <chrono> -#include <memory> - -#include "common/common_types.h" -#include "core/hle/service/nvflinger/consumer_base.h" -#include "core/hle/service/nvflinger/status.h" - -namespace Service::android { - -class BufferItem; - -class BufferItemConsumer final : public ConsumerBase { -public: - explicit BufferItemConsumer(std::unique_ptr<BufferQueueConsumer> consumer); - Status AcquireBuffer(BufferItem* item, std::chrono::nanoseconds present_when, - bool wait_for_fence = true); - Status ReleaseBuffer(const BufferItem& item, const Fence& release_fence); -}; - -} // namespace Service::android |