aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvflinger/buffer_queue.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-01-04 11:28:49 -0800
committerGitHub <noreply@github.com>2022-01-04 11:28:49 -0800
commitafb06b149505b21af976d3d1e24186b8260ee018 (patch)
tree9776b690684a4fc3914662b33414c18eca5f1c6b /src/core/hle/service/nvflinger/buffer_queue.h
parent118d5fa3b0fdc070f57916203dbbb999fe7e3c69 (diff)
parent1eec9590c393d604c67320904a8fffaa5da3a8a1 (diff)
Merge pull request #7636 from vonchenplus/buffer_queue_query
core:hle:service:nvflinger Implement few type in bufferqueue query method
Diffstat (limited to 'src/core/hle/service/nvflinger/buffer_queue.h')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue.h b/src/core/hle/service/nvflinger/buffer_queue.h
index 7b7baeaea..f2a579133 100644
--- a/src/core/hle/service/nvflinger/buffer_queue.h
+++ b/src/core/hle/service/nvflinger/buffer_queue.h
@@ -57,6 +57,11 @@ public:
NativeWindowWidth = 0,
NativeWindowHeight = 1,
NativeWindowFormat = 2,
+ /// The minimum number of buffers that must remain un-dequeued after a buffer has been
+ /// queued
+ NativeWindowMinUndequeuedBuffers = 3,
+ /// The consumer gralloc usage bits currently set by the consumer
+ NativeWindowConsumerUsageBits = 10,
};
explicit BufferQueue(Kernel::KernelCore& kernel, u32 id_, u64 layer_id_,