FlightlessMango
|
f81af99ee5
|
NVCtrl meson build
|
2020-03-20 12:54:20 +01:00 |
|
FlightlessMango
|
aaaf30b807
|
NVctrl fetching
|
2020-03-20 12:54:08 +01:00 |
|
FlightlessMango
|
8ee0ec2c3f
|
NVCtrl loader
|
2020-03-20 12:53:43 +01:00 |
|
jackun
|
1915352c86
|
Draw versions after table so they don't get clipped
|
2020-03-18 18:55:51 +02:00 |
|
jackun
|
c7bee1a99d
|
[OpenGL] Compare if viewport or scissor box size changed with window resizing and use that for display size
|
2020-03-17 15:06:58 +02:00 |
|
jackun
|
6ad6bffade
|
Use ImGui's DisplaySize so display size for layer positioning etc can be set the same way for vulkan and OpenGL
|
2020-03-17 15:00:20 +02:00 |
|
jackun
|
3d46ccafe1
|
Show OpenGL version below engine name too to avoid it getting clipped
|
2020-03-17 14:58:27 +02:00 |
|
jackun
|
8aa0783b4a
|
Show vulkan/opengl version
OpenGL glGetIntegerv(GL_[MAJOR|MINOR]_VERSION) don't work on versions < 3.0 though
|
2020-03-17 00:24:04 +02:00 |
|
jackun
|
bb3aba9080
|
[OpenGL] Use elfhacks to load real OpenGL functions
|
2020-03-16 22:37:42 +02:00 |
|
jackun
|
85801bcc17
|
[OpenGL] Add elfhacks
https://github.com/ienorand/elfhacks
|
2020-03-16 22:37:42 +02:00 |
|
FlightlessMango
|
8fb13e23e4
|
Resize window when reloading config
|
2020-03-16 18:41:48 +01:00 |
|
jackun
|
5bdfcd493d
|
[config] Add config file change notifier to OpenGL
|
2020-03-16 19:35:46 +02:00 |
|
jackun
|
a0f5cb56a2
|
[config] Guard overlay_params from the thread with mutex
|
2020-03-16 18:52:03 +02:00 |
|
jackun
|
34184abf2e
|
[config] loop in the notifier thread and reload configuration file if it is changed
|
2020-03-16 18:35:01 +02:00 |
|
jackun
|
341aa21b87
|
[config] Move options map and config_file_path to overlay_params
|
2020-03-16 18:32:48 +02:00 |
|
FlightlessMango
|
c5dad16612
|
Listen for modify on config file
|
2020-03-16 16:48:12 +01:00 |
|
jackun
|
b0f36fad31
|
Expand paths only
|
2020-03-15 18:52:14 +02:00 |
|
FlightlessMango
|
b0e1fe9321
|
[params] set targetFrameTime in params.cpp
|
2020-03-15 17:09:03 +01:00 |
|
FlightlessMango
|
71b602751d
|
[meson] option to include_doc
|
2020-03-15 16:01:08 +01:00 |
|
jackun
|
6e40f9bdd5
|
Expand tilde to home dir if string param start with ~
|
2020-03-15 16:57:49 +02:00 |
|
jackun
|
f7a7256374
|
Clear options map so reloading config files actually has an effect
|
2020-03-15 14:37:42 +02:00 |
|
jackun
|
6b4103eae9
|
[config] Parse Wine application name without absolute path
|
2020-03-15 13:09:51 +02:00 |
|
jackun
|
abef561573
|
Disable CPU stat(s) if it failed to initialize
|
2020-03-14 23:15:03 +02:00 |
|
jackun
|
712590befe
|
Check if CPU sensor file handle is valid
|
2020-03-14 23:14:48 +02:00 |
|
FlightlessMango
|
64a42df047
|
forgot to include functional
|
2020-03-14 19:27:25 +01:00 |
|
FlightlessMango
|
cbb58ab79c
|
make sure Xdisplay is closed on shutdown
|
2020-03-14 19:18:41 +01:00 |
|
FlightlessMango
|
b3286cbe48
|
check if opengl/vulkan with is_vulkan bool
|
2020-03-14 18:29:43 +01:00 |
|
jackun
|
13e57578c3
|
Fix update_hud_info indentation
|
2020-03-14 19:11:34 +02:00 |
|
jackun
|
154380e056
|
Don't update time if not enabled
|
2020-03-14 19:10:38 +02:00 |
|
jackun
|
9a7a4d99e0
|
Don't update CPU freq/temp if not enabled
|
2020-03-14 18:48:04 +02:00 |
|
jackun
|
6bbc89a9cc
|
Don't update CPU stats if not enabled
|
2020-03-14 18:41:50 +02:00 |
|
jackun
|
16552b25e3
|
Don't update RAM/IO stats if not enabled
|
2020-03-14 18:38:18 +02:00 |
|
jackun
|
c850507314
|
[OpenGL] Initialize MangoHud from glXSwapBuffers even if glXMakeCurrent is skipped for some reason
|
2020-03-14 18:32:27 +02:00 |
|
jackun
|
fa41e6f882
|
Always configure vulkan json
|
2020-03-14 13:22:17 +02:00 |
|
jackun
|
ad64bf345d
|
Update build scripts, again
Install to $prefix$libdir/mangohud by default.
|
2020-03-14 12:59:43 +02:00 |
|
jackun
|
50cef9621b
|
Remove ~/.local/share/MangoHud/MangoHud.conf support
|
2020-03-13 18:37:55 +02:00 |
|
jackun
|
57f3b3470d
|
Remove param_unit()
|
2020-03-13 18:25:22 +02:00 |
|
jackun
|
2e3f8077cb
|
Remove parse_output_file
|
2020-03-13 18:24:21 +02:00 |
|
jackun
|
da9120f971
|
Add parse_signed() for gl_sync
|
2020-03-13 18:05:03 +02:00 |
|
jackun
|
125dbc1403
|
[OpenGL] Allow swap interval of -1 for adaptive sync, if supported
|
2020-03-13 17:54:36 +02:00 |
|
FlightlessMango
|
e24f5dfc8b
|
added log_duration param and updated readme
|
2020-03-13 16:27:45 +01:00 |
|
FlightlessMango
|
b4cd837328
|
[OpenGL] custom font file
|
2020-03-13 16:18:59 +01:00 |
|
FlightlessMango
|
8641392ca7
|
added MANGOHUD_FONT to params as font_file
|
2020-03-13 16:18:47 +01:00 |
|
FlightlessMango
|
d1bdf71580
|
added MANGOHUD_OUTPUT to params as output_file
|
2020-03-13 16:06:57 +01:00 |
|
jackun
|
4adb6ed25f
|
Convert tabs to spaces in cpu.cpp/cpu.h
|
2020-03-13 16:35:11 +02:00 |
|
jackun
|
72d7f6ef71
|
Print also a reason for skipping a config file
|
2020-03-13 16:14:58 +02:00 |
|
jackun
|
31a651133c
|
[OpenGL] Cleanup stderr output a little
|
2020-03-13 16:08:36 +02:00 |
|
jackun
|
bbfad2e073
|
[OpenGL] Parse and initialize configuration just once
|
2020-03-13 16:08:36 +02:00 |
|
jackun
|
a52dce875f
|
[OpenGL] Keep glClipControl local to imgui_impl_opengl3.cpp
|
2020-03-13 16:08:36 +02:00 |
|
jackun
|
05d61ee77e
|
Init CPUStats just once
|
2020-03-13 16:08:36 +02:00 |
|
FlightlessMango
|
e68dd48f3f
|
forgot one refresh_config
|
2020-03-13 15:07:44 +01:00 |
|
FlightlessMango
|
fe69ec2955
|
changed refresh_config to reload_cfg
|
2020-03-13 14:57:11 +01:00 |
|
FlightlessMango
|
501d7d74d2
|
install example config with meson
|
2020-03-13 12:41:22 +01:00 |
|
jackun
|
5caeb10882
|
[OpenGL] Apply swap interval from glXMakeCurrent
|
2020-03-13 10:05:41 +02:00 |
|
jackun
|
297b44bfe6
|
[OpenGL] Force-load libGL.so.1 with dlopen() if dlsym fails to find functions
|
2020-03-13 09:35:14 +02:00 |
|
jackun
|
e0ce0493f7
|
[OpenGL] Set swap interval (vsync) with gl_vsync param
|
2020-03-12 12:12:21 +02:00 |
|
FlightlessMango
|
8133048e9c
|
Add blank configuration for project_name and layer_suffix with build.sh
|
2020-03-12 09:20:22 +01:00 |
|
FlightlessMango
|
8153e29eb3
|
forgot to add '/' to end of path
|
2020-03-12 08:31:33 +01:00 |
|
FlightlessMango
|
8599484032
|
configure .json files with meson
|
2020-03-12 08:24:37 +01:00 |
|
jackun
|
37e34335ae
|
Sprinkle NDEBUG over gl debug prints
|
2020-03-11 18:57:21 +02:00 |
|
jackun
|
ad598f7ec4
|
[OpenGL] Fix double-free with ImGui context
|
2020-03-11 18:56:31 +02:00 |
|
jackun
|
f99129f9de
|
Libdirs: once more, with feeling
|
2020-03-11 18:11:35 +02:00 |
|
jackun
|
4761078133
|
Fix small font for gl
|
2020-03-11 12:23:39 +02:00 |
|
jackun
|
c88b930a37
|
Match gl PushPopStyle count with vulkan's
|
2020-03-11 12:16:53 +02:00 |
|
jackun
|
bc7db582bd
|
Single ImGui context for OpenGL
Seems only VAO is not shareable between OpenGL context
but that gets recreated every render anyway.
|
2020-03-11 12:15:44 +02:00 |
|
jackun
|
373bba5fcf
|
Keep time outside the table or it gets clipped if using too fancy a format
|
2020-03-11 12:11:16 +02:00 |
|
FlightlessMango
|
8bf8723ad5
|
added param text_color
|
2020-03-11 06:20:18 +01:00 |
|
FlightlessMango
|
77b3033cc7
|
Removed frametime_alpha and replace it with an overall alpha for text and frametime
|
2020-03-11 06:07:41 +01:00 |
|
FlightlessMango
|
a1eafc3403
|
Install .so into subdirectory in libdir
|
2020-03-11 05:19:48 +01:00 |
|
jackun
|
a64b6cada2
|
Build/install scripts: verbose tar output and set files' owner/group to root
|
2020-03-10 23:41:55 +02:00 |
|
FlightlessMango
|
8558d038d7
|
refactored the install process
|
2020-03-10 13:39:52 +01:00 |
|
FlightlessMango
|
ccf870e630
|
changed offset_x/y to int so it can be negative
|
2020-03-10 10:18:59 +01:00 |
|
FlightlessMango
|
88ad5de2ab
|
Fix so preloading doesn't break vulkan layer
|
2020-03-10 08:27:27 +01:00 |
|
FlightlessMango
|
163c76bea7
|
added param background_color
|
2020-03-10 07:48:04 +01:00 |
|
FlightlessMango
|
28e765a6a3
|
added param frametime_alpha
|
2020-03-10 07:27:28 +01:00 |
|
FlightlessMango
|
906a8cde23
|
added param frametime_color
|
2020-03-10 06:30:37 +01:00 |
|
FlightlessMango
|
a2735693ba
|
Merge opengl into develop
|
2020-03-10 06:19:18 +01:00 |
|
FlightlessMango
|
755558ecb9
|
added param io_color
|
2020-03-10 05:01:31 +01:00 |
|
FlightlessMango
|
d8b3c3c81f
|
params for changing color of cpu, gpu, vram, ram and engine text
|
2020-03-10 04:51:27 +01:00 |
|
jackun
|
5e4bd7b8c8
|
Keep time outside the table or it gets clipped if using too fancy a format
|
2020-03-07 14:10:52 +02:00 |
|
jackun
|
b4f1402461
|
Right align value texts
|
2020-03-07 02:08:01 +01:00 |
|
jackun
|
e881a1538a
|
Pre-convert crosshair's color to ImGui's format
|
2020-03-07 02:08:01 +01:00 |
|
jackun
|
1a8b98e09d
|
Divide memory sizes by 1024 byte chunks
|
2020-03-07 02:08:01 +01:00 |
|
FlightlessMango
|
857dcf7fb8
|
use hmwon freq1/2 instead for amdgpu core/mem clocks
|
2020-03-07 02:08:01 +01:00 |
|
FlightlessMango
|
274b3e67ca
|
don't extend hud width if gpu_stats is disabled
|
2020-03-07 02:08:01 +01:00 |
|
FlightlessMango
|
4d5f62386b
|
added gpu mem and core clocks to hud
|
2020-03-07 02:08:01 +01:00 |
|
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).
|
2020-03-07 02:07:24 +01:00 |
|
FlightlessMango
|
534ca9416d
|
Spruced up iostats and change to bool from custom
|
2020-03-07 02:06:40 +01:00 |
|
FlightlessMango
|
4847cb8e31
|
Using table for hud layout
|
2020-03-07 02:06:40 +01:00 |
|
jackun
|
2472e69205
|
Check if pApplicationInfo is null
|
2020-03-07 02:29:31 +02:00 |
|
jackun
|
ea8f0ad666
|
Includes cleanup
|
2020-03-06 23:07:28 +02:00 |
|
jackun
|
fad35b9540
|
Just check hwmon sysfs folder for cpu temp sensors
|
2020-03-05 09:52:14 +02:00 |
|
jackun
|
6bf37f8510
|
Add "time_format" parameter; update time string every "fps_sampling_period" interval
See std::put_time docs for supported formatting
|
2020-03-02 22:53:43 +02:00 |
|
jackun
|
9a4c9033fa
|
Support escaping delimiters in MANGOHUD_CONFIG
|
2020-03-02 22:53:42 +02:00 |
|
jackun
|
417b1aac8d
|
config: trim only surrounding whitespace
|
2020-03-02 22:53:29 +02:00 |
|
FlightlessMango
|
58c7831d5c
|
hud width correction
|
2020-02-29 01:38:40 +01:00 |
|
FlightlessMango
|
80cff1ac86
|
Fixed hud width not applying
|
2020-02-29 01:16:41 +01:00 |
|
FlightlessMango
|
12ba4f9ea5
|
No need to set hud height manually anymore
|
2020-02-28 22:01:04 +01:00 |
|
jackun
|
8a348ffbf0
|
Disable gpu_timing for now
Issue #44
|
2020-02-20 23:08:09 +02:00 |
|
jackun
|
b91be85ff9
|
Use std::unordered_map and std::mutex instead for object mapping and related cleanups
|
2020-02-20 01:03:35 +02:00 |
|