aboutsummaryrefslogtreecommitdiff
path: root/src/strategies/device_strategy.hh
diff options
context:
space:
mode:
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