summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvnflinger/nvnflinger.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-12-10 18:32:44 +0100
committerLiam <byteslice@airmail.cc>2023-12-12 18:14:23 +0100
commitadc307961357243a67ed4400d18ec9979a0c55db (patch)
treec1a143b2be065e4a7cf7bd03918b77576c1e0507 /src/core/hle/service/nvnflinger/nvnflinger.h
parentMerge pull request #12296 from liamwhite/client-session (diff)
downloadyuzu-adc307961357243a67ed4400d18ec9979a0c55db.tar
yuzu-adc307961357243a67ed4400d18ec9979a0c55db.tar.gz
yuzu-adc307961357243a67ed4400d18ec9979a0c55db.tar.bz2
yuzu-adc307961357243a67ed4400d18ec9979a0c55db.tar.lz
yuzu-adc307961357243a67ed4400d18ec9979a0c55db.tar.xz
yuzu-adc307961357243a67ed4400d18ec9979a0c55db.tar.zst
yuzu-adc307961357243a67ed4400d18ec9979a0c55db.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvnflinger/nvnflinger.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/hle/service/nvnflinger/nvnflinger.h b/src/core/hle/service/nvnflinger/nvnflinger.h
index f5d73acdb..871285764 100644
--- a/src/core/hle/service/nvnflinger/nvnflinger.h
+++ b/src/core/hle/service/nvnflinger/nvnflinger.h
@@ -73,9 +73,15 @@ public:
/// If an invalid display ID is specified, then an empty optional is returned.
[[nodiscard]] std::optional<u64> CreateLayer(u64 display_id);
+ /// Opens a layer on all displays for the given layer ID.
+ void OpenLayer(u64 layer_id);
+
/// Closes a layer on all displays for the given layer ID.
void CloseLayer(u64 layer_id);
+ /// Destroys the given layer ID.
+ void DestroyLayer(u64 layer_id);
+
/// Finds the buffer queue ID of the specified layer in the specified display.
///
/// If an invalid display ID or layer ID is provided, then an empty optional is returned.
@@ -117,11 +123,6 @@ private:
/// Finds the layer identified by the specified ID in the desired display.
[[nodiscard]] VI::Layer* FindLayer(u64 display_id, u64 layer_id);
- /// Finds the layer identified by the specified ID in the desired display,
- /// or creates the layer if it is not found.
- /// To be used when the system expects the specified ID to already exist.
- [[nodiscard]] VI::Layer* FindOrCreateLayer(u64 display_id, u64 layer_id);
-
/// Creates a layer with the specified layer ID in the desired display.
void CreateLayerAtId(VI::Display& display, u64 layer_id);