summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvnflinger/buffer_queue_producer.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-29 21:37:11 +0100
committerLiam <byteslice@airmail.cc>2023-10-30 03:12:16 +0100
commit79e7d7f4ba3ed4f395e6b30eea218a34348726a2 (patch)
treef7e73263e401b6eb761df2eebce6cb52908be5f6 /src/core/hle/service/nvnflinger/buffer_queue_producer.h
parentMerge pull request #11866 from liamwhite/more-qt-nonsense (diff)
downloadyuzu-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.h3
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;