Ryujinx/src/Ryujinx
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
..
Input/GTK3 Move solution and projects to src 2023-04-27 23:51:14 +02:00
Modules/Updater Fix the restart after an update. (#4869) 2023-05-12 02:14:29 +02:00
Ui GPU: Dispose Renderer after running deferred actions (#5144) 2023-05-31 21:43:20 +00:00
Program.cs Linux: Automatically increase vm.max_map_count if it's too low (#4702) 2023-05-30 01:48:37 +02:00
Ryujinx.csproj Linux: Automatically increase vm.max_map_count if it's too low (#4702) 2023-05-30 01:48:37 +02:00
Ryujinx.ico Move solution and projects to src 2023-04-27 23:51:14 +02:00