mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-16 23:05:58 +01:00
318c00d6d0
* 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 |
||
---|---|---|
.. | ||
widgets | ||
AsyncResourceGatherer.cpp | ||
AsyncResourceGatherer.hpp | ||
DMAFrame.cpp | ||
DMAFrame.hpp | ||
Framebuffer.cpp | ||
Framebuffer.hpp | ||
mtx.hpp | ||
Renderer.cpp | ||
Renderer.hpp | ||
Shader.cpp | ||
Shader.hpp | ||
Shaders.hpp | ||
Shared.hpp | ||
Texture.cpp | ||
Texture.hpp |