Lars Krämer
a393c05829
Fix auto-switching bug
...
Debug output under ifdef NDEBUG
2020-07-07 01:29:37 +02:00
Lars Krämer
6dd08c89bc
Use fallback only if no player was requested;
...
Request no player by default
2020-07-07 01:29:37 +02:00
Lars Krämer
9a34b55498
Move interactions with main_metadata into separate functions
...
More tidying up of the helper classes
2020-07-07 01:29:35 +02:00
Lars Krämer
7cc76142f1
Tidy up DBus helper classes
...
make sure metadata is up-tp-date when switching players (WIP)
2020-07-07 01:28:04 +02:00
Lars Krämer
72b86b4371
Fix some weird behaviour with non-spotify media players
...
Add DBusMessage_wrap to wrap/hide some dbus_message_* calls
2020-07-07 01:28:04 +02:00
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
2020-07-07 01:28:04 +02:00
Lars Krämer
4bf7a3f2f0
Make DBus signal handling more event-based
2020-07-07 01:28:04 +02:00
Lars Krämer
5850643db4
Change the media player functionality to allow changing active media
...
player
2020-07-07 01:27:46 +02:00
larskraemer
a28931ef6b
General cleanup ( #272 )
...
* Cleanup unused struct fields, use uniform include guards
2020-07-06 20:31:40 +03:00
flightlessmango
eafa62356b
Merge branch 'develop' into benchmark-percentages
2020-06-30 04:39:08 +02:00
jackun
8eba5e2ed2
[OpenGL] Use GL_R8 for font textures
...
Randomly getting squares with GL_ALPHA for some reason
2020-06-30 02:06:01 +03:00
jackun
b47315642f
Update README.md
...
What needs to be disable explicitly and about `full`
2020-06-29 22:24:08 +03:00
Newbyte
53ceeb3182
Document reinstall in usage help
2020-06-29 17:50:45 +03:00
jackun
85a1eef453
Merge pull request #247 from larskraemer/logging_class
...
Move logging functionality into a class
2020-06-29 17:46:07 +03:00
Lars Krämer
0b29a7ea06
Remove conflict in render_imgui
2020-06-29 16:43:25 +02:00
Lars Krämer
329725c134
Move Log uploading; Cleanup
2020-06-29 16:33:21 +02:00
Lars Krämer
4101237fdd
Move logging functionality into a class
2020-06-29 16:33:17 +02:00
jackun
5fe5ac5f3d
Build script and fixes for Steam Runtime SDK
2020-06-29 17:30:45 +03:00
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
2020-06-29 17:15:50 +03:00
jackun
e0832c7e02
Re-add config file watch in case of IN_DELETE_SELF
2020-06-29 14:38:47 +03:00
m-rzb
c9c91808dc
Update build.sh
...
Added "KDE neon"
2020-06-27 11:42:45 +01:00
jackun
068157f3d8
Fix cpu fallback temp sensor logic
...
Break the for loop either way so `path` still points to sensor module's hwmon folder.
2020-06-25 17:29:26 +03:00
jackun
62efa4acc4
[OpenGL] Simplify if check
2020-06-25 16:51:24 +03:00
jackun
d0999ab01b
[OpenGL] Workaround: Merge version and shader strings for Feral games
...
FIXME: GLAD loads Feral's version of glShaderSource,
2020-06-25 16:51:24 +03:00
jackun
2db83f4e18
[OpenGL] Check if font texture is valid and regenerate if not
2020-06-25 16:51:14 +03:00
jackun
42ce65f215
Merge pull request #253 from larskraemer/chrono_timing
...
Use the std::chrono convenience classes for timing
2020-06-25 16:50:54 +03:00
Lars Krämer
20221217d4
Frame-timing using chrono
2020-06-24 20:14:24 +02:00
Lars Krämer
22026cbc60
Create MesaClock class, use chrono classes for time points/durations
2020-06-24 14:41:34 +02:00
Kingsley McDonald
f3f408f880
add benchmark_percentiles
description to README
2020-06-23 19:03:14 +01:00
Kingsley McDonald
0e1fe708c8
make use of new float parsing function
...
i've also moved the input validation checks to the config parser, so that
warnings aren't displayed in the terminal output every time a benchmark is
run with an invalid percentile entry.
2020-06-23 19:01:55 +01:00
Kingsley McDonald
979c4d32ca
oops! i didn't save changes from the merge conflict >.<
2020-06-23 18:51:51 +01:00
Kingsley McDonald
aa77a351de
implement configurable benchmark percentiles.
2020-06-23 18:46:43 +01:00
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 >
2020-06-21 22:55:13 +03:00
FlightlessMango
118a105aa4
Check often if logUpdate has occured
2020-06-21 13:47:22 +02:00
FlightlessMango
e957358786
Force a hw values update on log start
2020-06-21 13:44:12 +02:00
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.
2020-06-21 14:18:56 +03:00
jackun
b098635dd4
Fix trailing whitespace in README.md
2020-06-20 19:54:13 +03:00
FlightlessMango
fbd60a102f
Forgotten debugging in logging
2020-06-20 17:35:21 +02:00
FlightlessMango
a9463ae06c
Start logging after first update
2020-06-20 17:17:54 +02:00
FlightlessMango
0f171dbd9c
Added labels to log csv file
2020-06-20 14:05:21 +02:00
jackun
03ec318d00
Make find_*_ptr function pointers static
2020-06-19 23:44:57 +03:00
jackun
2da02ee553
Try to limit exported symbols with --version-script
2020-06-19 23:42:30 +03:00
Alan Witkowski
61a443bd50
add .csv extension to log file and rename function that generates the log filename suffix
2020-06-19 18:57:42 +03:00
FlightlessMango
49bfead602
Documenting log uploading
2020-06-19 17:50:20 +02:00
jackun
612d3b761d
Merge pull request #237 from larskraemer/float_parser
...
First implementation of custom float parsing
2020-06-19 18:49:57 +03:00
larskraemer
ecd84c8cc0
Logging options ( #234 )
...
* Added config options for logging
* Documentation
* Log everything
* Add RAM/VRAM usage to the log
* add loggingOn-check for memory usage
* Always init GPU stats
* Move functions from logging.h to logging.cpp, remove params from writeFile
2020-06-19 18:32:04 +03:00
FlightlessMango
99cefe96a5
Created logging.cpp
2020-06-19 16:28:55 +02:00
jackun
66ddada43c
Fix readlink
overloading for fortified musl
...
Issue #231
2020-06-19 16:15:49 +03:00
jackun
6887abbea8
Just <limits.h>
2020-06-19 16:01:18 +03:00
jackun
edf9f95517
Use std::locale::classic with confiog file ifstream, just in case
2020-06-19 16:01:18 +03:00