Commit Graph

72 Commits (d712d35aaf5d548f23cc1e1596646cbafc4004a3)

Author SHA1 Message Date
Stephan Lachnit d712d35aaf
simplify cross arch preloading
This commit does a couple of things. In the mangohud launch script, the library will be found using $LIB with ld, so the correct path is selected depending on the cpu arch. The same is done for mangohud.json (vulkan layer). In addition some now unused files have been deleted.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
Stephan Lachnit acf2d88fbc Import Dear ImGui files as subproject
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
jackun 5fe5ac5f3d
Build script and fixes for Steam Runtime SDK 4 years ago
jackun 0d03b5a150
meson: use gnu_symbol_visibility argument
This uses a meson builtin to handle -fvisibility=hidden.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
4 years ago
jackun 2da02ee553
Try to limit exported symbols with --version-script 4 years ago
FlightlessMango 99cefe96a5 Created logging.cpp 4 years ago
FlightlessMango 916ef02eb2 Revert "Add readlink.c to meson"
This reverts commit 56933049d0.
4 years ago
FlightlessMango 56933049d0 Add readlink.c to meson 4 years ago
Stephan Lachnit d956f60f86 remove old system nvml build option
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
jackun 953c8d0e0f
Add meson option `with_nvml` 4 years ago
FlightlessMango 4bdd252393 Load 32bit libs if they exist with 64bit bin 4 years ago
jackun 768297b430
[editorconfig] Apply whitespace rules 4 years ago
FlightlessMango ed62155310 Parse pci.ids
Co-authored-by: jackun <jack.un@gmail.com>
4 years ago
FlightlessMango 03c9d1cd90 We don't need two vk_enum_to_str in shared_library 4 years ago
FlightlessMango 70d7ea4948 Add mangohud_version to shared_library 4 years ago
FlightlessMango 5ee573730a Removed obsolete license from meson.build files 4 years ago
jackun 934dc31e44
Add utility lib with dlsym hooking 4 years ago
Sporif 61ef9244e9 Disable dlsym hooking by default and fix LD_PRELOAD propagation to new processes
This allows `mangohud steam` to work
4 years ago
Sporif c4a00704cf Separate out blacklist implementation 4 years ago
jackun efed107af6
[meson] check void* size once and better-ish xnvctrl checks 4 years ago
jackun f35e49defa
[OpenGL] Merge "shared" files back to imgui_hud.cpp 4 years ago
FlightlessMango d6314da8b2 Merge branch 'master' into develop 4 years ago
jackun 2383ba26fc
Tell GCC to stop exporting static library functions
Should fix crashes where games using Dear ImGui link to ours.
4 years ago
Stephan Lachnit f860418e7e
Allow system NVML to be used
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
jackun 780ea7c89b
[OpenGL] Use GLAD instead on gl3w and hook EGL 4 years ago
jackun a6bfa712e3
Do a sanity check for XNVCtrl and GLX headers 4 years ago
jackun 8024736253
Add DBus loader, combined ticker for Spotify metadata 4 years ago
FlightlessMango d975278396
Dbus with spotify 4 years ago
Stephan Lachnit 0998d33d72
Use Vulkan-Headers module via wrap
This commit replaces the git submodule for the Vulkan headers with meson subproject using wrap.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
jackun 8cd3172335
[OpenGL] Separate GLX out from shareable code so wayland sessions can just use EGL, hopefully 4 years ago
jackun 2f034c6d1e
Use X11 loader functions instead of linking to X11 libs 4 years ago
jackun b2e6727b25
[OpenGL] Rename loader_gl.* to loader_glx.* 4 years ago
jackun 2e7d92e068
Move `real_dlsym` files out from `gl` subdir 4 years ago
jackun e750173b51
[OpenGL] Check if X11 is enabled 4 years ago
Danilo Spinella 0373383581
Add x11/wayland feature switches, rename 'use_xnvctrl' to 'with_xnvctrl' 4 years ago
jackun 59113b3ae2
[OpenGL] Move ImGui functions to separate file 4 years ago
jackun ebe23d3431
[OpenGL] Rename inject.cpp to inject_glx.cpp in preparation for separating X11 related functions 4 years ago
jackun 049e960589
Add 'use_xnvctrl' feature to allow building without libXNVCtrl support 4 years ago
FlightlessMango f81af99ee5 NVCtrl meson build 4 years ago
FlightlessMango 8ee0ec2c3f NVCtrl loader 4 years ago
jackun bb3aba9080
[OpenGL] Use elfhacks to load real OpenGL functions 4 years ago
FlightlessMango c5dad16612 Listen for modify on config file 4 years ago
FlightlessMango 71b602751d [meson] option to include_doc 4 years ago
jackun fa41e6f882
Always configure vulkan json 4 years ago
jackun ad64bf345d
Update build scripts, again
Install to $prefix$libdir/mangohud by default.
4 years ago
FlightlessMango 501d7d74d2 install example config with meson 4 years ago
FlightlessMango 8133048e9c Add blank configuration for project_name and layer_suffix with build.sh 4 years ago
FlightlessMango 8153e29eb3 forgot to add '/' to end of path 4 years ago
FlightlessMango 8599484032 configure .json files with meson 4 years ago
jackun f99129f9de
Libdirs: once more, with feeling 4 years ago