aboutsummaryrefslogtreecommitdiff
path: root/src/strategies/low_latency2/device_strategy.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/strategies/low_latency2/device_strategy.hh')
-rw-r--r--src/strategies/low_latency2/device_strategy.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/strategies/low_latency2/device_strategy.hh b/src/strategies/low_latency2/device_strategy.hh
index af1b471..499b2aa 100644
--- a/src/strategies/low_latency2/device_strategy.hh
+++ b/src/strategies/low_latency2/device_strategy.hh
@@ -6,6 +6,7 @@
#include <shared_mutex>
#include <unordered_map>
+#include <vulkan/vulkan_core.h>
namespace low_latency {
@@ -27,6 +28,16 @@ class LowLatency2DeviceStrategy final : public DeviceStrategy {
const VkSwapchainCreateInfoKHR& info) override;
virtual void
notify_destroy_swapchain(const VkSwapchainKHR& swapchain) override;
+
+ public:
+ void submit_swapchain_present_id(const VkSwapchainKHR& swapchain,
+ const std::uint64_t& present_id);
+
+ void notify_latency_sleep_mode(const VkSwapchainKHR& swapchain,
+ const VkLatencySleepModeInfoNV* const info);
+
+ void notify_latency_sleep_nv(const VkSwapchainKHR& swapchain,
+ const VkLatencySleepInfoNV& info);
};
} // namespace low_latency