Commit Graph

1 Commits

Author SHA1 Message Date
ubuntu1804 c24f51d495 Implement Vulkan device lost recovery
Detect VK_ERROR_DEVICE_LOST (-4) in vkAcquireNextImageKHR, vkQueueSubmit
and vkQueuePresentKHR and mark m_deviceLost.

Add handleDeviceLost() and recreateDevice() to stop the render timer,
cleanup and rebuild surface, logical device, swapchain, command objects,
sync objects and VulkanRenderer, then restart rendering on success.

Add DEVICE_LOST_RECOVERY.md with recovery docs and remove the obsolete
REFACTORING_SUMMARY.md
2025-11-11 16:48:03 +08:00