aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.hh
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-04-05 16:59:32 +1000
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-04-05 16:59:32 +1000
commit411f7acb1f92db88d2a3c92bb40da2133852b40e (patch)
treea37377abea35bb01e6e1074e15e4c1b50f66ccf1 /src/device_context.hh
parent6cae1c14ebdd9d026134212ed8561fb845a11ff6 (diff)
Nuke old implementation, silence warnings
Diffstat (limited to 'src/device_context.hh')
-rw-r--r--src/device_context.hh16
1 files changed, 0 insertions, 16 deletions
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 <chrono>
#include <memory>
#include <unordered_map>
@@ -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<DeviceClock> clock;
-
std::unordered_map<VkQueue, std::shared_ptr<QueueContext>> queues;
- std::unordered_map<VkSwapchainKHR, std::unique_ptr<SwapchainMonitor>>
- 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<VkSwapchainKHR> target,
- const std::chrono::microseconds& present_delay,
- const bool was_low_latency_requested);
-
- void notify_present(const VkSwapchainKHR& swapchain,
- std::unique_ptr<QueueContext::Submissions> submissions);
};
}; // namespace low_latency