aboutsummaryrefslogtreecommitdiff
path: root/src/physical_device_context.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/physical_device_context.hh')
-rw-r--r--src/physical_device_context.hh26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/physical_device_context.hh b/src/physical_device_context.hh
new file mode 100644
index 0000000..639fa0f
--- /dev/null
+++ b/src/physical_device_context.hh
@@ -0,0 +1,26 @@
+#ifndef PHYSICAL_DEVICE_CONTEXT_HH_
+#define PHYSICAL_DEVICE_CONTEXT_HH_
+
+#include "instance_context.hh"
+
+#include <vulkan/vulkan.hpp>
+
+#include "context.hh"
+
+namespace low_latency {
+
+class PhysicalDeviceContext final : public Context {
+ public:
+ InstanceContext& instance;
+
+ const VkPhysicalDevice physical_device;
+
+ public:
+ PhysicalDeviceContext(InstanceContext& instance_context,
+ const VkPhysicalDevice& physical_device);
+ virtual ~PhysicalDeviceContext();
+};
+
+} // namespace low_latency
+
+#endif \ No newline at end of file