Commit Graph

89 Commits

Author SHA1 Message Date
FlightlessMango
55c8be5b0b amdgpu: collect throttling data for graph 2023-09-29 15:41:15 +02:00
Alex Maese
cd05d1771f Add ability to toggle through presets 2023-09-08 06:26:22 +02:00
Etaash Mathamsetty
41f923b0b2 Use vulkan/GL device name 2023-08-16 16:32:28 +02:00
FlightlessMango
67862421a6 Text outline
Adds the text_outline parameter that draws a black outline around all
text and the horizontal separator

[skip ci]
2023-05-28 08:03:31 +02:00
Hannes Mann
f92c8b1b76 overlay_params: Add FPS limit method 2023-03-16 03:33:42 +01:00
FlightlessMango
8cf92ff8a6 overlay: horizontal_separator func 2023-03-11 19:55:24 +01:00
Emil Velikov
b714f54cd4 dbus: reshuffle HAVE_DBUS handling
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2023-03-04 21:31:25 +02:00
FlightlessMango
e3995ffcbf mangoapp: compile using static mangohud_library 2023-01-05 07:42:54 +01:00
FlightlessMango
7dee12a75a params: toggle_hud_position 2022-12-12 16:23:47 +01:00
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 :(
2022-07-29 02:11:28 +03:00
FlightlessMango
14dcd153ae control: send msg when log stops 2022-07-28 02:48:35 +02:00
jackun
f680c28f1f
Generalize control over socket so it works with OpenGL too 2022-05-23 18:07:39 +03:00
jackun
753dd96325
Use overlay_new/end_frame to push/pop custom ImGui styles 2022-05-15 02:02:50 +03:00
jackun
ac7c898ba7
Use uint32_t for device id etc 2022-05-14 19:51:08 +03:00
FlightlessMango
65e70c9cfb fan param 2022-04-04 07:07:31 +02:00
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>
2022-03-30 10:20:27 +03:00
Emil Velikov
f8e9ecb9fe
overlay: remove unused calculate_benchmark_data() declaration
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2022-03-30 10:18:46 +03:00
Emil Velikov
5a53ad010f
overlay: position_layer() takes an immutable window_size
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2022-03-30 10:18:43 +03:00
jackun
d2d6787568
Cleanup some header inclusions 2022-03-29 09:33:26 +03:00
jackun
73da29d4ad
Try to init spdlog a bit earlier 2022-03-29 09:33:21 +03:00
FlightlessMango
b064f47d66 mangoapp: vulkan layer 2022-03-14 19:49:20 +01:00
jackun
8e21b52acf
Make get_device_name return GPU name 2022-03-06 22:02:09 +02:00
jackun
e555a942fb
Use single IO stats instance 2022-02-18 16:44:10 +02:00
FlightlessMango
316914da8d mangoapp: fixed mangoapp not respecting no_display 2022-02-15 19:16:45 +01:00
FlightlessMango
6983c2ec39 Use gpu_metrics instead of libdrm when available 2022-02-04 19:55:00 +01:00
FlightlessMango
fb1cae9cc9 display min/max frametime for period 2022-01-25 12:37:58 +01:00
flightlessmango
1f94e0af4d
Merge pull request #657 from ishitatsuyuki/quad
overlay: avoid quadratic behavior
2022-01-17 08:18:25 +01:00
FlightlessMango
37e18279e7 mangoapp: use amdgpu metrics 2022-01-14 22:41:38 +01:00
FlightlessMango
9758d2a286 Try to get correct amd gpu when multiple 2022-01-02 12:04:22 +01:00
FlightlessMango
7212c79feb Logging: push param to benchmark calc 2021-12-19 14:40:27 +01:00
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.
2021-12-19 00:20:54 +09:00
FlightlessMango
ee7f3fbfd2 Mangoapp: frametime message queue 2021-12-13 14:38:50 +01:00
FlightlessMango
23ed317536 mangoapp: shm struct + gamescope engine 2021-11-18 08:25:30 +01:00
FlightlessMango
45be485a13 mangohud control 2021-11-04 02:08:26 +01:00
FlightlessMango
5fee3bc5e3 Change _params to pointer 2021-11-04 02:07:38 +01:00
FlightlessMango
4e3a40c6ef mangoapp + gamescope shm 2021-10-18 17:50:58 +02:00
jackun
abf146f73c
Set correct swapchain_stats etc references for hw updater 2021-10-02 16:42:37 +03:00
FlightlessMango
3ac7772a55 Add universal param 2021-09-18 17:21:20 +02:00
jackun
866fd8bc24
Add per process memory usage (procmem etc) 2021-08-07 15:56:27 +03:00
jackun
88d801bd7e
Move functions not directly related to vulkan from vulkan.cpp to overlay.cpp 2021-07-13 17:08:16 +03:00
Lukáš Horáček
213953089d
Detect ToGL 2021-06-27 16:35:07 +02:00
jackun
750d2cddb5
Make engine type per instance 2021-06-27 16:31:19 +03:00
FlightlessMango
3f120b1fc5 don't set engine to vulkan if already set 2021-06-23 19:53:07 +02:00
Alessandro Toia
570bef468b Cosmetic changes to engine detection 2021-06-19 15:58:01 -07:00
FlightlessMango
5330573c8c don't rely on std in engine detection 2021-06-17 00:49:46 +02:00
FlightlessMango
2e5fc31711 use vulkan to determine if zink 2021-06-10 22:41:06 +02:00
Alessandro Toia
b77517501c Add new param custom_header 2020-12-07 18:35:08 -08:00
jackun
ee2933bff5
Resize fonts 2020-11-26 22:52:10 +02:00
Alessandro Toia
8cad40cfac Change order of cpu/gpu load colors and data 2020-11-25 17:39:02 -08:00
jackun
0474c93800
Change change_on_load_temp's current param to unsigned 2020-11-17 20:25:20 +02:00