Ryujinx/Ryujinx.HLE/HOS/Services
riperiperi 10aa11ce13
Interrupt GPU command processing when a frame's fence is reached. ()
* 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 () 2020-12-12 22:10:12 +11:00
Am am/gui: Implement Wake-up message () 2020-12-15 21:41:42 -03:00
Apm apm/am: Refactoring/Unstub services () 2020-11-08 17:00:54 -03:00
Arp Refactor out Application details from Horizon () 2020-05-15 03:16:46 -03:00
Audio Make sure to not leak copy handles passed in request () 2020-12-03 19:19:10 +01:00
Bcat Rewrite size for fixed size buffers () 2020-12-12 14:06:20 +11:00
Bgtc Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Bluetooth bluetooth: Fix event handle in IBluetoothDriver () 2020-08-13 01:04:59 +02:00
BluetoothManager Improved Logger () 2020-08-04 01:32:53 +02:00
Caps caps: Stub SetShimLibraryVersion () 2020-09-20 13:32:48 +10:00
Cec Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Erpt Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Es Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Eupld Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Fatal Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Friend Rewrite size for fixed size buffers () 2020-12-12 14:06:20 +11:00
Fs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel () 2020-12-02 00:23:43 +01:00
Grc Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Hid Create a single guest process per IPC message processor () 2020-12-02 13:14:44 +01:00
Ins Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Lbl am/lbl/hid/pctl: Enabled VR Rendering () 2020-11-15 22:30:20 +01:00
Ldn Improved Logger () 2020-08-04 01:32:53 +02:00
Lm Improved Logger () 2020-08-04 01:32:53 +02:00
Loader Add various error codes to Loader () 2020-05-04 13:22:28 +02:00
Mig Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Mii Update to LibHac 0.12.0 () 2020-09-01 17:08:59 -03:00
Mm Improved Logger () 2020-08-04 01:32:53 +02:00
Ncm Add various error codes to NCM LR () 2020-05-08 16:06:32 +02:00
News Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Nfc IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel () 2020-12-02 00:23:43 +01:00
Ngct ngct: Fix services and stub calls () 2020-12-10 03:08:28 +01:00
Nifm IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel () 2020-12-02 00:23:43 +01:00
Nim nim: Implement IsLargeResourceAvailable () 2020-12-17 05:19:28 +01:00
Notification Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Npns Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Ns IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel () 2020-12-02 00:23:43 +01:00
Nv GPU: Improve unnecessary return value in Map function. () 2020-12-11 06:05:53 +01:00
Olsc olsc: Add service olsc:u and stub some calls () 2020-11-20 09:56:23 +11:00
Ovln Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Pcie Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Pctl pctl: Implement IsRestrictionEnabled and fix CheckFreeCommunicationPermission () 2020-11-24 21:19:06 +01:00
Pcv Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Pm Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Prepo Improved Logger () 2020-08-04 01:32:53 +02:00
Psc Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Ptm Improved Logger () 2020-08-04 01:32:53 +02:00
Ro Correct type of executable sizes () 2020-12-13 08:30:27 +01:00
Sdb IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel () 2020-12-02 00:23:43 +01:00
Settings Update to LibHac 0.12.0 () 2020-09-01 17:08:59 -03:00
Sm IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel () 2020-12-02 00:23:43 +01:00
Sockets Create a single guest process per IPC message processor () 2020-12-02 13:14:44 +01:00
Spl Implement a new physical memory manager and replace DeviceMemory () 2020-05-04 08:54:50 +10:00
Srepo Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Ssl Improved Logger () 2020-08-04 01:32:53 +02:00
SurfaceFlinger Interrupt GPU command processing when a frame's fence is reached. () 2020-12-17 19:39:52 +01:00
Time Rewrite size for fixed size buffers () 2020-12-12 14:06:20 +11:00
Usb Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
Vi Create a single guest process per IPC message processor () 2020-12-02 13:14:44 +01:00
Wlan Refactoring HOS folder structure () 2019-09-19 10:45:11 +10:00
CommandAttributes.cs IPC refactor part 1: Use explicit separate threads to process requests () 2020-09-22 14:50:40 +10:00
DummyService.cs Refactoring commands handling () 2019-07-11 22:13:43 -03:00
IIpcService.cs Refactoring commands handling () 2019-07-11 22:13:43 -03:00
IpcService.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel () 2020-12-02 00:23:43 +01:00
ServerBase.cs Rewrite scheduler context switch code () 2020-12-09 19:20:05 -03:00
ServiceAttributes.cs IPC refactor part 1: Use explicit separate threads to process requests () 2020-09-22 14:50:40 +10:00
ServiceConfiguration.cs IPC services refactoring () 2019-07-10 12:59:54 -03:00