From a9a083ea5c649498d2f12e611dbc7c767d152130 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Mon, 6 Apr 2026 12:18:10 +1000 Subject: Add WIP refactored reflex impl --- src/strategies/anti_lag/device_strategy.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/strategies/anti_lag/device_strategy.cc') diff --git a/src/strategies/anti_lag/device_strategy.cc b/src/strategies/anti_lag/device_strategy.cc index df11dca..b391371 100644 --- a/src/strategies/anti_lag/device_strategy.cc +++ b/src/strategies/anti_lag/device_strategy.cc @@ -54,8 +54,7 @@ void AntiLagDeviceStrategy::notify_update(const VkAntiLagDataAMD& data) { } } - // We might need to wait a little more time to meet our frame limit, if - // necessary. + // We might need to wait a little more time to meet our frame limit. using namespace std::chrono; if (this->delay != 0us && this->previous_input_release.has_value()) { std::this_thread::sleep_until(*this->previous_input_release + @@ -80,4 +79,11 @@ bool AntiLagDeviceStrategy::should_track_submissions() { return true; } +// Stub - anti_lag doesn't differentiate between swapchains. +void AntiLagDeviceStrategy::notify_create_swapchain( + const VkSwapchainKHR&, const VkSwapchainCreateInfoKHR&) {} + +// Stub - again, AL doesn't care about swapchains. +void AntiLagDeviceStrategy::notify_destroy_swapchain(const VkSwapchainKHR&) {} + } // namespace low_latency \ No newline at end of file -- cgit v1.2.3