Commit Graph

111 Commits (8aa0783b4ae9ac6b0e21434640c498b8dc6e3931)

Author SHA1 Message Date
jackun 8aa0783b4a
Show vulkan/opengl version
OpenGL glGetIntegerv(GL_[MAJOR|MINOR]_VERSION) don't work on versions < 3.0 though
4 years ago
FlightlessMango 8fb13e23e4 Resize window when reloading config 4 years ago
jackun a0f5cb56a2
[config] Guard overlay_params from the thread with mutex 4 years ago
jackun 34184abf2e
[config] loop in the notifier thread and reload configuration file if it is changed 4 years ago
FlightlessMango c5dad16612 Listen for modify on config file 4 years ago
FlightlessMango b0e1fe9321 [params] set targetFrameTime in params.cpp 4 years ago
jackun abef561573
Disable CPU stat(s) if it failed to initialize 4 years ago
FlightlessMango b3286cbe48 check if opengl/vulkan with is_vulkan bool 4 years ago
jackun 13e57578c3
Fix update_hud_info indentation 4 years ago
jackun 154380e056
Don't update time if not enabled 4 years ago
jackun 9a7a4d99e0
Don't update CPU freq/temp if not enabled 4 years ago
jackun 6bbc89a9cc
Don't update CPU stats if not enabled 4 years ago
jackun 16552b25e3 Don't update RAM/IO stats if not enabled 4 years ago
jackun 57f3b3470d
Remove param_unit() 4 years ago
FlightlessMango e24f5dfc8b added log_duration param and updated readme 4 years ago
FlightlessMango 8641392ca7 added MANGOHUD_FONT to params as font_file 4 years ago
FlightlessMango d1bdf71580 added MANGOHUD_OUTPUT to params as output_file 4 years ago
jackun 05d61ee77e
Init CPUStats just once 4 years ago
FlightlessMango e68dd48f3f forgot one refresh_config 4 years ago
FlightlessMango fe69ec2955 changed refresh_config to reload_cfg 4 years ago
jackun 373bba5fcf
Keep time outside the table or it gets clipped if using too fancy a format 4 years ago
FlightlessMango 8bf8723ad5 added param text_color 4 years ago
FlightlessMango 77b3033cc7 Removed frametime_alpha and replace it with an overall alpha for text and frametime 4 years ago
FlightlessMango 88ad5de2ab Fix so preloading doesn't break vulkan layer 4 years ago
FlightlessMango 163c76bea7 added param background_color 4 years ago
FlightlessMango 906a8cde23 added param frametime_color 4 years ago
FlightlessMango a2735693ba Merge opengl into develop 4 years ago
FlightlessMango 755558ecb9 added param io_color 4 years ago
FlightlessMango d8b3c3c81f params for changing color of cpu, gpu, vram, ram and engine text 4 years ago
jackun 5e4bd7b8c8
Keep time outside the table or it gets clipped if using too fancy a format 4 years ago
jackun b4f1402461 Right align value texts 4 years ago
jackun e881a1538a Pre-convert crosshair's color to ImGui's format 4 years ago
FlightlessMango 857dcf7fb8 use hmwon freq1/2 instead for amdgpu core/mem clocks 4 years ago
FlightlessMango 4d5f62386b added gpu mem and core clocks to hud 4 years ago
jackun f8398c3e7a Add I/O stats
Using /proc/self/io 'read_bytes' and 'write_bytes' fields which count only
reads/writes that hit the storage (i.e no cached reads).
4 years ago
FlightlessMango 534ca9416d Spruced up iostats and change to bool from custom 4 years ago
FlightlessMango 4847cb8e31 Using table for hud layout 4 years ago
jackun 2472e69205
Check if pApplicationInfo is null 4 years ago
jackun fad35b9540
Just check hwmon sysfs folder for cpu temp sensors 4 years ago
jackun 6bf37f8510
Add "time_format" parameter; update time string every "fps_sampling_period" interval
See std::put_time docs for supported formatting
4 years ago
FlightlessMango 58c7831d5c hud width correction 4 years ago
FlightlessMango 80cff1ac86 Fixed hud width not applying 4 years ago
jackun b91be85ff9
Use std::unordered_map and std::mutex instead for object mapping and related cleanups 4 years ago
jackun 54950853b5
Remove redundant 'no_display' code 4 years ago
jackun 8f66bd7d87
Set stats window height to ImGui::GetCursorPosY() 4 years ago
jackun 2fb0453e28
Create ImGui fonts per swapchain 4 years ago
FlightlessMango 099082affc Refresh config keybind 4 years ago
jackun 9053b63142
Allocate instance_data with "new" 4 years ago
jackun 80f29aad9d
Allow MANGOHUD_CONFIG to override configuration files' settings.
Use `MANGOHUD_CONFIG=some_setting=1` to skip reading the configuration files
and just use the settings specified with MANGOHUD_CONFIG.

Use `MANGOHUD_CONFIG=read_configs,...` to read configuration files too and
add other settings that you would like to override.
4 years ago
jackun 5c4816efa5
Unused instance_data 4 years ago