Commit Graph

416 Commits (03733835813768e5adf56e88241c0c4f91dd7267)
 

Author SHA1 Message Date
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
jackun f8cc3bbf06
[config] Allow fps_limit=0 or commenting it out to disable fps limit 4 years ago
jackun 49742e1cea
[config] Load config changes to local copy of overlay_params so it does not block rendering thread while parsing 4 years ago
FlightlessMango 0d53d7d39d Fixed typo in nvctrl 4 years ago
FlightlessMango 85291d25ef Added warning messages for nvctrl 4 years ago
Lionel Landwerlin 1fc94600e9
vulkan/overlay: Add a workaround semaphore for application presenting without one
When an application calls vkQueuePresent() on a different queue than
the one we run our drawing on and it doesn't give a semaphore to wait
on, let's insert our own semaphore so that we don't race the
application's drawing.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2540
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3893>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3893>
4 years ago
jackun 32ae051434
Add Bethesda launcher to blacklist 4 years ago
Sporif c24d9015cd
Blacklist support
Initial blacklist: Battle.net.exe, EpicGamesLauncher.exe, IGOProxy.exe, IGOProxy64.exe, Origin.exe, Steam.exe

Signed-off-by: jackun <jack.un@gmail.com>
4 years ago
jackun 25b0adfbf9
Move Wine exe name code from config.cpp to get_wine_exe_name(...) 4 years ago
jackun cf17f70dab
Remove unused statistics related code 4 years ago
jackun d3f895cbef
[config] keep pthread_t pointers in notify_thread struct for MT safety 4 years ago
jackun 1b192c4910
[config] join notifier thread just to be sure 4 years ago
jackun e72a7bdd76
[config] Try to set notifier file descriptor to non-blocking mode; add start/stop_notifier functions
If setting to non-blocking fails, just closing the fd should kill it anyway
4 years ago
jackun 841d76c6af
Quit config watcher thread if it fails to init and clean up 4 years ago
jackun 82243bf115
Use more general sizeof to get arch "bitness" 4 years ago
jackun 2ab386d70a
Fix double definition 4 years ago
FlightlessMango a84f5ef178 Show mangohud arch in hud 4 years ago
FlightlessMango 43d5bac40d Set MANGOHUD_ARCH in meson 4 years ago
FlightlessMango 23adda92b7 Added param 'arch' 4 years ago
jackun 52382834d5
Added nvctrl build dep for Fedora/openSUSE 4 years ago
FlightlessMango f2e11d5cb0 Added nvctrl build dep for arch based 4 years ago
FlightlessMango 994f6bd188 Added nvctrl build dep for ubuntu family 4 years ago
FlightlessMango c9558eec50 Merge branch 'xnvctrl' into develop 4 years ago
jackun ae3a155e22
Keep engine name per vulkan instance 4 years ago
jackun 9722e101ac
[build.sh] exit script on error 4 years ago
jackun 053a07d83c
[OpenGL] Don't set display size to scissor box if its size is just 1 by 1 4 years ago
jackun ab9c9ea7ea
Meson recommends using 'threads' dependency instead of 'pthread' 4 years ago
jackun f92a2a07db
GiB not GB 4 years ago
jackun 26d770d2bb
Merge branch 'master' into develop 4 years ago
jackun a579be8c9c
[installer] `tar -h` may still delete symlinks 4 years ago
jackun fbae1dfcc0
More checks for XNVCtrl support. Favor NVML but fallback to XNVCtrl if supported. 4 years ago
jackun b059fa26bc
xnvctrl: parse tokenized attributes 4 years ago
jackun c16f4b4275
try_stoi: spam in debug build only 4 years ago
FlightlessMango 79add746b5 Removed debugging messages 4 years ago
FlightlessMango f2b770abac Use XNVCTRLQueryTargetAttribute64 instead 4 years ago
FlightlessMango 2c979e52e6 Set nvmlSuccess to false if NVML gpu load is unsupported 4 years ago
FlightlessMango e7b5a18d87 If NVML fails fallback to NVctrl 4 years ago