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
jackun
6ee225ed66
Clear cpu temp hwmon path if no supported sensor is found
4 years ago
FlightlessMango
9445ab4acc
Warning that permit_upload = 0
4 years ago
FlightlessMango
6a443f35ac
Upload multiple logs
4 years ago
jackun
b07db5d3ef
[dbus] Don't clear metadata when reloading config file
4 years ago
jackun
fc62624b7b
Recalculate right alignment offset if font scale changes
4 years ago
jackun
05551a4049
build.sh: pass arguments to functions
4 years ago
Stephan Lachnit
1f41652061
add a man page for mangohud
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
jackun
5ce6bcb79c
Set target frametime only if fps_limit > 0
4 years ago
jackun
55430d7571
Initialized fps limiter or wait for 300 years
4 years ago
jackun
42208d1145
README.md: update media_player_name
4 years ago
jackun
bb50e6a637
[dbus] Use "xesam:url" to force metadata update
...
If file has no other metadata, clear old metadata by using
"xesam:url" to detect new file being played.
4 years ago
jackun
f74b4bccd9
[dbus] always update metadata if no forced player
...
Otherwise it stays in "paused" state if resuming play.
4 years ago
jackun
d581a9ce2b
Merge pull request #264 from larskraemer/media_player_autodetect
...
Media Player autodetect
4 years ago
jackun
da4b6a291d
build.sh: add fedora dbus-devel
...
Issue #263
4 years ago
jackun
4e3cbca64f
Update Dear ImGui
4 years ago
Stephan Lachnit
acf2d88fbc
Import Dear ImGui files as subproject
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
Lars Krämer
a393c05829
Fix auto-switching bug
...
Debug output under ifdef NDEBUG
4 years ago
Lars Krämer
6dd08c89bc
Use fallback only if no player was requested;
...
Request no player by default
4 years ago
Lars Krämer
9a34b55498
Move interactions with main_metadata into separate functions
...
More tidying up of the helper classes
4 years ago
Lars Krämer
7cc76142f1
Tidy up DBus helper classes
...
make sure metadata is up-tp-date when switching players (WIP)
4 years ago
Lars Krämer
72b86b4371
Fix some weird behaviour with non-spotify media players
...
Add DBusMessage_wrap to wrap/hide some dbus_message_* calls
4 years ago
Lars Krämer
6484e09f01
Implement wrapper class for DBusMessageIter
...
Implement for_each-style helpers for common constructions
Reimplement most of the DBus message parsing in terms of these
4 years ago
Lars Krämer
4bf7a3f2f0
Make DBus signal handling more event-based
4 years ago
Lars Krämer
5850643db4
Change the media player functionality to allow changing active media
...
player
4 years ago
larskraemer
a28931ef6b
General cleanup ( #272 )
...
* Cleanup unused struct fields, use uniform include guards
4 years ago
jackun
8eba5e2ed2
[OpenGL] Use GL_R8 for font textures
...
Randomly getting squares with GL_ALPHA for some reason
4 years ago
Newbyte
53ceeb3182
Document reinstall in usage help
4 years ago
jackun
85a1eef453
Merge pull request #247 from larskraemer/logging_class
...
Move logging functionality into a class
4 years ago
Lars Krämer
0b29a7ea06
Remove conflict in render_imgui
4 years ago
Lars Krämer
329725c134
Move Log uploading; Cleanup
4 years ago
Lars Krämer
4101237fdd
Move logging functionality into a class
4 years ago
jackun
5fe5ac5f3d
Build script and fixes for Steam Runtime SDK
4 years ago
jackun
c63037efb5
Use 1-channel font textures; glyph ranges support; vulkan image descriptors and "helper" functions
...
* To save some memory, use just 1-channel alpha-only textures
* Add some sort of wider glyph ranges support
* Chop single-ish vulkan font image uploading function into separate reusable helper functions
* Use descriptor set for ImTextureID but probably use texture array and push constants for "fast-path" if need arises
4 years ago
jackun
e0832c7e02
Re-add config file watch in case of IN_DELETE_SELF
4 years ago
jackun
068157f3d8
Fix cpu fallback temp sensor logic
...
Break the for loop either way so `path` still points to sensor module's hwmon folder.
4 years ago
jackun
62efa4acc4
[OpenGL] Simplify if check
4 years ago
jackun
d0999ab01b
[OpenGL] Workaround: Merge version and shader strings for Feral games
...
FIXME: GLAD loads Feral's version of glShaderSource,
4 years ago
jackun
2db83f4e18
[OpenGL] Check if font texture is valid and regenerate if not
4 years ago
jackun
42ce65f215
Merge pull request #253 from larskraemer/chrono_timing
...
Use the std::chrono convenience classes for timing
4 years ago
Lars Krämer
20221217d4
Frame-timing using chrono
4 years ago
Lars Krämer
22026cbc60
Create MesaClock class, use chrono classes for time points/durations
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
FlightlessMango
118a105aa4
Check often if logUpdate has occured
4 years ago
FlightlessMango
e957358786
Force a hw values update on log start
4 years ago
jackun
44060c2b80
Force blacklist re-check at certain points
...
Wine preloader that executed a non-blacklisted app may execute a blacklisted app,
or vice versa, and previous check applies to new app too.
4 years ago
jackun
b098635dd4
Fix trailing whitespace in README.md
4 years ago
FlightlessMango
fbd60a102f
Forgotten debugging in logging
4 years ago
FlightlessMango
a9463ae06c
Start logging after first update
4 years ago
FlightlessMango
0f171dbd9c
Added labels to log csv file
4 years ago