-
Notifications
You must be signed in to change notification settings - Fork 5
Suppport for gamemode on Linux #37
Description
It would be cool if Tomatenquark could add support for gamemode. Basically what it does it changing the CPU gov for the game (and some other performance tricks), and resetting it afterwards, so it should increase performance a bit for some users.
It can be integrated in three ways:
- Include a header in the main function
- Statically link libgamemodeauto (basically the same as 1.)
- Dynamically link libgamemodeauto
Since Make isn't exactly very flexible when it comes to build options (it's possible but ugly), I would wait for #22 to be resolved.
In Meson, it would be quite simple to give all these three options. At least having both 1. and 3. is nice because that means that one can simply add it for a Steam build without worrying if gamemode is installed, but also Distro shipping Tomatenquark (maybe I'll go for it in Debian if I find the time) can simply link against the system installation of libgamemodeauto.