diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-03-11 10:34:37 +1100 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-03-11 10:34:37 +1100 |
| commit | dcfcd17a2b38c4efd50063a8c84821ac5fce5b1d (patch) | |
| tree | 4f6cf743032fe52e0dc45d8a87352f2614ceaf3b /src/device_context.hh | |
| parent | 733955de0ae90de26fe98854a1debd6b80ccc27a (diff) | |
Remove unused swapchain bookkeeping
Diffstat (limited to 'src/device_context.hh')
| -rw-r--r-- | src/device_context.hh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/device_context.hh b/src/device_context.hh index b4a337b..7ec54d9 100644 --- a/src/device_context.hh +++ b/src/device_context.hh @@ -28,12 +28,6 @@ struct DeviceContext final : public Context { std::unordered_map<VkQueue, std::shared_ptr<QueueContext>> 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::uint32_t, VkSemaphore>; - std::unordered_map<VkSwapchainKHR, index_semaphores_t> swapchain_signals; - struct Clock { public: using time_point_t = std::chrono::time_point<std::chrono::steady_clock, @@ -71,11 +65,6 @@ struct DeviceContext final : public Context { virtual ~DeviceContext(); public: - void notify_acquire(const VkSwapchainKHR& swapchain, - const std::uint32_t& image_index, - const VkSemaphore& signal_semaphore); - - // void notify_antilag_update(const VkAntiLagDataAMD& data); void notify_queue_present(const QueueContext& queue); |
