The decoded-image cache (peniko ImageBrush + tiny-skia Pixmap, ~w·h·4 each) was unbounded — the main asset-memory cost. Now capped at 256 MB with usage-LRU eviction: every get_or_decode bumps the asset's recency, and inserts past the budget evict the least-recently-used (a miss re-decodes from the resident asset.data). Images actually rendered each frame stay resident; unused ones age out under pressure. invalidate/clear keep the lru + byte accounting in sync. Next (4b): lazy-load asset.data from the container instead of eager on project open. |
||
|---|---|---|
| .. | ||
| beamdsp | ||
| egui_node_graph2 | ||
| lightningbeam-core | ||
| lightningbeam-editor | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| build-static.sh | ||
| build-windows.bat | ||