diff options
author | Liam <byteslice@airmail.cc> | 2024-02-14 22:29:24 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-18 00:01:41 +0100 |
commit | dcce9837d240fa2492f29e5ae2649085ae8f711c (patch) | |
tree | 8a93012b952276e29fa63490b4183a57cf346878 /src/core/hle/service/vi/application_display_service.h | |
parent | nvnflinger: convert to process (diff) | |
download | yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar.gz yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar.bz2 yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar.lz yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar.xz yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.tar.zst yuzu-dcce9837d240fa2492f29e5ae2649085ae8f711c.zip |
Diffstat (limited to 'src/core/hle/service/vi/application_display_service.h')
-rw-r--r-- | src/core/hle/service/vi/application_display_service.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/application_display_service.h b/src/core/hle/service/vi/application_display_service.h index e56490f9f..5022b2f63 100644 --- a/src/core/hle/service/vi/application_display_service.h +++ b/src/core/hle/service/vi/application_display_service.h @@ -16,15 +16,21 @@ class IHOSBinderDriver; namespace Service::VI { +class FbshareBufferManager; class IManagerDisplayService; class ISystemDisplayService; class IApplicationDisplayService final : public ServiceFramework<IApplicationDisplayService> { public: IApplicationDisplayService(Core::System& system_, - std::shared_ptr<Nvnflinger::IHOSBinderDriver> binder_service); + std::shared_ptr<Nvnflinger::IHOSBinderDriver> binder_service, + std::shared_ptr<FbshareBufferManager> shared_buffer_manager); ~IApplicationDisplayService() override; + std::shared_ptr<FbshareBufferManager> GetSharedBufferManager() const { + return m_shared_buffer_manager; + } + private: Result GetRelayService(Out<SharedPointer<Nvnflinger::IHOSBinderDriver>> out_relay_service); Result GetSystemDisplayService( @@ -62,6 +68,7 @@ private: private: const std::shared_ptr<Nvnflinger::IHOSBinderDriver> m_binder_service; const std::shared_ptr<Nvnflinger::Nvnflinger> m_surface_flinger; + const std::shared_ptr<FbshareBufferManager> m_shared_buffer_manager; std::vector<u64> m_stray_layer_ids; bool m_vsync_event_fetched{false}; }; |