diff options
author | bunnei <bunneidev@gmail.com> | 2022-10-30 01:11:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-30 01:11:26 +0200 |
commit | c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb (patch) | |
tree | 0653781de68f88b7910b78e5c3d893b06e9dc37d /src/core/hle/service/nvflinger/nvflinger.h | |
parent | Merge pull request #9140 from vonchenplus/darw_index_bufferx_first_error (diff) | |
parent | nvnflinger: release queued handles immediately on disconnection (diff) | |
download | yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar.gz yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar.bz2 yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar.lz yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar.xz yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.tar.zst yuzu-c4d91488d9e7d1aadfadb6ef8e27fa4f1896a5cb.zip |
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.h')
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.h b/src/core/hle/service/nvflinger/nvflinger.h index b8191c595..460bef976 100644 --- a/src/core/hle/service/nvflinger/nvflinger.h +++ b/src/core/hle/service/nvflinger/nvflinger.h @@ -58,6 +58,11 @@ public: /// If an invalid display name is provided, then an empty optional is returned. [[nodiscard]] std::optional<u64> OpenDisplay(std::string_view name); + /// Closes the specified display by its ID. + /// + /// Returns false if an invalid display ID is provided. + [[nodiscard]] bool CloseDisplay(u64 display_id); + /// Creates a layer on the specified display and returns the layer ID. /// /// If an invalid display ID is specified, then an empty optional is returned. |