summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/nvflinger.h
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2022-07-26 23:04:18 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-08-02 05:51:53 +0200
commit9d3b1904651321f44b8f801bc0452390afc16ffc (patch)
treeea5ac3344ba73a58ff1499f1d4e49479cdec7489 /src/core/hle/service/nvflinger/nvflinger.h
parentMerge pull request #8701 from liamwhite/elf (diff)
downloadyuzu-9d3b1904651321f44b8f801bc0452390afc16ffc.tar
yuzu-9d3b1904651321f44b8f801bc0452390afc16ffc.tar.gz
yuzu-9d3b1904651321f44b8f801bc0452390afc16ffc.tar.bz2
yuzu-9d3b1904651321f44b8f801bc0452390afc16ffc.tar.lz
yuzu-9d3b1904651321f44b8f801bc0452390afc16ffc.tar.xz
yuzu-9d3b1904651321f44b8f801bc0452390afc16ffc.tar.zst
yuzu-9d3b1904651321f44b8f801bc0452390afc16ffc.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;