hyprlock/src
Maximilian Seidler de2cc5bd54
core: migrate to Hyprutils::CAsyncResourceGatherer and improve resource handling (#879)
* core: use Hyprgraphics::CAsyncResourceGatherer

* core: move screencopy frame generation to the new resource manager

* core: introduce a dedicated onAssetUpdate callback

* check for unloaded before finished and some cleanup

* also allow for dynamic label resource deduplication

use a simple counter instead of a timestamp to allow the same
widget on a different monitor to reuse a text cmd resource.

I didn't do this before, because I was worried about two labels that use
the same command with different reload times. I mitigated that by just
incrementing the revision by the time interval. This should be sufficent
to avoid clashes.

* don't render within onAssetUpdate to avoid duplicate renders

another much improvement for multi monitor setups.
allows updating within the same frame for most labels.

* remove nvidia workaround :)

I tested and it seems like the resource manager revision makes
the nvidia workaround obsolete.
2025-10-08 08:45:09 +00:00
..
auth core: use hyprutils atomic pointers (#808) 2025-06-28 11:01:28 +02:00
config core: replace grace option with --grace cli argument (#802) 2025-06-26 09:35:25 +02:00
core core: migrate to Hyprutils::CAsyncResourceGatherer and improve resource handling (#879) 2025-10-08 08:45:09 +00:00
helpers core: migrate to Hyprutils::CAsyncResourceGatherer and improve resource handling (#879) 2025-10-08 08:45:09 +00:00
renderer core: migrate to Hyprutils::CAsyncResourceGatherer and improve resource handling (#879) 2025-10-08 08:45:09 +00:00
defines.hpp core: migrate to Hyprutils::CAsyncResourceGatherer and improve resource handling (#879) 2025-10-08 08:45:09 +00:00
main.cpp core: replace grace option with --grace cli argument (#802) 2025-06-26 09:35:25 +02:00