summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/buffer_queue.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-01-04 20:28:49 +0100
committerGitHub <noreply@github.com>2022-01-04 20:28:49 +0100
commitafb06b149505b21af976d3d1e24186b8260ee018 (patch)
tree9776b690684a4fc3914662b33414c18eca5f1c6b /src/core/hle/service/nvflinger/buffer_queue.h
parentMerge pull request #7670 from ameerj/vsync-block (diff)
parentRemove invalid assertion statement (diff)
downloadyuzu-afb06b149505b21af976d3d1e24186b8260ee018.tar
yuzu-afb06b149505b21af976d3d1e24186b8260ee018.tar.gz
yuzu-afb06b149505b21af976d3d1e24186b8260ee018.tar.bz2
yuzu-afb06b149505b21af976d3d1e24186b8260ee018.tar.lz
yuzu-afb06b149505b21af976d3d1e24186b8260ee018.tar.xz
yuzu-afb06b149505b21af976d3d1e24186b8260ee018.tar.zst
yuzu-afb06b149505b21af976d3d1e24186b8260ee018.zip
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_,