hyprlock/src/renderer/widgets
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
..
Background.cpp background: handle missing assets (#158) 2024-03-09 16:45:44 +00:00
Background.hpp renderer: various fixes to transformations and backgrounds 2024-03-03 02:19:31 +00:00
Image.cpp core: handle null timers in destructors (#350) 2024-05-26 18:46:53 +02:00
Image.hpp image: add reload options (#247) 2024-04-07 18:09:25 +01:00
IWidget.cpp core: move to hyprutils for utils (#362) 2024-06-08 23:49:49 +02:00
IWidget.hpp core: fix a few reported leaks by asan (#349) 2024-05-25 20:05:37 +02:00
Label.cpp core: stabilize label updates and revision locking in the asyncResourceGatherer (#384) 2024-06-26 20:31:15 +02:00
Label.hpp widgets: add rotate option to label and image (#234) 2024-03-29 19:01:11 +00:00
PasswordInputField.cpp auth: implement a full pam conversation (#205) 2024-04-10 22:41:31 +01:00
PasswordInputField.hpp auth: implement a full pam conversation (#205) 2024-04-10 22:41:31 +01:00
Shadowable.cpp renderer: add fade out animation and property to disable (#188) 2024-03-14 13:23:41 +00:00
Shadowable.hpp renderer: add shadowable props 2024-03-05 20:27:28 +00:00
Shape.cpp widgets: add Shape + minor image improve (#266) 2024-04-10 17:24:17 +01:00
Shape.hpp widgets: add Shape + minor image improve (#266) 2024-04-10 17:24:17 +01:00