diff options
author | Liam <byteslice@airmail.cc> | 2023-10-29 21:37:11 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-10-30 03:12:16 +0100 |
commit | 79e7d7f4ba3ed4f395e6b30eea218a34348726a2 (patch) | |
tree | f7e73263e401b6eb761df2eebce6cb52908be5f6 /src/core/hle/service/nvnflinger/buffer_queue_producer.h | |
parent | Merge pull request #11866 from liamwhite/more-qt-nonsense (diff) | |
download | yuzu-79e7d7f4ba3ed4f395e6b30eea218a34348726a2.tar yuzu-79e7d7f4ba3ed4f395e6b30eea218a34348726a2.tar.gz yuzu-79e7d7f4ba3ed4f395e6b30eea218a34348726a2.tar.bz2 yuzu-79e7d7f4ba3ed4f395e6b30eea218a34348726a2.tar.lz yuzu-79e7d7f4ba3ed4f395e6b30eea218a34348726a2.tar.xz yuzu-79e7d7f4ba3ed4f395e6b30eea218a34348726a2.tar.zst yuzu-79e7d7f4ba3ed4f395e6b30eea218a34348726a2.zip |
Diffstat (limited to 'src/core/hle/service/nvnflinger/buffer_queue_producer.h')
-rw-r--r-- | src/core/hle/service/nvnflinger/buffer_queue_producer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nvnflinger/buffer_queue_producer.h b/src/core/hle/service/nvnflinger/buffer_queue_producer.h index d4201c104..64c17d56c 100644 --- a/src/core/hle/service/nvnflinger/buffer_queue_producer.h +++ b/src/core/hle/service/nvnflinger/buffer_queue_producer.h @@ -38,6 +38,7 @@ namespace Service::android { class BufferQueueCore; class IProducerListener; +struct NvGraphicBuffer; class BufferQueueProducer final : public IBinder { public: @@ -65,7 +66,7 @@ public: bool producer_controlled_by_app, QueueBufferOutput* output); Status Disconnect(NativeWindowApi api); - Status SetPreallocatedBuffer(s32 slot, const std::shared_ptr<GraphicBuffer>& buffer); + Status SetPreallocatedBuffer(s32 slot, const std::shared_ptr<NvGraphicBuffer>& buffer); private: BufferQueueProducer(const BufferQueueProducer&) = delete; |