summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/nvflinger.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-09-17 20:10:54 +0200
committerGitHub <noreply@github.com>2022-09-17 20:10:54 +0200
commit9c32f29af18f5412ea4ba9f15fe0da3805e0d858 (patch)
tree63f5b2a5b5ad49179067d01e34c11fb2a7510bd8 /src/core/hle/service/nvflinger/nvflinger.h
parentMerge pull request #8914 from lioncash/audio-const (diff)
parentcore_timing: Sleep in discrete intervals, yield during spin (diff)
downloadyuzu-9c32f29af18f5412ea4ba9f15fe0da3805e0d858.tar
yuzu-9c32f29af18f5412ea4ba9f15fe0da3805e0d858.tar.gz
yuzu-9c32f29af18f5412ea4ba9f15fe0da3805e0d858.tar.bz2
yuzu-9c32f29af18f5412ea4ba9f15fe0da3805e0d858.tar.lz
yuzu-9c32f29af18f5412ea4ba9f15fe0da3805e0d858.tar.xz
yuzu-9c32f29af18f5412ea4ba9f15fe0da3805e0d858.tar.zst
yuzu-9c32f29af18f5412ea4ba9f15fe0da3805e0d858.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.h b/src/core/hle/service/nvflinger/nvflinger.h
index 4775597cc..044ac6ac8 100644
--- a/src/core/hle/service/nvflinger/nvflinger.h
+++ b/src/core/hle/service/nvflinger/nvflinger.h
@@ -126,12 +126,15 @@ private:
u32 swap_interval = 1;
/// Event that handles screen composition.
- std::shared_ptr<Core::Timing::EventType> composition_event;
+ std::shared_ptr<Core::Timing::EventType> multi_composition_event;
+ std::shared_ptr<Core::Timing::EventType> single_composition_event;
std::shared_ptr<std::mutex> guard;
Core::System& system;
+ std::atomic<bool> vsync_signal;
+
std::jthread vsync_thread;
KernelHelpers::ServiceContext service_context;