Skip to content

Own image and blur caches explicitly - #384

Merged
devmobasa merged 1 commit into
mainfrom
refactor/render-cache-ownership
Sep 4, 2026
Merged

Own image and blur caches explicitly#384
devmobasa merged 1 commit into
mainfrom
refactor/render-cache-ownership

Conversation

@devmobasa

Copy link
Copy Markdown
Owner

Replace thread-local image and blur caches with explicit RenderCaches owners and borrowed RenderCtx drawing contexts. Cache lifetimes now follow the Wayland runtime or individual export job.

Reuse runtime resources across canvas drawing, layer baking, previews, and thumbnails. PDF pages share their job's image cache while blur rendering retains its existing uncached export behavior.

Add regression coverage for cache identity, isolation, eviction, resource release, invalidation, and rendered output across canvas and export paths.

Validation: ./tools/lint-and-test.sh passes with Rust 1.98.1, including formatting, workspace clippy, builds, and tests with all features and no default features.

@devmobasa
devmobasa merged commit abe55bd into main Sep 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant