VERY experimental Nintendo Switch 2 emulator
C++
hle: nvflinger: Add ProducerListener interface.
bunnei3fdb53d4d51a
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txtindex bf1a9490ce..3ddda2528d 100644--- a/src/core/CMakeLists.txt+++ b/src/core/CMakeLists.txt@@ -541,6 +541,7 @@ add_library(core STATIChle/service/nvflinger/nvflinger.cpphle/service/nvflinger/nvflinger.hhle/service/nvflinger/pixel_format.h+ hle/service/nvflinger/producer_listener.hhle/service/nvflinger/status.hhle/service/nvflinger/ui/fence.hhle/service/nvflinger/ui/graphic_buffer.hdiff --git a/src/core/hle/service/nvflinger/producer_listener.h b/src/core/hle/service/nvflinger/producer_listener.hnew file mode 100644index 0000000000..8fe29d73ea--- /dev/null+++ b/src/core/hle/service/nvflinger/producer_listener.h@@ -0,0 +1,16 @@+// SPDX-License-Identifier: GPL-3.0-or-later+// Copyright 2021 yuzu Emulator Project+// Copyright 2014 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/include/gui/IProducerListener.h++#pragma once++namespace android {++class IProducerListener {+public:+ virtual void OnBufferReleased() = 0;+};++} // namespace android