ryubing-ryujinx/src/Ryujinx/Ui
riperiperi c6676007bf
GPU: Dispose Renderer after running deferred actions (#5144)
* GAL: Dispose Renderer after running deferred actions

Deferred actions from disposing physical memory instances always dispose the resources in their caches. The renderer can't be disposed before these resources get disposed, otherwise the dispose actions will not actually run, and the ThreadedRenderer may get stuck trying to enqueue too many commands when there is nothing consuming them.

This should fix most instances of the emulator freezing on close.

* Wait for main render commands to finish, but keep RenderThread alive til dispose

* Address some feedback.

* No parameterize needed

* Set thread name as part of constructor

* Port to Ava and SDL2
2023-05-31 21:43:20 +00:00
..
Applet Move solution and projects to src 2023-04-27 23:51:14 +02:00
Helper Move solution and projects to src 2023-04-27 23:51:14 +02:00
Widgets UI: Expose games build ID for cheat management (#4340) 2023-05-07 14:36:44 +00:00
Windows About window: Add changelog link under ver. number (#5095) 2023-05-28 23:13:40 +02:00
GLRenderer.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
MainWindow.cs Update LastPlayed date on emulation end. (#5056) 2023-05-28 23:03:27 +02:00
MainWindow.glade Move solution and projects to src 2023-04-27 23:51:14 +02:00
OpenToolkitBindingsContext.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
RendererWidgetBase.cs GPU: Dispose Renderer after running deferred actions (#5144) 2023-05-31 21:43:20 +00:00
SPBOpenGLContext.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
StatusUpdatedEventArgs.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
VKRenderer.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00