hyprlock/src/core
Maximilian Seidler 318c00d6d0
core: stabilize label updates and revision locking in the asyncResourceGatherer (#384)
* core: handle rerendering when frameCallback is pending

* core: log when skipping label updates

* asyncResourceGatherer: remove busy and use loopMutex

Makes getAssetById fail less often and thus labels get more stable
updates

* asyncResourceGatherer: revision locking

`assetsMutex` was not needed, since `apply` only gets called from the
main thread and resources are also only aquired via the main thread.

`preloadTargets`, previously kinda guarded by the `busy` flag are now
locked as suggested in #367 (but via a copy of `peloadTargets`).

`apply` now returns a boolean so that the locking of preloadTargets in
combination with checking `preloadTargets.empty()` is a bit nicer.

* asyncResourceGatherer: remove explicit template arg for unique lock
2024-06-26 20:31:15 +02:00
..
Auth.cpp auth: implement a full pam conversation (#205) 2024-04-10 22:41:31 +01:00
Auth.hpp auth: implement a full pam conversation (#205) 2024-04-10 22:41:31 +01:00
CursorShape.cpp config: add general:hide_cursor 2024-02-20 02:54:19 +00:00
CursorShape.hpp config: add general:hide_cursor 2024-02-20 02:54:19 +00:00
Egl.cpp core: Add missing destructors causing segfaults (#199) 2024-03-17 15:44:37 +00:00
Egl.hpp core: Add missing destructors causing segfaults (#199) 2024-03-17 15:44:37 +00:00
hyprlock.cpp core: fix second instance of hyprlock unlocking session (#376) 2024-06-25 13:46:58 +02:00
hyprlock.hpp core: fix a few reported leaks by asan (#349) 2024-05-25 20:05:37 +02:00
LockSurface.cpp core: stabilize label updates and revision locking in the asyncResourceGatherer (#384) 2024-06-26 20:31:15 +02:00
LockSurface.hpp core: update renderer on late scale changes 2024-05-02 15:17:04 +01:00
Output.cpp config: allow mon description for monitor value (#216) 2024-03-23 21:06:54 +00:00
Output.hpp config: allow mon description for monitor value (#216) 2024-03-23 21:06:54 +00:00
Timer.cpp core: force update labels on SIGUSR2 (#169) 2024-03-10 21:38:01 +00:00
Timer.hpp core: force update labels on SIGUSR2 (#169) 2024-03-10 21:38:01 +00:00