Emil Velikov
e50a969586
hud_elements: one assignment per line
...
Stay consistent with the rest of the project.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
Emil Velikov
2b7db32f54
Const annotate overlay_params& across the board
...
Most of the API does not modify it, so annotate it as const.
This makes it earlier to reason what's happening.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
jackun
a13b041d1d
Fps limit: simplify converting frame time back to fps
2 years ago
jackun
d2d6787568
Cleanup some header inclusions
2 years ago
jackun
bac50e42d5
Add frame count
2 years ago
FlightlessMango
8b801e8435
don't set hide_fsr_sharpness with full
2 years ago
FlightlessMango
0402fa4ab5
mangoapp: fsr_steam_sharpness
2 years ago
FlightlessMango
3f2db318c5
Some fixes for windows compiling
2 years ago
Alessandro Toia
9b668babdc
gamepad: add bool is_charging
2 years ago
Alessandro Toia
74b328d209
gamepad: add option to disable icon and show capacity instead
2 years ago
Alessandro Toia
5c92c32491
add gamepad_battery to legacy elements
2 years ago
Alessandro Toia
4be3ba20c2
GAMEPAD: add battery reporting for gamepad devices
...
(xone,xpadneo,ds4,ds5,switch)
2 years ago
FlightlessMango
68f40c56cc
only shrink frametime graph on mangoapp
2 years ago
jackun
e555a942fb
Use single IO stats instance
2 years ago
FlightlessMango
5cdedc4671
mangoapp: gamescope debug graphs
2 years ago
Alessandro Toia
056f7b0e29
Check if battery status is full
2 years ago
FlightlessMango
17867f2a6d
Battery: show remaining if > 1.f
2 years ago
FlightlessMango
b11714a326
mangoapp: hide fsr sharp when off
2 years ago
FlightlessMango
cdcd08be44
battery remaining: don't show seconds at least by default
2 years ago
FlightlessMango
5508933c47
mangoapp: make fsr display a little prettier
2 years ago
Alessandro Toia
590f52d223
When battery is plugged in show plug icon
2 years ago
Alessandro Toia
b158888d54
Add remaining time text to battery
2 years ago
FlightlessMango
39f6ae98ec
Battery remaining time
2 years ago
FlightlessMango
a9f811a207
mangoapp: gamescope fsr
2 years ago
FlightlessMango
d71dd74685
Fix amdgpu watt and make it more granular
2 years ago
FlightlessMango
fb1cae9cc9
display min/max frametime for period
2 years ago
Alessandro Toia
af716ac830
Add fps_only to legacy_elements, fixes #674
2 years ago
flightlessmango
1f94e0af4d
Merge pull request #657 from ishitatsuyuki/quad
...
overlay: avoid quadratic behavior
2 years ago
FlightlessMango
d5c409beed
mangoapp: temporarily remove vram mhz
2 years ago
FlightlessMango
92151565fc
mangoapp: disable some options
3 years ago
Alessandro Toia
6717ad9ecf
Remove the FPS text from fps_only param
3 years ago
Alessandro Toia
15fc641fc3
Add fps_only param to disable showing the engine name
3 years ago
Tatsuyuki Ishi
ada173e67f
overlay: avoid quadratic behavior
...
Using a vector with erase(begin()) results in a copy of the full array
every time. This is inefficient and in the case of HUD graphs, was having
quadratic complexity which can noticeably affect performance.
This patch replaces most of the operations with an O(1) alternative,
keeping the total cost under a linear bound. While on this, also refactor
the size of graph array into a constant.
3 years ago
jackun
9b6a39dfe9
sed s/gnu_linux/linux/g
3 years ago
jackun
822e325d11
Add get_basename, fix win32 build
...
std::string::substr likes to throw
3 years ago
jackun
5767426192
Nope, ERROR level has higher priority, doh
3 years ago
jackun
866fd8bc24
Add per process memory usage (`procmem` etc)
3 years ago
jackun
355c521f12
Misc small clean ups and fixes
3 years ago
jackun
46c2183b5d
Use engine type enum in `engine_version()`
3 years ago
jackun
88d801bd7e
Move functions not directly related to vulkan from vulkan.cpp to overlay.cpp
3 years ago
jackun
750d2cddb5
Make engine type per instance
3 years ago
Alessandro Toia
0bc6d33a24
Fix frame spikes when using battery parameter
3 years ago
FlightlessMango
5330573c8c
don't rely on std in engine detection
3 years ago
FlightlessMango
a50bbbac22
add battery, fps_limit and resolution to legacy layout
3 years ago
flightlessmango
428ddf4e8a
Merge pull request #536 from flightlessmango/battery_test
...
Battery info and font awesome icons
3 years ago
Joshua Ashton
815097718e
Use nanoseconds to calculate fps
...
No need to round this earlier on.
Removes an unnecessary implicit float -> double conversion in the calculation also
3 years ago
Alessandro Toia
5c48b4729c
Change param to battery, add param for icon, hide power when plugged in
3 years ago
Alessandro Toia
500a65dd52
Only display battery stats if a battery is present
3 years ago
Alessandro Toia
8980ff46bc
When plugged in change battery icon according to percent
3 years ago
Alessandro Toia
b89b9b8109
Add ForkAwesome Icons
3 years ago