summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue.cpp4
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue.cpp b/src/core/hle/service/nvflinger/buffer_queue.cpp
index b4c3a6099..5fead6d1b 100644
--- a/src/core/hle/service/nvflinger/buffer_queue.cpp
+++ b/src/core/hle/service/nvflinger/buffer_queue.cpp
@@ -186,6 +186,10 @@ u32 BufferQueue::Query(QueryType type) {
186 case QueryType::NativeWindowWidth: 186 case QueryType::NativeWindowWidth:
187 case QueryType::NativeWindowHeight: 187 case QueryType::NativeWindowHeight:
188 break; 188 break;
189 case QueryType::NativeWindowMinUndequeuedBuffers:
190 return 0;
191 case QueryType::NativeWindowConsumerUsageBits:
192 return 0;
189 } 193 }
190 UNIMPLEMENTED_MSG("Unimplemented query type={}", type); 194 UNIMPLEMENTED_MSG("Unimplemented query type={}", type);
191 return 0; 195 return 0;
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:
57 NativeWindowWidth = 0, 57 NativeWindowWidth = 0,
58 NativeWindowHeight = 1, 58 NativeWindowHeight = 1,
59 NativeWindowFormat = 2, 59 NativeWindowFormat = 2,
60 /// The minimum number of buffers that must remain un-dequeued after a buffer has been
61 /// queued
62 NativeWindowMinUndequeuedBuffers = 3,
63 /// The consumer gralloc usage bits currently set by the consumer
64 NativeWindowConsumerUsageBits = 10,
60 }; 65 };
61 66
62 explicit BufferQueue(Kernel::KernelCore& kernel, u32 id_, u64 layer_id_, 67 explicit BufferQueue(Kernel::KernelCore& kernel, u32 id_, u64 layer_id_,