summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/nvflinger.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-01-30 05:30:22 +0100
committerLioncash <mathew1800@gmail.com>2019-01-30 17:11:32 +0100
commit1d11def9c46dc9c81af01bc55052b51e8028126e (patch)
treebfaee8bb24a1b4e7b73842803ee5a846a51749d7 /src/core/hle/service/nvflinger/nvflinger.h
parentMerge pull request #2070 from ReinUsesLisp/cubearray-view (diff)
downloadyuzu-1d11def9c46dc9c81af01bc55052b51e8028126e.tar
yuzu-1d11def9c46dc9c81af01bc55052b51e8028126e.tar.gz
yuzu-1d11def9c46dc9c81af01bc55052b51e8028126e.tar.bz2
yuzu-1d11def9c46dc9c81af01bc55052b51e8028126e.tar.lz
yuzu-1d11def9c46dc9c81af01bc55052b51e8028126e.tar.xz
yuzu-1d11def9c46dc9c81af01bc55052b51e8028126e.tar.zst
yuzu-1d11def9c46dc9c81af01bc55052b51e8028126e.zip
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.h')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.h b/src/core/hle/service/nvflinger/nvflinger.h
index 8f9a0a7f8..8880d8485 100644
--- a/src/core/hle/service/nvflinger/nvflinger.h
+++ b/src/core/hle/service/nvflinger/nvflinger.h
@@ -57,31 +57,31 @@ public:
/// Sets the NVDrv module instance to use to send buffers to the GPU.
void SetNVDrvInstance(std::shared_ptr<Nvidia::Module> instance);
- /// Opens the specified display and returns the id.
+ /// Opens the specified display and returns the ID.
u64 OpenDisplay(std::string_view name);
- /// Creates a layer on the specified display and returns the layer id.
+ /// Creates a layer on the specified display and returns the layer ID.
u64 CreateLayer(u64 display_id);
- /// Gets the buffer queue id of the specified layer in the specified display.
- u32 GetBufferQueueId(u64 display_id, u64 layer_id);
+ /// Finds the buffer queue ID of the specified layer in the specified display.
+ u32 FindBufferQueueId(u64 display_id, u64 layer_id);
/// Gets the vsync event for the specified display.
Kernel::SharedPtr<Kernel::ReadableEvent> GetVsyncEvent(u64 display_id);
- /// Obtains a buffer queue identified by the id.
- std::shared_ptr<BufferQueue> GetBufferQueue(u32 id) const;
+ /// Obtains a buffer queue identified by the ID.
+ std::shared_ptr<BufferQueue> FindBufferQueue(u32 id) const;
/// Performs a composition request to the emulated nvidia GPU and triggers the vsync events when
/// finished.
void Compose();
private:
- /// Returns the display identified by the specified id.
- Display& GetDisplay(u64 display_id);
+ /// Finds the display identified by the specified ID.
+ Display& FindDisplay(u64 display_id);
- /// Returns the layer identified by the specified id in the desired display.
- Layer& GetLayer(u64 display_id, u64 layer_id);
+ /// Finds the layer identified by the specified ID in the desired display.
+ Layer& FindLayer(u64 display_id, u64 layer_id);
std::shared_ptr<Nvidia::Module> nvdrv;