Commit Graph

72 Commits (83d235e6309cddfd555ae19ddf3b373f8e224d04)

Author SHA1 Message Date
jackun 6bf37f8510
Add "time_format" parameter; update time string every "fps_sampling_period" interval
See std::put_time docs for supported formatting
5 years ago
FlightlessMango 58c7831d5c hud width correction 5 years ago
FlightlessMango 80cff1ac86 Fixed hud width not applying 5 years ago
jackun b91be85ff9
Use std::unordered_map and std::mutex instead for object mapping and related cleanups 5 years ago
jackun 54950853b5
Remove redundant 'no_display' code 5 years ago
jackun 8f66bd7d87
Set stats window height to ImGui::GetCursorPosY() 5 years ago
jackun 2fb0453e28
Create ImGui fonts per swapchain 5 years ago
FlightlessMango 099082affc Refresh config keybind 5 years ago
jackun 9053b63142
Allocate instance_data with "new" 5 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.
5 years ago
jackun 5c4816efa5
Unused instance_data 5 years ago
jackun 27848bd253
Don't crash if there's nothing to draw 5 years ago
FlightlessMango d8783d3002 Added time param 5 years ago
jackun b9ae979a05
Don't interpolate fps limit sleep overhead
Random hiccups and game pauses can make it go crazy otherwise.
5 years ago
FlightlessMango dba31e6a11 Set background alpha color to 1.0 5 years ago
FlightlessMango e947dae9ed Fixed fps limiter accuracy 5 years ago
FlightlessMango c73df54166 Added background_alpha param 5 years ago
FlightlessMango e81fa5776e Added crosshair_color param 5 years ago
FlightlessMango d79d06271f Repurposed no_display param 5 years ago
FlightlessMango 50cff923e8 Changed vram to display GB from MB 5 years ago
FlightlessMango 3c4fcda623 Added offset x/y in params 5 years ago
FlightlessMango a8e4ac84f9 Merge branch 'crosshair' 5 years ago
FlightlessMango 69ed9db4c1 Merge branch 'limiter' 5 years ago
jackun 1fc94f6db5
Remove unused histogram's get_stat() 5 years ago
Georg Lehmann 7a4ffe8206
Vulkan overlay: use the corresponding image index for each swapchain
pImageIndices should be a pointer to the current image index
otherwise every swapchain but the first one could have a wrong image index
5 years ago
FlightlessMango 784cb427ff Use params for keybinds 5 years ago
FlightlessMango e359058430 Fixed hud being wider than intended 5 years ago
jackun 5f6c3c9190
Fix ImGui::PopStyleColor() being in wrong place 5 years ago
FlightlessMango c5ea98a243 Added a crosshair and params for it 5 years ago
FlightlessMango be8dc8929d Don't use fps limiter unless limit is set 5 years ago
FlightlessMango 148d19422d Added vsync option 5 years ago
FlightlessMango cd131e0c39 Add fps_limit param 5 years ago
FlightlessMango a99720f311 Change to nanoseconds 5 years ago
FlightlessMango f38389b967 FPS limiter 5 years ago
FlightlessMango 4be6d4c748 Added frametime ms next to frametime graph 5 years ago
FlightlessMango bd4c402824 Added Frametime label 5 years ago
telans 1bc513f572
remove nvidiaSmiThread 5 years ago
jackun 97fcafd030
Check if amdgpu file handles are valid 5 years ago
Georg Lehmann 908d46d6ea
Correctly wait in the fragment stage until all semaphores are signaled
This fixes two issues:
- a crash if the application uses more than one semaphore for presenting because the driver expects one stage per semaphore
- the swapchain image could be not ready yet if the semaphores aren't signaled, \#946[1] is possible related

[1] https://gitlab.freedesktop.org/mesa/mesa/issues/946

Signed-off-by: jackun <jack.un@gmail.com>
5 years ago
jackun 3c8376588a
Init gpu stats when VkDevice gets created 5 years ago
FlightlessMango 35d8f7c829
add ram/vram param options 5 years ago
FlightlessMango beaac191d1
Displaying used ram and vram on the hud 5 years ago
FlightlessMango e3b380b970
changed mem color 5 years ago
FlightlessMango 14ad1e015a
Display memory stats on the hud 5 years ago
FlightlessMango d20a92a0c4 Write system info to log file 5 years ago
FlightlessMango 68599a02a3 param options for cpu_stats and gpu_stats 5 years ago
jackun bba8702ff3
Check if engine name is set 5 years ago
jackun 6d3d869586
Fix system info and stats parsing 5 years ago
telans 539e1bb4dc
saturate the colors a little 5 years ago
jackun ca0462f817
Revert "Fix Get*ProcAddr functions' exports"
This reverts commit 3f036dd3a0.
5 years ago