diff options
author | Liam <byteslice@airmail.cc> | 2024-01-07 03:21:01 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-30 02:17:33 +0100 |
commit | 68303ed6016da0926df8b62e5a0c55c9b914f927 (patch) | |
tree | 35c805cffc86c668ae88641bd42358105ed6751a /src/core/hle/service/am/system_buffer_manager.h | |
parent | am: return AppletDataBroker and use for frontend applets (diff) | |
download | yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar.gz yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar.bz2 yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar.lz yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar.xz yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar.zst yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.zip |
Diffstat (limited to 'src/core/hle/service/am/system_buffer_manager.h')
-rw-r--r-- | src/core/hle/service/am/system_buffer_manager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/service/am/system_buffer_manager.h b/src/core/hle/service/am/system_buffer_manager.h index c60d73416..98c3cf055 100644 --- a/src/core/hle/service/am/system_buffer_manager.h +++ b/src/core/hle/service/am/system_buffer_manager.h @@ -18,6 +18,8 @@ namespace Service::Nvnflinger { class Nvnflinger; } +union Result; + namespace Service::AM { class SystemBufferManager { @@ -33,10 +35,15 @@ public: *out_system_shared_layer_id = m_system_shared_layer_id; } + void SetWindowVisibility(bool visible); + + Result WriteAppletCaptureBuffer(bool* out_was_written, s32* out_fbshare_layer_index); + private: Kernel::KProcess* m_process{}; Nvnflinger::Nvnflinger* m_nvnflinger{}; bool m_buffer_sharing_enabled{}; + bool m_visible{true}; u64 m_system_shared_buffer_id{}; u64 m_system_shared_layer_id{}; }; |