diff options
author | bunnei <bunneidev@gmail.com> | 2022-04-02 07:58:02 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-04-02 07:58:02 +0200 |
commit | 30b07878ba5487155bb6de2c91d27ed5b9b1c122 (patch) | |
tree | cf05e8379c9e9b4953b0115985c87796ce7ba3e5 /src/core/hle/service/nvflinger/buffer_queue_consumer.h | |
parent | hle: service: nvflinger: buffer_queue_core: Cleanup & fixes. (diff) | |
download | yuzu-30b07878ba5487155bb6de2c91d27ed5b9b1c122.tar yuzu-30b07878ba5487155bb6de2c91d27ed5b9b1c122.tar.gz yuzu-30b07878ba5487155bb6de2c91d27ed5b9b1c122.tar.bz2 yuzu-30b07878ba5487155bb6de2c91d27ed5b9b1c122.tar.lz yuzu-30b07878ba5487155bb6de2c91d27ed5b9b1c122.tar.xz yuzu-30b07878ba5487155bb6de2c91d27ed5b9b1c122.tar.zst yuzu-30b07878ba5487155bb6de2c91d27ed5b9b1c122.zip |
Diffstat (limited to 'src/core/hle/service/nvflinger/buffer_queue_consumer.h')
-rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue_consumer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue_consumer.h b/src/core/hle/service/nvflinger/buffer_queue_consumer.h index f22854394..8a047fe06 100644 --- a/src/core/hle/service/nvflinger/buffer_queue_consumer.h +++ b/src/core/hle/service/nvflinger/buffer_queue_consumer.h @@ -24,10 +24,10 @@ public: explicit BufferQueueConsumer(std::shared_ptr<BufferQueueCore> core_); ~BufferQueueConsumer(); - Status AcquireBuffer(BufferItem* out_buffer, std::chrono::nanoseconds expected_present, - u64 max_frame_number = 0); + Status AcquireBuffer(BufferItem* out_buffer, std::chrono::nanoseconds expected_present); Status ReleaseBuffer(s32 slot, u64 frame_number, const Fence& release_fence); Status Connect(std::shared_ptr<IConsumerListener> consumer_listener, bool controlled_by_app); + Status GetReleasedBuffers(u64* out_slot_mask); private: std::shared_ptr<BufferQueueCore> core; |