summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/hle/service/nvflinger/consumer_base.cpp3
-rw-r--r--src/core/hle/service/nvflinger/consumer_base.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/nvflinger/consumer_base.cpp b/src/core/hle/service/nvflinger/consumer_base.cpp
index 0524463bd..3ccbb7fb8 100644
--- a/src/core/hle/service/nvflinger/consumer_base.cpp
+++ b/src/core/hle/service/nvflinger/consumer_base.cpp
@@ -117,7 +117,8 @@ Status ConsumerBase::ReleaseBufferLocked(s32 slot,
117 return err; 117 return err;
118} 118}
119 119
120bool ConsumerBase::StillTracking(s32 slot, const std::shared_ptr<GraphicBuffer> graphic_buffer) { 120bool ConsumerBase::StillTracking(s32 slot,
121 const std::shared_ptr<GraphicBuffer> graphic_buffer) const {
121 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { 122 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) {
122 return false; 123 return false;
123 } 124 }
diff --git a/src/core/hle/service/nvflinger/consumer_base.h b/src/core/hle/service/nvflinger/consumer_base.h
index 453a47349..d72160c2c 100644
--- a/src/core/hle/service/nvflinger/consumer_base.h
+++ b/src/core/hle/service/nvflinger/consumer_base.h
@@ -38,7 +38,7 @@ protected:
38 Status AcquireBufferLocked(BufferItem* item, std::chrono::nanoseconds present_when, 38 Status AcquireBufferLocked(BufferItem* item, std::chrono::nanoseconds present_when,
39 u64 max_frame_number = 0); 39 u64 max_frame_number = 0);
40 Status ReleaseBufferLocked(s32 slot, const std::shared_ptr<GraphicBuffer> graphic_buffer); 40 Status ReleaseBufferLocked(s32 slot, const std::shared_ptr<GraphicBuffer> graphic_buffer);
41 bool StillTracking(s32 slot, const std::shared_ptr<GraphicBuffer> graphic_buffer); 41 bool StillTracking(s32 slot, const std::shared_ptr<GraphicBuffer> graphic_buffer) const;
42 Status AddReleaseFenceLocked(s32 slot, const std::shared_ptr<GraphicBuffer> graphic_buffer, 42 Status AddReleaseFenceLocked(s32 slot, const std::shared_ptr<GraphicBuffer> graphic_buffer,
43 const Fence& fence); 43 const Fence& fence);
44 44