diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvflinger/hos_binder_driver_server.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/core/hle/service/nvflinger/hos_binder_driver_server.h b/src/core/hle/service/nvflinger/hos_binder_driver_server.h deleted file mode 100644 index 8fddc1206..000000000 --- a/src/core/hle/service/nvflinger/hos_binder_driver_server.h +++ /dev/null @@ -1,37 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project -// SPDX-License-Identifier: GPL-3.0-or-later - -#pragma once - -#include <memory> -#include <mutex> -#include <unordered_map> - -#include "common/common_types.h" -#include "core/hle/service/kernel_helpers.h" -#include "core/hle/service/nvflinger/binder.h" - -namespace Core { -class System; -} - -namespace Service::NVFlinger { - -class HosBinderDriverServer final { -public: - explicit HosBinderDriverServer(Core::System& system_); - ~HosBinderDriverServer(); - - u64 RegisterProducer(std::unique_ptr<android::IBinder>&& binder); - - android::IBinder* TryGetProducer(u64 id); - -private: - KernelHelpers::ServiceContext service_context; - - std::unordered_map<u64, std::unique_ptr<android::IBinder>> producers; - std::mutex lock; - u64 last_id{}; -}; - -} // namespace Service::NVFlinger |