hyprlock/src/renderer
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
..
widgets core: stabilize label updates and revision locking in the asyncResourceGatherer (#384) 2024-06-26 20:31:15 +02:00
AsyncResourceGatherer.cpp core: stabilize label updates and revision locking in the asyncResourceGatherer (#384) 2024-06-26 20:31:15 +02:00
AsyncResourceGatherer.hpp core: stabilize label updates and revision locking in the asyncResourceGatherer (#384) 2024-06-26 20:31:15 +02:00
DMAFrame.cpp renderer: various fixes to transformations and backgrounds 2024-03-03 02:19:31 +00:00
DMAFrame.hpp renderer: various fixes to transformations and backgrounds 2024-03-03 02:19:31 +00:00
Framebuffer.cpp renderer: add shadowable props 2024-03-05 20:27:28 +00:00
Framebuffer.hpp renderer: add shadowable props 2024-03-05 20:27:28 +00:00
mtx.hpp renderer: various fixes to transformations and backgrounds 2024-03-03 02:19:31 +00:00
Renderer.cpp restore: move to runtime dir and check his 2024-05-23 12:58:54 +02:00
Renderer.hpp renderer: add shadowable props 2024-03-05 20:27:28 +00:00
Shader.cpp core: initial commit 2024-02-18 23:08:03 +00:00
Shader.hpp renderer: add shadowable props 2024-03-05 20:27:28 +00:00
Shaders.hpp shaders: fix missing premult for colorize in final blur 2024-03-06 00:06:04 +00:00
Shared.hpp background: add screenshot 2024-02-21 21:39:14 +00:00
Texture.cpp label: destroy texture (#230) 2024-03-26 00:37:36 +00:00
Texture.hpp label: destroy texture (#230) 2024-03-26 00:37:36 +00:00