From c8f9292babd5aa6021ce1bd6a977130baebb7de3 Mon Sep 17 00:00:00 2001 From: Emmanuel Hansen Date: Tue, 16 Aug 2022 16:32:37 +0000 Subject: Avalonia - Couple fixes and improvements to vulkan (#3483) * drop split devices, rebase * add fallback to opengl if vulkan is not available * addressed review * ensure present image references are incremented and decremented when necessary * allow changing vsync for vulkan * fix screenshot on avalonia vulkan * save favorite when toggled * improve sync between popups * use separate devices for each new window * fix crash when closing window * addressed review * don't create the main window with immediate mode * change skia vk delegate to method * update vulkan throwonerror * addressed review --- Ryujinx.Graphics.GAL/Multithreading/ThreadedWindow.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Ryujinx.Graphics.GAL/Multithreading/ThreadedWindow.cs') diff --git a/Ryujinx.Graphics.GAL/Multithreading/ThreadedWindow.cs b/Ryujinx.Graphics.GAL/Multithreading/ThreadedWindow.cs index c8045502..21a66e7c 100644 --- a/Ryujinx.Graphics.GAL/Multithreading/ThreadedWindow.cs +++ b/Ryujinx.Graphics.GAL/Multithreading/ThreadedWindow.cs @@ -30,5 +30,7 @@ namespace Ryujinx.Graphics.GAL.Multithreading { _impl.Window.SetSize(width, height); } + + public void ChangeVSyncMode(bool vsyncEnabled) { } } } -- cgit v1.2.3