ryujinx/Ryujinx.HLE/HOS
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
..
Applets Basic impl of Error Applet (#1551) 2020-09-28 00:00:38 +02:00
Diagnostics/Demangler Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
Font Update to LibHac 0.12.0 (#1485) 2020-09-01 17:08:59 -03:00
Ipc Rewrite size for fixed size buffers (#1808) 2020-12-12 14:06:20 +11:00
Kernel Correct type of executable sizes (#1802) 2020-12-13 08:30:27 +01:00
Services Interrupt GPU command processing when a frame's fence is reached. (#1741) 2020-12-17 19:39:52 +01:00
SystemState am/gui: Implement Wake-up message (#1750) 2020-12-15 21:41:42 -03:00
ApplicationLoader.cs shader cache: Fix Linux boot issues (#1709) 2020-11-17 22:40:19 +01:00
ArmProcessContext.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
ArmProcessContextFactory.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
HomebrewRomFsStream.cs Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
Horizon.cs Terminate application before services (#1812) 2020-12-17 01:44:06 +01:00
IdDictionary.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
ModLoader.cs Update to LibHac 0.12.0 (#1485) 2020-09-01 17:08:59 -03:00
ProgramLoader.cs Correct type of executable sizes (#1802) 2020-12-13 08:30:27 +01:00
ResultCode.cs Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
ServiceCtx.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
UserChannelPersistence.cs Fix exiting emulator with multi programs (#1590) 2020-10-10 00:52:11 +02:00