Improve rendering quality (alpha blending)

This commit is contained in:
dec05eba
2024-12-27 21:04:28 +01:00
parent d07e50677a
commit 49584e3dfc
2 changed files with 6 additions and 2 deletions

6
TODO
View File

@@ -112,4 +112,8 @@ Save audio devices by name instead of id. This is more robust since audio id can
Improve linux global hotkeys startup time by parsing /proc/bus/input/devices instead of ioctl. Improve linux global hotkeys startup time by parsing /proc/bus/input/devices instead of ioctl.
Keyboard grabbing has some issues. If a key is grabbed while its being held down that it will be kept in held-down state (a hack exists to workaround this, but it may not work in all environments). Keyboard grabbing has some issues. If a key is grabbed while its being held down that it will be kept in held-down state (a hack exists to workaround this, but it may not work in all environments).
This also causes an issue where is a key is pressed before key is grabbed and then released while grabbed and then key is ungrabbed then the key will have to be pressed twice to register in the display server. This also causes an issue where is a key is pressed before key is grabbed and then released while grabbed and then key is ungrabbed then the key will have to be pressed twice to register in the display server.
We can get the name of the running steam game without x11 by listing processes and finding the one that runs a program called "reaper" with the arguments SteamLaunch AppId=<number>. The binary comes after the -- argument, get the name of the game by parsing out name from that, in the format steamapps/common/<name>/.
All steam game names by ID are available at https://api.steampowered.com/ISteamApps/GetAppList/v2/. The name of a single game can be retrieved from http://store.steampowered.com/api/appdetails?appids=115800.