aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.hh
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-04-05 18:30:25 +1000
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-04-05 18:30:25 +1000
commit21e55ae8a1b3ddd4dff6c24a57bdc7d7272fff16 (patch)
tree1b13d5ea55c38d41becd64b003cdb0645159970a /src/device_context.hh
parent411f7acb1f92db88d2a3c92bb40da2133852b40e (diff)
Add boilerplate for separate implementations
Diffstat (limited to 'src/device_context.hh')
-rw-r--r--src/device_context.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device_context.hh b/src/device_context.hh
index c4d6a43..975d67c 100644
--- a/src/device_context.hh
+++ b/src/device_context.hh
@@ -14,6 +14,7 @@
#include "instance_context.hh"
#include "physical_device_context.hh"
#include "queue_context.hh"
+#include "strategies/device_strategy.hh"
namespace low_latency {
@@ -32,6 +33,8 @@ class DeviceContext final : public Context {
std::unique_ptr<DeviceClock> clock;
std::unordered_map<VkQueue, std::shared_ptr<QueueContext>> queues;
+ std::unique_ptr<DeviceStrategy> strategy;
+
public:
DeviceContext(InstanceContext& parent_instance,
PhysicalDeviceContext& parent_physical,