Commit Graph

1155 Commits (5d53d0dcc3505b4cc151431795d83cb03f9c0ab0)

Author SHA1 Message Date
Emil Velikov 5d53d0dcc3 meson: inline PROJECT_NAME in mangohud.json.in
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov def59db953 meson: remove ld_libdir_prefix option
The option defaults to false in-tree and across all distributions. The
only alleged use-case is the build.sh/build-srt.sh scripts. Although the
output of those scripts is absolutely identical with or w/o the flag.

Remove it.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
FlightlessMango 06b46fd5d7 Fix building with mingw 2 years ago
FlightlessMango c64ff84007 horizontal/compact layout fixes + battery_watt/battery_time params 2 years ago
FlightlessMango 47f822f19c mangohudctl: reload_config variable in msg sctruct 2 years ago
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>
2 years ago
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>
2 years ago
FlightlessMango d84c85609a overlay: position: bottom center 2 years ago
FlightlessMango 175493c89c horizontal: default to max width 2 years ago
FlightlessMango 8cf92ff8a6 overlay: horizontal_separator func 2 years ago
Alessandro Toia 3e136db6a8 gamepad: Change DS5 to DS4/5 as DS4 was added to hid_playstation in kernel 6.2 2 years ago
FlightlessMango d0f8c8aa94 mangoapp: control: rerload_config option 2 years ago
Emil Velikov 221d335006 meson: remove mangoapp_32bit option
Was introduced as a means to shorten the build cycles. With the static
lib helper it should no longer be needed.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov eecd451068 meson: build with -Werror=missing-declarations
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov eecf901aed hud_elements: remove unused LinearToSRGB
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov f1a86fe10f inject: drop unneeded declarations/function
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov 581b6b3375 meson: move util_files next to its user
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov 270beefdf3 meson: drop no_override_init_args
No longer needed

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov ef169bd28b meson: remove unused MANGOAPP_LAYER define
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov b714f54cd4 dbus: reshuffle HAVE_DBUS handling
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov 535c1f0a83 mangoapp: reshuffle ifdef MANGOAPP guards
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov da219457e5 mangoapp: control.cpp -> control.c
There's nothing C++ in there, so rename the file appropriately.

While in there, use C99 initializers, annotate static functions as
such and pull the implicit stdbool.h.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov 8e1c389f22 mangoapp: split proto details into separate header
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Emil Velikov 8a1c56ba25 meson: remove broken -Dwith_dlsym
The option does not even build, so let's remove it.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Alessandro Toia 7b255a8cbd blacklist: Add RSI Launcher.exe 2 years ago
FlightlessMango 3190778086 Don't update metrics if we're not logging and not displaying 2 years ago
FlightlessMango 475026a183 amdgpu: move defines to header 2 years ago
Alessandro Toia 87cc5c62fa vulkan: Remove unused VkPhysicalDeviceFeatures 2 years ago
Alessandro Toia 5d1877c2a3 Remove extraneous break 2 years ago
Kenton Groombridge ffa7048543 vulkan: fix implicit instantiation of 'std::basic_stringstream<char>'
Add a missing include to fix the following build error seen with clang
15.0.7:

../MangoHud-0.6.8/src/vulkan.cpp:1523:22: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
   std::stringstream ss;
                     ^
/usr/include/c++/v1/iosfwd:146:32: note: template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_stringstream;
2 years ago
FlightlessMango 8450291777 vulkan: Do not modify pCreateInfo in CreateDevice 2 years ago
FlightlessMango 302ceaa3e6 logging: flush after each write 2 years ago
FlightlessMango 25b170d480 logging: change frametime to float 2 years ago
FlightlessMango d6c7b3c101 logging: write to file while logging 2 years ago
FlightlessMango f883e2cba1 set log_interval to 0 by default 2 years ago
azn1999 f7a1cc159c Fix FPS limiter
Note: the egl limiter is already correct
2 years ago
Alessandro Toia f6d980696d Fix not finding wine binary, with 64bit only wine 2 years ago
Alessandro Toia f76527d14f Revert "Fix reporting temp of AMD zen4 CPUs"
This reverts commit edac405d57.
Didn't actually fix the issue oops
2 years ago
FlightlessMango 0ae106dba5 hud_elements: remove extra '}' 2 years ago
Echo J ba7e2cb313 Logging: Switch to a different sleep function
This fixes a freeze with zink when automatic logging is enabled

I didn't test this on Windows, so please report any issues there
2 years ago
FlightlessMango 7c54ea819c params: exec_name: don't show unless enabled 2 years ago
FlightlessMango 99c72d30cf check for mangoapp_layer option for manifest 2 years ago
FlightlessMango abb5359cdd Blacklist: add gamescope
Co-authored-by: Valters <valters.tomsons@protonmail.com>
2 years ago
Alessandro Toia f7c3ec2072 Add redlauncher(CDPR) to blacklist 2 years ago
Alessandro Toia edac405d57 Fix reporting temp of AMD zen4 CPUs, zen4 doesn't use Tdie, use Tctl instead 2 years ago
Bitwolf a67ba60773 Blacklist GOG Galaxy 2.0
FPS counter appears in the client, it probably shouldn't.
2 years ago
FlightlessMango d4aa74c149 Create static and shared libs separately 2 years ago
FlightlessMango 6f23cdeaf1 mangoapp: meson option to install lib32 2 years ago
FlightlessMango 03d64e5afb params: exec_name 2 years ago
Alessandro Toia b2bcd889f0 Skip OpenGL impl if vulkan is loaded togther with zink or wined3d. 2 years ago