diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-02-11 23:19:15 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-02-11 23:19:15 +1100 |
| commit | 76f3ef1d7c2b4393a8e8b402deb924e606448d27 (patch) | |
| tree | a291bec0544f007536a41ec1f590338aee1163e9 /src/physical_device_context.hh | |
| parent | 77e2be172718878b38999efc247ce7571435fcc8 (diff) | |
More cleanup, fix lifetime and mutex issues
Diffstat (limited to 'src/physical_device_context.hh')
| -rw-r--r-- | src/physical_device_context.hh | 26 |
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 |
