jackun
2383ba26fc
Tell GCC to stop exporting static library functions
...
Should fix crashes where games using Dear ImGui link to ours.
4 years ago
jackun
6576a0a09c
Print NVML return code as string
4 years ago
jackun
a9311bb578
Allow to specify gpu with pci bus id by setting env var `MANGOHUD_PCI_DEV=xxxx:xx:xx:x` where x's are "domain 🚌 slot.function"
4 years ago
jackun
e5a256bfc0
Move DBus init to overlay_params so it can be enabled/disabled on the fly from a single place
4 years ago
jackun
d81dc7936a
[OpenGL] Use glXQueryDrawable if XGetGeometry fails
4 years ago
jackun
ff3c58c9c5
[OpenGL] Change glXMakeCurrent return type to int just in case and convert missed #ifdefs
4 years ago
jackun
f3f04f3f78
Print dlerror() in lib loaders
4 years ago
jackun
780ea7c89b
[OpenGL] Use GLAD instead on gl3w and hook EGL
4 years ago
jackun
772ab6aa5b
[OpenGL] Don't exit if function is not found, it probably isn't catastrophic
4 years ago
jackun
b4163b744b
[build.sh] openSuse: add python3-pip and ninja to deps
4 years ago
jackun
a6bfa712e3
Do a sanity check for XNVCtrl and GLX headers
4 years ago
jackun
08859b83c1
[build.sh] openSuse: pip install meson>=0.54, add dbus-1, warn about libXNVCtrl-devel needing extra repo
4 years ago
jackun
08d8ece7be
[build.sh] Ubuntu: add dbus and force pip to install meson>=0.54
4 years ago
FlightlessMango
0cb3bbef50
[Build script] Corrected name for Manjaro Linux
4 years ago
FlightlessMango
fea9980d06
[Build script] *Buntu no longer needs libx11-dev 32bit
4 years ago
FlightlessMango
d454ff43a2
Hide all hud elements on no_display
4 years ago
jackun
e95a96d9f0
If used for other things than just reading sysfs files, xfs/jfs need stat() for inode type
4 years ago
jackun
0db804aa01
Don't free DBusError if it was never inited because dbus_error_free() is nullptr too
4 years ago
jackun
421146b822
Don't reinit dbus manager
4 years ago
jackun
125cda222f
Add media_player param to readme/conf
4 years ago
jackun
0a27e0a447
Clear all metadata strings in case other mpris-compatible media players don't have them all
4 years ago
jackun
8024736253
Add DBus loader, combined ticker for Spotify metadata
4 years ago
FlightlessMango
d975278396
Dbus with spotify
4 years ago
jackun
cbb46fa21b
Also call default constructor for libnvctrl_loader
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
Stephan Lachnit
fbb4393231
Add builddir/ to gitignore
...
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
71b37906da
Shared X11 intialization functions
4 years ago
jackun
329b5d66c2
Add X11 loader
4 years ago
jackun
108bca7d4f
Don't include X11 headers in overlay_params.h
4 years ago
jackun
bd9d9650a0
Move `dlsym` hook out from inject_glx.cpp
4 years ago
jackun
0a36578adf
[OpenGL] Rename GLX loader functions
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
c3e50db2f4
[OpenGL] Import glXQueryDrawable just in case
4 years ago
jackun
accac3a015
[OpenGL] Import XGetGeometry
4 years ago
jackun
ebe23d3431
[OpenGL] Rename inject.cpp to inject_glx.cpp in preparation for separating X11 related functions
4 years ago
jackun
042267f26b
Update API version to 1.2.135 in manifest
4 years ago
jackun
186e40d702
[build.sh] Allow passing extra options to meson configure with CONFIGURE_OPTS env var
4 years ago
jackun
049e960589
Add 'use_xnvctrl' feature to allow building without libXNVCtrl support
4 years ago
jackun
fd6e742474
[build.sh] Fix dependency installation by 'set +e' beforehand
4 years ago
flightlessmango
e1a364bf2f
Merge pull request #109 from Faalagorn/patch-1
...
Add missing parameters to MangoHud.conf
4 years ago
Faalagorn
5d075b469b
Add missing parameters to MangoHud.conf
...
Adds missing parameters from #95 as well as `arch` parameter in develop branch
4 years ago
jackun
5afbe10005
[OpenGL] Restore ImGui's context to previously saved one, duh
4 years ago
jackun
6eb2c9bc09
[OpenGL] Explicitly set ImGui's context and treat global context as foreign
...
Apps might be using Dear ImGui so keep our stuff separate from theirs.
Issue #107
4 years ago
jackun
f5e3f3b73b
[config] Add MANGOHUD_CONFIGFILE envvar for specific configuration file
...
Issue #104
4 years ago