summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image/atlas.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-03-09Update `wgpu` to `24` and use `cryoglyph` forkLibravatar Héctor Ramón Jiménez1-5/+5
Co-authored-by: Winfried Baumann <codewing@web.de>
2024-05-06Fix windows fighting over shared `image::Cache`Libravatar Héctor Ramón Jiménez1-3/+35
Image caches are local to each window now.
2024-04-24Make image `Cache` eviction strategy less aggressive in `iced_wgpu`Libravatar Héctor Ramón Jiménez1-4/+11
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.
2024-02-19Use two layers for `image::atlas` only on `Gl` backendLibravatar Héctor Ramón Jiménez1-5/+9
2024-02-18[wgpu.image] Workaround WGPU OpenGL heuristicsLibravatar PolyMeilex1-2/+6
2023-09-20Fix `clippy::match-wildcard-for-single-variants`Libravatar Héctor Ramón Jiménez1-1/+1
2023-09-20Fix `clippy::semicolon_if_nothing_returned`Libravatar Héctor Ramón Jiménez1-1/+1
2023-09-19Chore: Inline format args for ease of readingLibravatar Yuri Astrakhan1-4/+4
A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
2023-05-31Use proper gamma correction mode in `image::Atlas::grow`Libravatar Héctor Ramón Jiménez1-1/+5
2023-05-31Avoid gamma correction when `web-colors` is enabled for imagesLibravatar Héctor Ramón Jiménez1-1/+6
2023-05-11Remove `dbg!` leftovers in `image::atlas`Libravatar Héctor Ramón Jiménez1-3/+0
2023-05-11Fix race condition when growing an `image::Atlas`Libravatar Héctor Ramón Jiménez1-11/+27
2023-04-20remove unused importLibravatar David Huculak1-2/+0
2023-04-20wgpu 0.16Libravatar David Huculak1-2/+2
2023-04-13Update `wgpu` to `0.15`Libravatar Elham Aryanpur1-0/+2
2023-04-08Update `wgpu` and `cosmic-text`Libravatar Héctor Ramón Jiménez1-0/+2
2023-03-07Remove `image` abstractions in `iced_graphics`Libravatar Héctor Ramón Jiménez1-99/+91
2023-03-04Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez1-2/+2
2023-02-24Refactor `image::Pipeline` into `prepare` and `render` architectureLibravatar Héctor Ramón Jiménez1-25/+24
2022-11-05Use RGBA texture for `image` and `svg` pipelinesLibravatar Héctor Ramón Jiménez1-2/+2
2022-11-05Refactor some `image` traits a bitLibravatar Héctor Ramón Jiménez1-6/+8
- 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`.
2022-11-05Move image/svg handling into `iced_graphics`Libravatar Ian Douglas Scott1-93/+98
The `TextureStore` trait is implemented by the atlas, and can also be implemented in the glow renderer or in a software renderer. The API here may be improved in the future, but API stability is presumably not a huge issue since these types will only be used by renderer backends.
2022-07-09Run `cargo fmt`Libravatar Héctor Ramón Jiménez1-7/+1
2022-07-09Address Clippy lintsLibravatar Poly1-1/+1
2021-08-19wgpu: Update to 0.10Libravatar Poly1-7/+10
2021-04-11Upgrade wgpuLibravatar Dispersia1-11/+13
2020-08-31Add labels to `iced_wgpu` internalsLibravatar Héctor Ramón Jiménez1-3/+3
2020-08-27Fix `offset` calculation in `image::Atlas`Libravatar Héctor Ramón Jiménez1-1/+1
2020-08-27Fix `layers` initialization in `image::Atlas`Libravatar Héctor Ramón Jiménez1-1/+1
2020-08-27Update `image` pipeline in `iced_wgpu`Libravatar Héctor Ramón Jiménez1-16/+60
2020-04-07Update `wgpu` to `0.5` in `iced_wgpu` :tada:Libravatar Héctor Ramón Jiménez1-26/+12
2020-02-28Stop creating image pipeline when unnecessaryLibravatar Héctor Ramón Jiménez1-0/+0
2020-02-26Move `Atlas::deallocate` after `allocate`Libravatar Héctor Ramón Jiménez1-21/+21
2020-02-26Deallocate atlas entries and remove paddingLibravatar Héctor Ramón Jiménez1-1/+37
2020-02-26Fix multiple issues from the refactoringLibravatar Héctor Ramón Jiménez1-19/+33
- Update texture view on grow - Fix atlas texture coordinates - Fix fragmented uploads
2020-02-26Avoid creating a vertex buffer every frameLibravatar Héctor Ramón Jiménez1-7/+5
2020-02-26Refactor texture atlasLibravatar Héctor Ramón Jiménez1-0/+313
- Split into multiple modules - Rename some concepts - Change API details