ryujinx/Ryujinx.HLE/HOS/Services
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
..
Account Remove inexistent buffer from GetNintendoAccountUserResourceCacheForApplication (#1809) 2020-12-12 22:10:12 +11:00
Am am/gui: Implement Wake-up message (#1750) 2020-12-15 21:41:42 -03:00
Apm apm/am: Refactoring/Unstub services (#1662) 2020-11-08 17:00:54 -03:00
Arp
Audio Make sure to not leak copy handles passed in request (#1772) 2020-12-03 19:19:10 +01:00
Bcat Rewrite size for fixed size buffers (#1808) 2020-12-12 14:06:20 +11:00
Bgtc
Bluetooth
BluetoothManager
Caps
Cec
Erpt
Es
Eupld
Fatal
Friend Rewrite size for fixed size buffers (#1808) 2020-12-12 14:06:20 +11:00
Fs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Grc
Hid Create a single guest process per IPC message processor (#1769) 2020-12-02 13:14:44 +01:00
Ins
Lbl am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
Ldn
Lm
Loader
Mig
Mii
Mm
Ncm
News
Nfc IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Ngct ngct: Fix services and stub calls (#1756) 2020-12-10 03:08:28 +01:00
Nifm IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Nim nim: Implement IsLargeResourceAvailable (#1821) 2020-12-17 05:19:28 +01:00
Notification
Npns
Ns IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Nv GPU: Improve unnecessary return value in Map function. (#1799) 2020-12-11 06:05:53 +01:00
Olsc olsc: Add service olsc:u and stub some calls (#1734) 2020-11-20 09:56:23 +11:00
Ovln
Pcie
Pctl pctl: Implement IsRestrictionEnabled and fix CheckFreeCommunicationPermission (#1747) 2020-11-24 21:19:06 +01:00
Pcv
Pm
Prepo
Psc
Ptm
Ro Correct type of executable sizes (#1802) 2020-12-13 08:30:27 +01:00
Sdb IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Settings
Sm IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Sockets Create a single guest process per IPC message processor (#1769) 2020-12-02 13:14:44 +01:00
Spl
Srepo
Ssl
SurfaceFlinger Interrupt GPU command processing when a frame's fence is reached. (#1741) 2020-12-17 19:39:52 +01:00
Time Rewrite size for fixed size buffers (#1808) 2020-12-12 14:06:20 +11:00
Usb
Vi Create a single guest process per IPC message processor (#1769) 2020-12-02 13:14:44 +01:00
Wlan
CommandAttributes.cs
DummyService.cs
IIpcService.cs
IpcService.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
ServerBase.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
ServiceAttributes.cs
ServiceConfiguration.cs