Commit Graph

21 Commits

Author SHA1 Message Date
Nikos Chantziaras 430baf7c21
Add Linux GameMode support (#13339)
This can fix a lot of performance issues, like audio crackling and frame
time spikes. This requires the GameMode package to be installed. See:

https://github.com/FeralInteractive/gamemode

This commit adds a "Game Mode" bool option to the "Power
Management" and "Latency" settings sections, and it can be toggled
on/off without restarting RA.

The actual toggling of game mode happens in a new frontend platform
interface function. Perhaps this will become useful for other platforms
that provide some equivalent of Linux GameMode.

Since the GameMode ABI is fixed, and the API comes as a single,
header-only file with no actual deps, we simply bundle the header
(deps/feralgamemode/gamemode_client.h.) That way, all Linux builds will
have support for GameMode regardless of whether the GameMode development
package is installed or not.
2021-12-14 14:07:42 +01:00
twinaphex 4c51e31b9d (Platform) Cleanups + add missing function pointer bind for Darwin 2021-01-16 16:14:03 +01:00
David Guillen Fandos a442696b71 First attempt at adding proper brightness
Supports Switch and OGA
2020-11-26 19:22:05 +01:00
David Guillen Fandos f5693f15e7 Make get_lakka_version available in all builds
This simplifies a bit the code, for some new lakka patches to come.
2020-11-23 18:44:24 +01:00
twinaphex 3ac75c043e Jdgleaver improvements 2020-11-20 03:55:55 +01:00
twinaphex 2d274f1369 Move accessibility features to platform frontend driver 2020-02-14 00:17:55 +01:00
Brad Parker aa588dec35 set default language on first startup according to OS setting (initial *nix implementation) 2019-04-15 23:14:49 -04:00
Brad Parker e22148fed4 show cpu model name in log, implemented for x86/64 on windows/linux so far 2019-02-23 16:50:42 -05:00
Brad Parker aa083d1e4c android: add configurable setting for Sustained Performance Mode 2018-06-19 02:50:33 -04:00
Brad Parker f087b150c9 Add quick menu option to watch shader files for changes and recompile automatically (Linux only for now) 2018-01-25 15:50:57 -05:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 2a139b7d72 Add frontend_driver_attach_console/frontend_driver_detach_console 2016-10-09 17:15:50 +02:00
twinaphex e9dc729503 Create set_signal_handler_state 2016-07-08 12:48:01 +02:00
twinaphex 05467443a2 Add destroy_signal_handler_state 2016-07-08 02:24:56 +02:00
twinaphex a735114780 Add get_signal_handler_state 2016-07-08 02:20:42 +02:00
twinaphex 6cdc34e891 Add install_signal_handler callback 2016-07-08 02:10:40 +02:00
twinaphex f0e05ecbc8 Start adding get_total_mem callback 2016-06-12 02:33:07 +02:00
twinaphex f70a082626 Create event_cmd_exec - get rid of libretro_private.h 2016-02-03 16:58:06 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex e0c7d0905d Header cleanups 2015-09-15 04:49:10 +02:00
twinaphex 603f95cbf4 Remove frontend_xenon.c - implement platform_xenon.c instead 2015-09-04 20:45:02 +02:00