vulkan/swapchain: import buffers correctly

The "importDmabuf" method approach was copied from the EGL code, but it's quite problematic for Vulkan, since it doesn't handle synchronization when buffers get deleted. This lack of synchronization can cause GPU hangs and similar problems.

Co-authored-by: SungHwan Jung nowy08@gmail.com

BUG: 521727

Merge request reports

Loading