Ryujinx/src/Ryujinx.Graphics.Gpu
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
..
Engine Limit compute storage buffer size (#5028) 2023-05-20 16:15:07 +00:00
Image GPU: Remove swizzle undefined matching and rework depth aliasing (#4896) 2023-05-11 21:30:47 -03:00
Memory GPU: Avoid using garbage size for non-cb0 storage buffers (#4999) 2023-05-18 08:56:34 +02:00
Shader Share ResourceManager vertex vertex A and B shaders (#5181) 2023-05-31 17:17:50 -03:00
Synchronization GPU: Pre-emptively flush textures that are flushed often (to imported memory when available) (#4711) 2023-05-01 16:05:12 -03:00
ClassId.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
Constants.cs Limit compute storage buffer size (#5028) 2023-05-20 16:15:07 +00:00
GpuChannel.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
GpuContext.cs GPU: Dispose Renderer after running deferred actions (#5144) 2023-05-31 21:43:20 +00:00
GraphicsConfig.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ryujinx.Graphics.Gpu.csproj Move solution and projects to src 2023-04-27 23:51:14 +02:00
Window.cs Move solution and projects to src 2023-04-27 23:51:14 +02:00