diff options
author | bunnei <bunneidev@gmail.com> | 2021-11-12 04:15:51 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-03-25 02:13:33 +0100 |
commit | 7f4165fc056261820fe760629e6ac7b1f27de003 (patch) | |
tree | 08280fbbb370fd0a3af1282229ff3a84b8081d49 /src/core/hle/service/vi/layer/vi_layer.cpp | |
parent | hle: nvflinger: Add implementation for HosBinderDriverServer service. (diff) | |
download | yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar.gz yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar.bz2 yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar.lz yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar.xz yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.tar.zst yuzu-7f4165fc056261820fe760629e6ac7b1f27de003.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/vi/layer/vi_layer.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/layer/vi_layer.cpp b/src/core/hle/service/vi/layer/vi_layer.cpp index 9bc382587..93858e91f 100644 --- a/src/core/hle/service/vi/layer/vi_layer.cpp +++ b/src/core/hle/service/vi/layer/vi_layer.cpp @@ -6,7 +6,11 @@ namespace Service::VI { -Layer::Layer(u64 id, NVFlinger::BufferQueue& queue) : layer_id{id}, buffer_queue{queue} {} +Layer::Layer(u64 layer_id_, u32 binder_id_, android::BufferQueueCore& core_, + android::BufferQueueProducer& binder_, + std::shared_ptr<android::BufferItemConsumer>&& consumer_) + : layer_id{layer_id_}, binder_id{binder_id_}, core{core_}, binder{binder_}, consumer{std::move( + consumer_)} {} Layer::~Layer() = default; |