mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-27 08:46:03 +03:00
[PR #1860] [MERGED] renderer_vulkan: fix deadlock when resizing the SDL window #2354
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2354
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/1860
Author: @ngoquang2708
Created: 12/24/2024
Status: ✅ Merged
Merged: 12/29/2024
Merged by: @raphaelthegreat
Base:
main← Head:fix-window-resizing📝 Commits (2)
5c23a8erenderer_vulkan: Fix deadlock when resizing the SDL windowccbe410Address review comment📊 Changes
2 files changed (+20 additions, -8 deletions)
View changed files
📝
src/video_core/renderer_vulkan/vk_presenter.cpp(+19 -8)📝
src/video_core/renderer_vulkan/vk_swapchain.cpp(+1 -0)📄 Description
Commit
400da1aa8dadd 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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.