aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Multithreading/Commands/SetPolygonModeCommand.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2021-10-12 22:29:50 +0100
committerGitHub <noreply@github.com>2021-10-12 23:29:50 +0200
commita2c6cd51329a4b8fe4eba0d47cb4d4ce2084876d (patch)
treeb1f54dbf6a017b94b6a74ecd5d080defc3d6902d /Ryujinx.Graphics.GAL/Multithreading/Commands/SetPolygonModeCommand.cs
parent0bce4a074a32099152ac65cb49b2a75051e3ba8b (diff)
Enqueue frame before signalling the frame is ready. (#2722)
It seems that certain games (Link's Awakening, Xenoblade DE) had their fences reached already when posting framebuffers, so the signal that a frame was ready would go out _before_ the frame was enqueued, and the render loop would fail to dequeue anything and "skip" a frame. This was resulting in their performance lowering dramatically after some loading transitions, as a frame signal would be consumed and presentation would be one frame behind. It's possible this might have eventually caused deadlocks in these games or others, if it happened twice.
Diffstat (limited to 'Ryujinx.Graphics.GAL/Multithreading/Commands/SetPolygonModeCommand.cs')
0 files changed, 0 insertions, 0 deletions