Commit Graph

221 Commits (f92c8b1b7662eb7a2c934d273142e0ca6587340d)

Author SHA1 Message Date
Alessandro Toia 15fc641fc3 Add fps_only param to disable showing the engine name 2 years ago
jackun 9b6a39dfe9
sed s/gnu_linux/linux/g 3 years ago
jackun 729ccc83bd
Use spdlog's 'fmt' to format media player metadata
Usage:
  media_player_format={title};{artist};{album}

Semi-colon breaks to new line, might change.
3 years ago
jackun 31e879215a
[dbus] Also check if gamemode is enabled with D-Bus 3 years ago
jackun 866fd8bc24
Add per process memory usage (`procmem` etc) 3 years ago
jackun a82e27d978
Use spdlog macros so logging can be completely disabled during compile-time 3 years ago
jackun 2f807a4c0d
Add `spdlog` wrap and logging 3 years ago
Joshua Martin 3b0b6fbc42
Add position options to place the overlay halfway down the screen (#561) 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 105ad9c2be Check for batteries only once 3 years ago
Alessandro Toia 1ab25220c6 Add param to check battery power and percent 3 years ago
Alessandro Toia 36ec9ef41a Add round_corners param 3 years ago
jackun afa50a17c4
[OpenGL] Add gl_size_query, gl_bind_framebuffer, gl_dont_flip options for workarounds
`gl_size_query = viewport` - specify what to use for getting display size. Options are "viewport", "scissorbox" or disabled. Defaults to using glXQueryDrawable.
`gl_bind_framebuffer = 0` - (re)bind given framebuffer before MangoHud gets drawn. Helps with Crusader Kings 3.
`gl_dont_flip = 1` - don't swap origin if using GL_UPPER_LEFT. Helps with Ryujinx.
3 years ago
jackun 4d4444e1c5
Allow overriding config file options with MANGOHUD_CONFIG if using legacy layout 3 years ago
jackun f77a73ce8a
Fix scoped_lock clash with >= c++17 3 years ago
jackun 53cca5e723
Merge remote-tracking branch 'origin/master' into develop 3 years ago
flightlessmango e57be394d7
Merge pull request #428 from flgx16/swap
Add swap
4 years ago
jackun 72f1ec094c
Don't continue parsing configs if process is blacklisted 4 years ago
FlightlessMango c54f8bec5d Hud elements exec function 4 years ago
Lukáš Horáček f11a49ae8b
Add swap 4 years ago
Alessandro Toia 80004d3fe0 Chnage fps color based on fps value 4 years ago
Alessandro Toia 75d9e51445 Remove custom_header, add new params custom_text_center and custom_text 4 years ago
Alessandro Toia b77517501c Add new param custom_header 4 years ago
Witold Baryluk 6a1028b17e
Fix some MESA inherited references in overlay params
MANGOHUD_CONFIG as used.

MANGOHUD printf prefix.
4 years ago
Alessandro Toia 8e873fe547 Remove more "not" and "and" in if statments
Rename dbus_helpers.hpp to dbus_helpers.h
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
jackun e0f79d9435
Escape spaces in file names for `wordexp` v2 but just append to stringstream 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 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
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 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 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
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 3726c90c7a
Add cpu_power 4 years ago
FlightlessMango 366de9a9dd Legacy elements 4 years ago
FlightlessMango cc38924997 Added graphs 4 years ago
FlightlessMango 6e7747c73c Add sorting for env var 4 years ago
FlightlessMango aebd3353ab Move most hud elements into HudElement functions 4 years ago
Alessandro Toia 2496ab3541 After parsing load colors make sure it has a size of 3 4 years ago
FlightlessMango b9b20d1117 Remove render_mango as it's no longer needed 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 1c0a5af001 Implement cpu load color change 4 years ago
Alessandro Toia d7f04deb56 Implement gpu load color change 4 years ago
FlightlessMango cb8d992bfe Use real_font_size for padding 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
jackun a6dc259ea4
Remove unused sysinfo header 4 years ago
FlightlessMango 86703ee364 Win32 keybinds 4 years ago
FlightlessMango ff5d85a4a5 Win32 overlay_params 4 years ago
jackun cec98369ae
Include array, explicitly 4 years ago
FlightlessMango 4f64e1403a Deprecation message for output_file 4 years ago
Alessandro Toia 632f1e7000
Add wine and wine colors to overlay 4 years ago
FlightlessMango ac85815d82 Changed output_file to output_folder 4 years ago
FlightlessMango 8a39043a13 Merge branch 'master' into develop 4 years ago
FlightlessMango ce80203ee6 Minimal hud for recording 4 years ago
FlightlessMango a06e01c7ef Merge branch 'develop' 4 years ago
FlightlessMango 4fd1c5f3e7 Fixed some basic errors 4 years ago
FlightlessMango 6a443f35ac Upload multiple logs 4 years ago
jackun b07db5d3ef
[dbus] Don't clear metadata when reloading config file 4 years ago
flightlessmango c046c250d8
Merge branch 'develop' into benchmark-percentages 4 years ago
jackun 5ce6bcb79c
Set target frametime only if fps_limit > 0 4 years ago
jackun 55430d7571
Initialized fps limiter or wait for 300 years 4 years ago
Lars Krämer 6dd08c89bc Use fallback only if no player was requested;
Request no player by default
4 years ago
Lars Krämer 6484e09f01 Implement wrapper class for DBusMessageIter
Implement for_each-style helpers for common constructions
Reimplement most of the DBus message parsing in terms of these
4 years ago
Lars Krämer 5850643db4 Change the media player functionality to allow changing active media
player
4 years ago
flightlessmango eafa62356b
Merge branch 'develop' into benchmark-percentages 4 years ago
jackun c63037efb5
Use 1-channel font textures; glyph ranges support; vulkan image descriptors and "helper" functions
* To save some memory, use just 1-channel alpha-only textures
* Add some sort of wider glyph ranges support
* Chop single-ish vulkan font image uploading function into separate reusable helper functions
* Use descriptor set for ImTextureID but probably use texture array and push constants for "fast-path" if need arises
4 years ago
Lars Krämer 20221217d4 Frame-timing using chrono 4 years ago
Kingsley McDonald 0e1fe708c8 make use of new float parsing function
i've also moved the input validation checks to the config parser, so that
warnings aren't displayed in the terminal output every time a benchmark is
run with an invalid percentile entry.
4 years ago
Kingsley McDonald 979c4d32ca oops! i didn't save changes from the merge conflict >.< 4 years ago
Kingsley McDonald aa77a351de implement configurable benchmark percentiles. 4 years ago
FlightlessMango 064c285f31 permit_upload and upload_log params 4 years ago
jackun 441f1d3f3f
Use std::locale::classic() in parse_float() 4 years ago
jackun e1fb2fbf88
Parse floats in C locale, hopefully 4 years ago
jackun 5ec6519832
Add `media_player_order` to set media player metadata order 4 years ago
FlightlessMango d41909321a More width fixing 4 years ago
FlightlessMango 0728d49a1d Fix width with no params 4 years ago
FlightlessMango 816d6ca515 Fixing hud width issues 4 years ago
FlightlessMango 6d1ed9751d Changed default keybinds 4 years ago
jackun a236af66ee
Lock metadata mutexes in case they are cleared by inotify thread 4 years ago
jackun 16b05dfc5e
Show gpu core clock or power usage in 4th column or both on next row if both are enabled 4 years ago