Commit Graph

121 Commits

Author SHA1 Message Date
João Batista
b217d75917 meson.build - v0.7.2 2024-05-27 00:55:03 +02:00
Gonçalo Negrier Duarte
4ee8a9aac4 meson: verify if system lib are present before fallback to submodules
* if meson dosen't found spdlog with use_system_spdlog enabled
  meson will print a warning and fallback to the submodule
  instead of giving an error
* System vulkan-headers can't be use since mangohud don't use latest SDK
  The code is commented out for future use
* All the other submodules will use system dependency when found

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
2024-05-14 00:31:57 +02:00
flightlessmango
31f2ca5e30 meson: spdlog: try to sort out proper fallback 2024-05-09 19:42:52 +02:00
flightlessmango
ec1b9c017f meson: spdlog: check if system is disabled 2024-05-08 19:59:45 +02:00
Etaash Mathamsetty
732629e5a0 Implement Wayland hotkeys 2024-02-28 21:10:58 +01:00
PedroHLC ☭
cba217ffaf meson: add dep_vulkan to mangoapp and test_amdgpu 2024-02-12 23:15:03 +01:00
Bill Li
dc60dc71ec spdlog: disable feature std_format 2024-01-28 14:49:12 +01:00
FlightlessMango
6648143c48 bump spdlog to 1.13.0 2024-01-27 09:47:53 +01:00
FlightlessMango
2fa6ff7cb3 Bump version to 0.7.1 2024-01-26 08:04:56 +01:00
Alessandro Toia
2b29f2d89d spdlog: default to debug level fix 2023-10-11 20:34:21 -07:00
FlightlessMango
69db780e59 spdlog: disable external_fmt 2023-10-10 11:10:40 +02:00
FlightlessMango
6effe1b201 spdlog: default to debug level 2023-10-10 11:08:07 +02:00
FlightlessMango
1fc0d640ff meson: mangoplot option 2023-10-10 10:55:45 +02:00
FlightlessMango
363b6530cf meson: define DEBUG if debug 2023-10-08 00:33:42 +02:00
FlightlessMango
544856b174 spdlog: handle log level with MANGOHUD_LOG_LEVEL 2023-10-07 23:18:27 +02:00
FlightlessMango
e85c580de3 implot: set default library static 2023-10-05 18:35:55 +02:00
FlightlessMango
ecaba3fe36 imgui: disable sdl_renderer 2023-10-05 18:25:05 +02:00
FlightlessMango
9a0ecee98e meson: imgui disable webgpu option 2023-09-29 17:02:36 +02:00
FlightlessMango
84caba707a subproject: implot 2023-09-29 15:41:15 +02:00
FlightlessMango
801f02412c imgui: update date to 1.89.9 2023-09-29 15:41:15 +02:00
FlightlessMango
113912eb6b bump version to 0.7.0 2023-09-26 08:29:47 +02:00
Adel KARA SLIMANE
6306fed7f7 Add mangoplot script
Displays frame time distributions from local files

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
2023-05-28 11:46:05 +02:00
FlightlessMango
12a86ef36e meson: prefer system cmocka 2023-05-05 02:29:14 +02:00
FlightlessMango
5fa7087f78 Bump to 0.6.9 2023-04-13 19:40:23 +02:00
FlightlessMango
f74fc5779f use minhook subproject instead of module 2023-04-09 19:06:12 +02:00
Emil Velikov
bc282cf300 meson: remove use_system_vulkan/vulkan_datadir
Newer versions of the XML and headers don't play nice. In particular the
VK_LAYER_EXPORT macro was removed and the XML was reworked quite
significantly, so our generator no longer works.

I was able to port newer version of the generator scripts from Mesa
(where these were copied from originally), although these new scripts
don't work with the old XML.

Just drop the meson knobs and always use the subproject version. In
practical terms this is identical to what Mesa also does... So Debian
DFSG should not be _too_ upset.

Closes: https://github.com/flightlessmango/MangoHud/issues/927
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-04-02 22:17:12 +02:00
Emil Velikov
5c86369758 meson: explicitly annotate version.h as dependency
Currently we list the custom_target (aka vcs_tag() as part of the
sources. Although since it's not an explicit dependency meson/ninja are
free to compile the C/C++ files, before the file is generated.

Closes: https://github.com/flightlessmango/MangoHud/issues/862
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-03-13 21:56:18 +01:00
Emil Velikov
08c26d595f meson: do not pick system vulkan, when explicitly disabled
For this to actually work, we also need to set dep_vulkan for all users.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2023-03-12 14:08:42 +01:00
Emil Velikov
047bc2e7f7 tests: make it work aka hide HUDElements
Currently the test is pulling an external reference to HUDElements,
which is unresolved so the test fails to link.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2023-03-12 14:08:42 +01:00
Emil Velikov
eecd451068 meson: build with -Werror=missing-declarations
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2023-03-04 21:40:56 +02:00
Emil Velikov
581b6b3375 meson: move util_files next to its user
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2023-03-04 21:40:56 +02:00
Emil Velikov
cf314e6c9f meson: use xx.get_supported_arguments()
This construct allows meson to check the argument in parallel, but more
importantly it also knows about the "-Wno-" workaround and applies it as
needed.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2023-03-04 21:40:56 +02:00
Emil Velikov
e77fb741c6 meson: drop -Wno-format-truncation
No longer needed

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2023-03-04 21:40:56 +02:00
Emil Velikov
270beefdf3 meson: drop no_override_init_args
No longer needed

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2023-03-04 21:40:56 +02:00
Bill Li
8ea3f86dbf add missing include to test 2023-01-08 04:47:10 +01:00
FlightlessMango
ddbb4f5be1 intel: use json for parsing intel_gpu_top output 2022-11-29 06:18:37 +01:00
FlightlessMango
abb7cdcb6e test: amdgpu: fix renamed test 2022-10-27 03:46:54 +02:00
FlightlessMango
cb7d2a2447 amdgpu tests 2022-10-27 03:44:00 +02:00
FlightlessMango
ed6a427751 tests: cmocka subproject 2022-10-26 03:52:04 +02:00
Stephan Lachnit
b8b6d61b25 Build mangoapp and mangohudctl for any CPU architecture
On 32-bit-only machines, building these for the 32-bit architecture makes sense.

Signed-off-by: Simon McVittie <smcv@debian.org>
2022-10-11 14:41:47 +02:00
FlightlessMango
efdcc6d2f5 Bump to 0.6.8 2022-08-01 03:27:11 +02:00
jackun
e5d52c202e
Add meson install_tags, bump meson to 0.60 2022-07-14 17:36:49 +03:00
jackun
50720d2215
Install data files only if include_doc option is set 2022-07-14 15:32:05 +03:00
Stephan Lachnit
e1ffa0f858 meson.build: allow system nlohmann_json to satisfy dependency
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2022-07-13 20:53:57 +03:00
jackun
58e277a8b7
Disable werror and tests for spdlog 2022-05-12 15:28:41 +03:00
jackun
77bb7fd756
Disable werror for Dear ImGui
GCC 7.5:
../../subprojects/imgui-1.81/imgui.h:1642:80: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Wstrict-overflow]
     inline T&           operator[](int i)                   { IM_ASSERT(i >= 0 && i < Size); return Data[i]; }
2022-05-04 20:38:54 +03:00
FlightlessMango
663bbd05a6 Bump to 0.6.7 2022-05-04 15:11:51 +02:00
FlightlessMango
4341843117 nlohmann_json wrap 2022-03-15 22:56:36 +01:00
Emil Velikov
68ce8f81cc Remove libdrm_amdgpu metrics
There are two alternatives - hwmon entries and gpu_metrics sysfs file.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2022-03-12 10:28:18 +00:00
Emil Velikov
e3977ad648 meson: increase the warning_level to 2
The default is 1, which effectively omits -Wextra.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2022-03-06 14:16:06 +00:00