summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-11-12 03:33:38 +0100
committerbunnei <bunneidev@gmail.com>2022-03-25 02:13:32 +0100
commit81e143a3d25c537f294c9e76009320252fced66b (patch)
treeac503999d2b3b9438b4d67b6abb3719a1a421b9e /src/core/hle
parenthle: nvflinger: Add android window enumerations to its own header. (diff)
downloadyuzu-81e143a3d25c537f294c9e76009320252fced66b.tar
yuzu-81e143a3d25c537f294c9e76009320252fced66b.tar.gz
yuzu-81e143a3d25c537f294c9e76009320252fced66b.tar.bz2
yuzu-81e143a3d25c537f294c9e76009320252fced66b.tar.lz
yuzu-81e143a3d25c537f294c9e76009320252fced66b.tar.xz
yuzu-81e143a3d25c537f294c9e76009320252fced66b.tar.zst
yuzu-81e143a3d25c537f294c9e76009320252fced66b.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/nvflinger/producer_listener.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/producer_listener.h b/src/core/hle/service/nvflinger/producer_listener.h
new file mode 100644
index 000000000..8fe29d73e
--- /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