FlightlessMango
d1af7c97ac
Removed lingering pthread.h
4 years ago
FlightlessMango
eef6d8974a
Only use popen/close on linux
4 years ago
FlightlessMango
c20b06c851
Remove more ram related things for windows
4 years ago
Alessandro Toia
06f2c7dc1b
Do not show fps_limit if unlimited
4 years ago
Witold Baryluk
e712a26eff
Perform updates of gpuInfo struct in more atomic way
...
The issue is that value might be set to 0, or original miliC (i.e. 35000),
while the other thread is reading it from the memory.
Instead using single writes to the target location,
only with intended end value.
This is a not a full proper fix (like using mutex between overlay and the thread
doing hw info update), but should alleviate issue of logging sometimes
having value 0, or original value of miliC for temperature.
4 years ago
Alessandro Toia
4ada6d1036
Add show_fps_limit param
4 years ago
FlightlessMango
c8d68be476
Add resolution param
4 years ago
Alessandro Toia
ed0c7a344d
Add new param 'core_load_change' to change colors of cpu core load depending on load %
4 years ago
Witold Baryluk
558b8eb093
Properly initialize file pointers to null
...
If in `init_cpu_power_data_k10temp` we fail to initialize all paths,
and fail initialization, then in the destructor, we will most likely
pass invalid value to the `fclose`.
4 years ago
Witold Baryluk
26262e24ff
Improve initialization logic for cpu.cpp
...
Use smart pointers.
Get rid of gotos and labels.
4 years ago
Alessandro Toia
03bd71d145
Add missing add_blacklist for OpenGl apps
4 years ago
jackun
e0f79d9435
Escape spaces in file names for `wordexp` v2 but just append to stringstream
4 years ago
FlightlessMango
a4a5950ddf
Make sure graphs have data without enabling elems
4 years ago
jackun
0309b6bbb9
Escape spaces in file names for `wordexp`
4 years ago
jackun
fda43f5727
Use str_tokenize for multiple delimiters
4 years ago
FlightlessMango
27fee4f151
Prettying up hudelements::graphs
4 years ago
jackun
6a5cd38127
Meson option to have absolute paths in LD_PRELOAD
4 years ago
FlightlessMango
9af4ac546f
No need to convert cpu_load
4 years ago
FlightlessMango
4505bba6bd
Check if logger is active before autostarting
4 years ago
FlightlessMango
3827fe96d4
Add autostart_log param
4 years ago
jackun
ee2933bff5
Resize fonts
4 years ago
Alessandro Toia
8cad40cfac
Change order of cpu/gpu load colors and data
4 years ago
FlightlessMango
f3987ec65c
Move frame_timings ms text to above
4 years ago
FlightlessMango
9124f0f26a
Let graphs take up full content region
4 years ago
Alessandro Toia
d855dc6691
Also change delimiter for media_player_order to +
4 years ago
Alessandro Toia
6ee6663fb6
Change delimiter for cpu and gpu load change and color to +
4 years ago
Alessandro Toia
e4fe24a051
Use "+" as a delimiter for param blacklist
4 years ago
Alessandro Toia
221c355f15
Check if item exits before adding to blacklist
4 years ago
Alessandro Toia
ef05ab2f20
Parse blacklist with parse_str_tokenize
4 years ago
Alessandro Toia
7c80dc53ef
Allow users to add a new item to the blacklist from config file
4 years ago
jackun
0474c93800
Change `change_on_load_temp`'s `current` param to unsigned
4 years ago
jackun
1e8487c991
Move color conversion to HudElements; move some overlay related functions back to overlay.cpp
4 years ago
FlightlessMango
44d5546ba5
Add param table_columns
4 years ago
flightlessmango
ce6a87823b
Merge pull request #388 from flgx16/cpu_power
...
Add cpu_power
4 years ago
flightlessmango
f91e4f9a33
Merge pull request #395 from gort818/no_ms
...
Add param to enable/disable fps milliseconds text
4 years ago
FlightlessMango
7e93453a77
Changed fps_limit's delimiter to +
4 years ago
Alessandro Toia
92146c5833
Add frametime param to enable/disable frametime data next to fps
4 years ago
jackun
7a2a2eafc9
Clear already parsed HUD elements when using legacy layout
4 years ago
FlightlessMango
e5015283a8
cellpadding_y param
4 years ago
jackun
60ffab4350
Add `no_small_font` option for unified font size
4 years ago
Lukáš Horáček
02a34ba890
Fix cpu_mhz when core_load is disabled
4 years ago
Lukáš Horáček
3726c90c7a
Add cpu_power
4 years ago
FlightlessMango
00c9841ff6
Histogram option for all graphs
4 years ago
FlightlessMango
553bf50e6a
Added cpu_mhz param
4 years ago
jackun
3c75cc6c60
rm -fr whitespace around __gnu_linux__
4 years ago
FlightlessMango
366de9a9dd
Legacy elements
4 years ago
FlightlessMango
0c57171497
Make sure gpu_temp is being logged
4 years ago
FlightlessMango
8ebc56d4f7
CPU/GPU Temp graphs
4 years ago
FlightlessMango
cc38924997
Added graphs
4 years ago
FlightlessMango
6e7747c73c
Add sorting for env var
4 years ago
jackun
dbfbd05ecf
Add `media_player` to HudElements
4 years ago
FlightlessMango
ee7f7058c2
No need to use HudElements object in sort_elements
4 years ago
FlightlessMango
aebd3353ab
Move most hud elements into HudElement functions
4 years ago
FlightlessMango
378cc1e089
Push params to HudElements options
4 years ago
jackun
7471d42cac
Fix dbus for GCC 5
4 years ago
flightlessmango
46a239855b
Merge pull request #380 from gort818/gradual_colors
...
Gradual colors for gpu & cpu load
4 years ago
flightlessmango
65b85e86b2
Merge pull request #376 from flgx16/fps-limit-fix
...
Fix for FPS limit breaking
4 years ago
FlightlessMango
fde20cac81
Collect total vram for Nvidia
4 years ago
Lukáš Horáček
06f8641363
Fix for FPS limit breaking
...
Fixes #127
4 years ago
Alessandro Toia
466fc1a008
If load is high set the defined high color
4 years ago
Alessandro Toia
2496ab3541
After parsing load colors make sure it has a size of 3
4 years ago
FlightlessMango
0a12632679
Gradual color change
4 years ago
Alessandro Toia
b75f2944a1
Add struct for gpu color change data
4 years ago
FlightlessMango
b9b20d1117
Remove render_mango as it's no longer needed
4 years ago
flightlessmango
e3354433ce
Merge pull request #358 from gort818/load_color
...
Change color depending on load
4 years ago
Alessandro Toia
ec322b556e
Formatting fixes, remove commented code
4 years ago
Alessandro Toia
76c2129ae2
Remove more unused variables
4 years ago
Alessandro Toia
3e446f7c11
Remove unused variables
4 years ago
Alessandro Toia
c53939587a
Consolidate gpu/cpu load value config
4 years ago
Alessandro Toia
daa23d49db
Consolidate cpu load color config
4 years ago
Alessandro Toia
e1269a18ff
Consolidate gpu load color config
4 years ago
Alessandro Toia
5e486df67f
Fix spacing
4 years ago
Alessandro Toia
17ae055161
Disable cpu/gpu load change from full param output
4 years ago
Alessandro Toia
dc0b3a9955
Set param defaults for load color change
4 years ago
Alessandro Toia
6b71c9c6e3
Remove duplicate code
4 years ago
Alessandro Toia
1c0a5af001
Implement cpu load color change
4 years ago
Alessandro Toia
11d9c3aa97
remove param gpu_load_low as it is not needed
4 years ago
jackun
891a3944f3
[OpenGL] Default and limit GLSL version to 1.20 if OpenGL < 3.0. Not using anything fancy for now anyway.
4 years ago
Alessandro Toia
e7db65d4cd
add function to return high/low/med, add switch for gpu load change
4 years ago
Alessandro Toia
8605d2a7dd
Add spaces
4 years ago
Alessandro Toia
d7f04deb56
Implement gpu load color change
4 years ago
Alessandro Toia
144e9a5917
Add color option to right_aligned_text
4 years ago
FlightlessMango
cb8d992bfe
Use real_font_size for padding
4 years ago
FlightlessMango
8b4df2a9a3
Put time and version inside imgui table
4 years ago
jackun
6dbb1c2aa8
Rename `last_f3_press` to more generic `toggle_fps_limit_press`
4 years ago
jackun
0bc9949af9
Default toggle FPS limit to Shift_L+F1, update README and config file
4 years ago
ZakMcKrack3n
73e6e31301
toggle fps limiter via hotkey, fps_limit may be set to multiple values
...
(e.g. 0,30,60).
fps toggle toggles between entries where zero means unlimited
4 years ago
FlightlessMango
d86a05d3a0
Don't log twice if interval is 0
4 years ago
FlightlessMango
e25ffbafe0
Scale cellpadding based on font_size
4 years ago
jackun
c15133b82f
Add `checkNvidia` for nvml/xnvctrl/nvapi checks, for header cleanup
4 years ago
jackun
a6dc259ea4
Remove unused sysinfo header
4 years ago
jackun
3ef4cf5453
win32: load correct NVAPI dll by checking _WIN64
4 years ago
FlightlessMango
84e64c80b5
Win32 d3d11 make sure we don't update hud unnecessarily
4 years ago
FlightlessMango
ac821df7fa
Win32 basic d3d11 present hook
4 years ago
FlightlessMango
86703ee364
Win32 keybinds
4 years ago
FlightlessMango
dd741cdda3
Assume MangoHud.conf in C:\ root on win32
4 years ago
FlightlessMango
2f55f52011
Allow blacklist for unix too
4 years ago
FlightlessMango
ab90abe4d4
De-linuxify vulkan
4 years ago
FlightlessMango
ab469dee78
Win32 dxgi cleaning up debugging
4 years ago
FlightlessMango
bf9132bba1
Win32 nvapi gpu usage
4 years ago