Ryujinx-uplift/Ryujinx
riperiperi 10aa11ce13
Interrupt GPU command processing when a frame's fence is reached. (#1741)
* Interrupt GPU command processing when a frame's fence is reached.

* Accumulate times rather than %s

* Accurate timer for vsync

Spin wait for the last .667ms of a frame. Avoids issues caused by signalling 16ms vsync. (periodic stutters in smo)

* Use event wait for better timing.

* Fix lazy wait

Windows doesn't seem to want to do 1ms consistently, so force a spin if we're less than 2ms.

* A bit more efficiency on frame waits.

Should now wait the remainder 0.6667 instead of 1.6667 sometimes (odd waits above 1ms are reliable, unlike 1ms waits)

* Better swap interval 0 solution

737 fps without breaking a sweat. Downside: Vsync can no longer be disabled on games that use the event heavily (link's awakening - which is ok since it breaks anyways)

* Fix comment.

* Address Comments.
2020-12-17 19:39:52 +01:00
..
Configuration Discord Rich Presence update (#1029) 2020-03-29 14:25:54 +11:00
Motion Remove some warnings and cleaning code (#1736) 2020-11-27 18:57:20 +01:00
Ui Interrupt GPU command processing when a frame's fence is reached. (#1741) 2020-12-17 19:39:52 +01:00
Updater Remove some warnings and cleaning code (#1736) 2020-11-27 18:57:20 +01:00
_schema.json gui/gpu: Implement setting and toggle for Aspect Ratio (#1777) 2020-12-15 23:19:07 -03:00
Config.json gui/gpu: Implement setting and toggle for Aspect Ratio (#1777) 2020-12-15 23:19:07 -03:00
Program.cs Add option to start games in fullscreen mode (#1580) 2020-12-01 23:02:27 +01:00
Ryujinx.csproj NVIDIA Thread create/delete stutter workarounds (#1760) 2020-12-09 19:36:08 -03:00
Ryujinx.ico Added Program Icon (#900) 2020-01-24 16:14:51 +01:00
THIRDPARTY.md Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00