diff options
author | Subv <subv2112@gmail.com> | 2018-01-08 03:27:58 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-11 05:28:09 +0100 |
commit | 25f29c2f4fd2415373f8af24fb61142ab4b343e6 (patch) | |
tree | d20a1c7c41051f37183b2d095f2edb34ea8a207b /src/core/hle/service/vi/vi.h | |
parent | NV: Implemented the nvdrv:a service and the /dev/nvmap device. (diff) | |
download | yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar.gz yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar.bz2 yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar.lz yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar.xz yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.tar.zst yuzu-25f29c2f4fd2415373f8af24fb61142ab4b343e6.zip |
Diffstat (limited to 'src/core/hle/service/vi/vi.h')
-rw-r--r-- | src/core/hle/service/vi/vi.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/vi.h b/src/core/hle/service/vi/vi.h new file mode 100644 index 000000000..fbc86498f --- /dev/null +++ b/src/core/hle/service/vi/vi.h @@ -0,0 +1,34 @@ +// Copyright 2018 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "core/hle/kernel/event.h" +#include "core/hle/service/service.h" + +namespace Service { +namespace VI { + +class IApplicationDisplayService final : public ServiceFramework<IApplicationDisplayService> { +public: + IApplicationDisplayService(); + ~IApplicationDisplayService() = default; + +private: + void GetRelayService(Kernel::HLERequestContext& ctx); + void GetSystemDisplayService(Kernel::HLERequestContext& ctx); + void GetManagerDisplayService(Kernel::HLERequestContext& ctx); + void OpenDisplay(Kernel::HLERequestContext& ctx); + void SetLayerScalingMode(Kernel::HLERequestContext& ctx); + void OpenLayer(Kernel::HLERequestContext& ctx); + void GetDisplayVsyncEvent(Kernel::HLERequestContext& ctx); + + Kernel::SharedPtr<Kernel::Event> vsync_event; +}; + +/// Registers all VI services with the specified service manager. +void InstallInterfaces(SM::ServiceManager& service_manager); + +} // namespace VI +} // namespace Service |