Commit Graph

89 Commits (master)

Author SHA1 Message Date
FlightlessMango 55c8be5b0b amdgpu: collect throttling data for graph 8 months ago
Alex Maese cd05d1771f Add ability to toggle through presets 8 months ago
Etaash Mathamsetty 41f923b0b2 Use vulkan/GL device name 9 months ago
FlightlessMango 67862421a6 Text outline
Adds the text_outline parameter that draws a black outline around all
text and the horizontal separator

[skip ci]
12 months ago
Hannes Mann f92c8b1b76 overlay_params: Add FPS limit method 1 year ago
FlightlessMango 8cf92ff8a6 overlay: horizontal_separator func 1 year ago
Emil Velikov b714f54cd4 dbus: reshuffle HAVE_DBUS handling
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
FlightlessMango e3995ffcbf mangoapp: compile using static mangohud_library 1 year ago
FlightlessMango 7dee12a75a params: toggle_hud_position 1 year ago
jackun 85007fe0bd
Use separate font atlas for vulkan
vkCreateSwapchainKHR and vkQueuePresentKHR may share the same ImGui context accidentally and
vkCreateSwapchainKHR might (re)create font image and destroy old font atlas while vkQueuePresentKHR is still rendering :(
2 years ago
FlightlessMango 14dcd153ae control: send msg when log stops 2 years ago
jackun f680c28f1f
Generalize control over socket so it works with OpenGL too 2 years ago
jackun 753dd96325
Use overlay_new/end_frame to push/pop custom ImGui styles 2 years ago
jackun ac7c898ba7
Use uint32_t for device id etc 2 years ago
FlightlessMango 65e70c9cfb fan param 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
Emil Velikov f8e9ecb9fe
overlay: remove unused calculate_benchmark_data() declaration
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
Emil Velikov 5a53ad010f
overlay: position_layer() takes an immutable window_size
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
jackun d2d6787568
Cleanup some header inclusions 2 years ago
jackun 73da29d4ad
Try to init spdlog a bit earlier 2 years ago
FlightlessMango b064f47d66 mangoapp: vulkan layer 2 years ago
jackun 8e21b52acf
Make `get_device_name` return GPU name 2 years ago
jackun e555a942fb
Use single IO stats instance 2 years ago
FlightlessMango 316914da8d mangoapp: fixed mangoapp not respecting no_display 2 years ago
FlightlessMango 6983c2ec39 Use gpu_metrics instead of libdrm when available 2 years ago
FlightlessMango fb1cae9cc9 display min/max frametime for period 2 years ago
flightlessmango 1f94e0af4d
Merge pull request #657 from ishitatsuyuki/quad
overlay: avoid quadratic behavior
2 years ago
FlightlessMango 37e18279e7 mangoapp: use amdgpu metrics 2 years ago
FlightlessMango 9758d2a286 Try to get correct amd gpu when multiple 2 years ago
FlightlessMango 7212c79feb Logging: push param to benchmark calc 2 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.
2 years ago
FlightlessMango ee7f3fbfd2 Mangoapp: frametime message queue 2 years ago
FlightlessMango 23ed317536 mangoapp: shm struct + gamescope engine 3 years ago
FlightlessMango 45be485a13 mangohud control 3 years ago
FlightlessMango 5fee3bc5e3 Change _params to pointer 3 years ago
FlightlessMango 4e3a40c6ef mangoapp + gamescope shm 3 years ago
jackun abf146f73c
Set correct swapchain_stats etc references for hw updater 3 years ago
FlightlessMango 3ac7772a55 Add universal param 3 years ago
jackun 866fd8bc24
Add per process memory usage (`procmem` etc) 3 years ago
jackun 88d801bd7e
Move functions not directly related to vulkan from vulkan.cpp to overlay.cpp 3 years ago
Lukáš Horáček 213953089d
Detect ToGL 3 years ago
jackun 750d2cddb5
Make engine type per instance 3 years ago
FlightlessMango 3f120b1fc5 don't set engine to vulkan if already set 3 years ago
Alessandro Toia 570bef468b Cosmetic changes to engine detection 3 years ago
FlightlessMango 5330573c8c don't rely on std in engine detection 3 years ago
FlightlessMango 2e5fc31711 use vulkan to determine if zink 3 years ago
Alessandro Toia b77517501c Add new param custom_header 3 years ago
jackun ee2933bff5
Resize fonts 4 years ago
Alessandro Toia 8cad40cfac Change order of cpu/gpu load colors and data 4 years ago
jackun 0474c93800
Change `change_on_load_temp`'s `current` param to unsigned 4 years ago