summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image/atlas/allocator.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/+4
| | | | | | | | | | | 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.
* Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-2/+2
|
* Refactor some `image` traits a bitLibravatar Héctor Ramón Jiménez2022-11-051-2/+2
| | | | | | | - Use `Size<u32>` were applicable. - Rename `TextureStore` to `image::Storage`. - Rename `TextureStoreEntry` to `image::storage::Entry`. - Wire up `viewport_dimensions` to `iced_glow` for `Svg`.
* Stop creating image pipeline when unnecessaryLibravatar Héctor Ramón Jiménez2020-02-281-0/+69