shadPS4 icon indicating copy to clipboard operation
shadPS4 copied to clipboard

renderer_vulkan: fix deadlock when resizing the SDL window

Open ngoquang2708 opened this issue 2 months ago • 19 comments

Commit 400da1aa8da376d38b3c4a086bc7f656f590de2e add ability to handle recreation of the swapchain which fix black screen under XWayland. Unfortunately, that commit doesn't account for rapid swapchain recreation caused by resizing window.

This commit aim to solve that issue by skipping frames to recreate the swapchain and delay resetting the frame's present done fence until after we know for sure we will be submitting work with it.

ngoquang2708 avatar Dec 24 '24 12:12 ngoquang2708