summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image/atlas/layer.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make image `Cache` eviction strategy less aggressive in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-04-241-0/+8
| | | | | | | | | | | Instead of trimming unconditionally at the end of a frame, we now trim the cache only when there is a cache miss. This way, images that are not visible but still a part of the layout will stay cached. Eviction will only happen when the images are not a part of the UI for two consectuive frames.
* Address Clippy lintsLibravatar Poly2022-07-091-4/+1
|
* Stop creating image pipeline when unnecessaryLibravatar Héctor Ramón Jiménez2020-02-281-0/+17