diff options
Diffstat (limited to '')
-rw-r--r-- | src/libs/dxvk-native-1.9.2a/src/dxvk/dxvk_signal.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/libs/dxvk-native-1.9.2a/src/dxvk/dxvk_signal.cpp b/src/libs/dxvk-native-1.9.2a/src/dxvk/dxvk_signal.cpp new file mode 100644 index 00000000..3bb87452 --- /dev/null +++ b/src/libs/dxvk-native-1.9.2a/src/dxvk/dxvk_signal.cpp @@ -0,0 +1,30 @@ +#include "dxvk_signal.h" + +namespace dxvk { + + DxvkSignalTracker::DxvkSignalTracker() { + + } + + + DxvkSignalTracker::~DxvkSignalTracker() { + + } + + + void DxvkSignalTracker::add(const Rc<sync::Signal>& signal, uint64_t value) { + m_signals.push_back({ signal, value }); + } + + + void DxvkSignalTracker::notify() { + for (const auto& pair : m_signals) + pair.first->signal(pair.second); + } + + + void DxvkSignalTracker::reset() { + m_signals.clear(); + } + +}
\ No newline at end of file |