diff options
Diffstat (limited to 'src/core/hle/service/vi/vi.h')
-rw-r--r-- | src/core/hle/service/vi/vi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/vi.h b/src/core/hle/service/vi/vi.h index 81d4f3daa..4dd4d1783 100644 --- a/src/core/hle/service/vi/vi.h +++ b/src/core/hle/service/vi/vi.h @@ -37,6 +37,12 @@ static_assert(sizeof(IGBPBuffer) == 0x16C, "IGBPBuffer has wrong size"); class BufferQueue { public: + enum class QueryType { + NativeWindowWidth = 0, + NativeWindowHeight = 1, + NativeWindowFormat = 2, + }; + BufferQueue(u32 id, u64 layer_id); ~BufferQueue() = default; @@ -54,6 +60,7 @@ public: void QueueBuffer(u32 slot); boost::optional<const Buffer&> AcquireBuffer(); void ReleaseBuffer(u32 slot); + u32 Query(QueryType type); u32 GetId() const { return id; |