diff options
author | bunnei <bunneidev@gmail.com> | 2021-11-12 03:49:43 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-03-25 02:13:32 +0100 |
commit | 41983bc0ca40c4cb52198b30448464e41f914a87 (patch) | |
tree | d23f2687db1129618f942f7f8acaa62f1c96e5a2 /src/core/hle/service/nvflinger/graphic_buffer_producer.cpp | |
parent | hle: nvflinger: Add implementation for BufferItemConsumer class. (diff) | |
download | yuzu-41983bc0ca40c4cb52198b30448464e41f914a87.tar yuzu-41983bc0ca40c4cb52198b30448464e41f914a87.tar.gz yuzu-41983bc0ca40c4cb52198b30448464e41f914a87.tar.bz2 yuzu-41983bc0ca40c4cb52198b30448464e41f914a87.tar.lz yuzu-41983bc0ca40c4cb52198b30448464e41f914a87.tar.xz yuzu-41983bc0ca40c4cb52198b30448464e41f914a87.tar.zst yuzu-41983bc0ca40c4cb52198b30448464e41f914a87.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvflinger/graphic_buffer_producer.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/graphic_buffer_producer.cpp b/src/core/hle/service/nvflinger/graphic_buffer_producer.cpp new file mode 100644 index 000000000..3e3669c99 --- /dev/null +++ b/src/core/hle/service/nvflinger/graphic_buffer_producer.cpp @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright 2021 yuzu Emulator Project +// Copyright 2010 The Android Open Source Project +// Parts of this implementation were base on: +// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/libs/gui/IGraphicBufferProducer.cpp + +#pragma once + +#include "core/hle/service/nvflinger/graphic_buffer_producer.h" +#include "core/hle/service/nvflinger/parcel.h" + +namespace android { + +QueueBufferInput::QueueBufferInput(Parcel& parcel) { + parcel.ReadFlattened(*this); +} + +QueueBufferOutput::QueueBufferOutput() = default; + +} // namespace android |