From 411f7acb1f92db88d2a3c92bb40da2133852b40e Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Sun, 5 Apr 2026 16:59:32 +1000 Subject: Nuke old implementation, silence warnings --- src/device_context.hh | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/device_context.hh') diff --git a/src/device_context.hh b/src/device_context.hh index f94b84f..c4d6a43 100644 --- a/src/device_context.hh +++ b/src/device_context.hh @@ -1,7 +1,6 @@ #ifndef DEVICE_CONTEXT_HH_ #define DEVICE_CONTEXT_HH_ -#include #include #include @@ -15,7 +14,6 @@ #include "instance_context.hh" #include "physical_device_context.hh" #include "queue_context.hh" -#include "swapchain_monitor.hh" namespace low_latency { @@ -32,28 +30,14 @@ class DeviceContext final : public Context { const VkuDeviceDispatchTable vtable; std::unique_ptr clock; - std::unordered_map> queues; - std::unordered_map> - swapchain_monitors; - public: DeviceContext(InstanceContext& parent_instance, PhysicalDeviceContext& parent_physical, const VkDevice& device, const bool was_capability_requested, VkuDeviceDispatchTable&& vtable); virtual ~DeviceContext(); - - public: - // Updates the settings associated with that swapchain. If no swapchain - // target is provided all swapchains are set to this value. - void update_params(const std::optional target, - const std::chrono::microseconds& present_delay, - const bool was_low_latency_requested); - - void notify_present(const VkSwapchainKHR& swapchain, - std::unique_ptr submissions); }; }; // namespace low_latency -- cgit v1.2.3