aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.hh
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-03-30 22:47:12 +1100
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-03-30 22:47:12 +1100
commit108801fe96d855c5ccf532639a6db8ff0065310e (patch)
tree24f551fbffad9ec4fd842f56dd530d65a1150723 /src/device_context.hh
parent7b17b60786d00c592f0ef18c8481148143baacbd (diff)
Move timestamp pool reacquisition to an asynchronous worker queue, fix device_context race during destructor
Diffstat (limited to 'src/device_context.hh')
-rw-r--r--src/device_context.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device_context.hh b/src/device_context.hh
index 0e0a4eb..53970e5 100644
--- a/src/device_context.hh
+++ b/src/device_context.hh
@@ -31,10 +31,10 @@ class DeviceContext final : public Context {
const VkDevice device;
const VkuDeviceDispatchTable vtable;
- std::unordered_map<VkQueue, std::shared_ptr<QueueContext>> queues;
-
std::unique_ptr<DeviceClock> clock;
+ std::unordered_map<VkQueue, std::shared_ptr<QueueContext>> queues;
+
std::unordered_map<VkSwapchainKHR, SwapchainMonitor> swapchain_monitors;
public: