aboutsummaryrefslogtreecommitdiff
path: root/src/strategies/device_strategy.hh
diff options
context:
space:
mode:
authorNicolas James <nj3ahxac@gmail.com>2026-04-06 12:18:10 +1000
committerNicolas James <nj3ahxac@gmail.com>2026-04-06 12:18:10 +1000
commita9a083ea5c649498d2f12e611dbc7c767d152130 (patch)
treee67cfd11bc37a4faa0f1fbd448e66307cd75a624 /src/strategies/device_strategy.hh
parentfcdac1c3287d314d7127516d56f0dec788392063 (diff)
Add WIP refactored reflex impl
Diffstat (limited to 'src/strategies/device_strategy.hh')
-rw-r--r--src/strategies/device_strategy.hh8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/strategies/device_strategy.hh b/src/strategies/device_strategy.hh
index 7b7bacd..0fd7acd 100644
--- a/src/strategies/device_strategy.hh
+++ b/src/strategies/device_strategy.hh
@@ -1,6 +1,9 @@
#ifndef STRATEGIES_DEVICE_STRATEGY_HH_
#define STRATEGIES_DEVICE_STRATEGY_HH_
+#include <vulkan/vulkan.h>
+#include <vulkan/vulkan_core.h>
+
namespace low_latency {
class DeviceContext;
@@ -14,7 +17,10 @@ class DeviceStrategy {
virtual ~DeviceStrategy();
public:
-
+ virtual void
+ notify_create_swapchain(const VkSwapchainKHR& swapchain,
+ const VkSwapchainCreateInfoKHR& info) = 0;
+ virtual void notify_destroy_swapchain(const VkSwapchainKHR& swapchain) = 0;
};
} // namespace low_latency