From 50f009b81218c5367031ce9c51089ecddc2e853a Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Tue, 24 Feb 2026 00:11:22 +1100 Subject: Cleanup, better document some areas --- src/device_context.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/device_context.hh') diff --git a/src/device_context.hh b/src/device_context.hh index c73f97f..37817d5 100644 --- a/src/device_context.hh +++ b/src/device_context.hh @@ -2,7 +2,6 @@ #define DEVICE_CONTEXT_HH_ #include -#include #include #include @@ -30,6 +29,8 @@ struct DeviceContext final : public Context { std::unordered_map> queues; // We map swapchains to image indexes and their last signalled semaphore. + // FIXME: This isn't used right now, it was formerly used to map queue + // submissions but it ended up being unnecessary complexity. using index_semaphores_t = std::unordered_map; std::unordered_map swapchain_signals; @@ -54,7 +55,6 @@ struct DeviceContext final : public Context { }; Clock clock; - std::uint32_t antilag_fps = 0; VkAntiLagModeAMD antilag_mode = VK_ANTI_LAG_MODE_DRIVER_CONTROL_AMD; @@ -75,9 +75,9 @@ struct DeviceContext final : public Context { const std::uint32_t& image_index, const VkSemaphore& signal_semaphore); - // + // void notify_antilag_update(const VkAntiLagDataAMD& data); - + void notify_queue_present(const QueueContext& queue); }; -- cgit v1.2.3