diff options
author | bunnei <bunneidev@gmail.com> | 2022-09-17 20:10:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-17 20:10:54 +0200 |
commit | 9c32f29af18f5412ea4ba9f15fe0da3805e0d858 (patch) | |
tree | 63f5b2a5b5ad49179067d01e34c11fb2a7510bd8 /src/core/hle/service/nvflinger/nvflinger.h | |
parent | Merge pull request #8914 from lioncash/audio-const (diff) | |
parent | core_timing: Sleep in discrete intervals, yield during spin (diff) | |
download | yuzu-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.h | 5 |
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; |