Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `Image` rotation support | 2024-05-02 | 1 | -9/+56 | |
| | | | | Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com> | ||||
* | Use an opaque `Id` type for `image::Handle` | 2024-05-01 | 1 | -2/+2 | |
| | | | | Hashing pointers is a terrible idea. | ||||
* | Use `Bytes` as the `Container` of `ImageBuffer` | 2024-05-01 | 1 | -2/+2 | |
| | | | | | Since we don't need to mutate images once loaded, we avoid unnecessary extra allocations. | ||||
* | Make image `Cache` eviction strategy less aggressive in `iced_wgpu` | 2024-04-24 | 6 | -5/+41 | |
| | | | | | | | | | | | 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. | ||||
* | Merge branch 'master' into wgpu/better-architecture | 2024-04-07 | 1 | -1/+1 | |
|\ | |||||
* | | Decouple caching from layering and simplify everything | 2024-04-05 | 1 | -3/+4 | |
| | | |||||
* | | Redesign `iced_wgpu` layering architecture | 2024-04-03 | 3 | -0/+688 | |
|/ | |||||
* | Use `rustc-hash` for most of our `HashMap` and `HashSet` instances | 2024-04-01 | 2 | -8/+8 | |
| | |||||
* | Use two layers for `image::atlas` only on `Gl` backend | 2024-02-19 | 1 | -5/+9 | |
| | |||||
* | [wgpu.image] Workaround WGPU OpenGL heuristics | 2024-02-18 | 1 | -2/+6 | |
| | |||||
* | Convert SVG text nodes for in-memory SVGs in `iced_wgpu` | 2023-12-11 | 1 | -20/+17 | |
| | |||||
* | Fix import styling in `iced_wgpu::image::vector` | 2023-12-11 | 1 | -1/+1 | |
| | |||||
* | implement svg text fix for native renderer | 2023-12-10 | 1 | -5/+18 | |
| | | | | Signed-off-by: Cory Frenette <cory@frenette.dev> | ||||
* | Revert "Chore: Apply clippy map transformations" | 2023-09-20 | 1 | -1/+1 | |
| | | | | This reverts commit c997aad85d7ee6e77085e50e5e599002549d228f. | ||||
* | Fix `clippy::match-wildcard-for-single-variants` | 2023-09-20 | 1 | -1/+1 | |
| | |||||
* | Fix `clippy::semicolon_if_nothing_returned` | 2023-09-20 | 1 | -1/+1 | |
| | |||||
* | Merge pull request #2090 from nyurik/mapping | 2023-09-19 | 1 | -1/+1 | |
|\ | | | | | Chore: Apply clippy map transformations | ||||
| * | Chore: Apply clippy map transformations | 2023-09-19 | 1 | -1/+1 | |
| | | | | | | | | Convert `.map().unwrap_or()` to `.map_or()` and similar transformations. | ||||
* | | Chore: Inline format args for ease of reading | 2023-09-19 | 2 | -5/+5 | |
|/ | | | | A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read. | ||||
* | Improve code style in `vector` modules | 2023-07-12 | 1 | -11/+12 | |
| | |||||
* | Upgrade resvg to 0.34 and tiny_skia to 0.10 | 2023-07-12 | 1 | -10/+21 | |
| | |||||
* | Use proper gamma correction mode in `image::Atlas::grow` | 2023-05-31 | 1 | -1/+5 | |
| | |||||
* | Avoid gamma correction when `web-colors` is enabled for images | 2023-05-31 | 1 | -1/+6 | |
| | |||||
* | Remove `dbg!` leftovers in `image::atlas` | 2023-05-11 | 1 | -3/+0 | |
| | |||||
* | Fix race condition when growing an `image::Atlas` | 2023-05-11 | 3 | -17/+30 | |
| | |||||
* | Merge branch 'master' into advanced-text | 2023-05-02 | 1 | -4/+2 | |
|\ | |||||
| * | remove unused import | 2023-04-20 | 1 | -2/+0 | |
| | | |||||
| * | wgpu 0.16 | 2023-04-20 | 1 | -2/+2 | |
| | | |||||
| * | Update `wgpu` to `0.15` | 2023-04-13 | 1 | -0/+2 | |
| | | |||||
* | | Update `tiny-skia` and `resvg` | 2023-04-26 | 1 | -2/+4 | |
| | | |||||
* | | Update `wgpu` and `cosmic-text` | 2023-04-08 | 1 | -0/+2 | |
| | | |||||
* | | Remove `image` abstractions in `iced_graphics` | 2023-03-07 | 4 | -102/+396 | |
| | | |||||
* | | Create `iced_widget` subcrate and re-organize the whole codebase | 2023-03-04 | 4 | -9/+7 | |
| | | |||||
* | | Refactor `image::Pipeline` into `prepare` and `render` architecture | 2023-02-24 | 1 | -25/+24 | |
|/ | |||||
* | Use RGBA texture for `image` and `svg` pipelines | 2022-11-05 | 1 | -2/+2 | |
| | |||||
* | Refactor some `image` traits a bit | 2022-11-05 | 4 | -14/+20 | |
| | | | | | | | - 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`. | ||||
* | Move image/svg handling into `iced_graphics` | 2022-11-05 | 4 | -491/+101 | |
| | | | | | | | | | 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. | ||||
* | Fix `clippy` lints for all crates and features | 2022-07-09 | 1 | -1/+1 | |
| | | | | ... and check those in CI as well! | ||||
* | Run `cargo fmt` | 2022-07-09 | 1 | -7/+1 | |
| | |||||
* | Address Clippy lints | 2022-07-09 | 4 | -8/+5 | |
| | |||||
* | Update Rust edition to 2021 :tada: | 2022-02-09 | 1 | -2/+0 | |
| | |||||
* | Fix `Operation::perform` in `image::raster` | 2021-09-30 | 1 | -6/+31 | |
| | | | | Flipping diagonally isn't the same as flipping each axis individually :sweat_smile: | ||||
* | Remove absolute module path leftovers in `image::raster` | 2021-09-30 | 1 | -4/+4 | |
| | |||||
* | Refactor `Orientation` into `Operation` in `image::raster` | 2021-09-30 | 1 | -53/+41 | |
| | |||||
* | Remove unnecessary absolute module paths in `image::raster` | 2021-09-30 | 1 | -3/+3 | |
| | |||||
* | Introduce `Orientation` enum in `image::raster` | 2021-09-30 | 1 | -37/+72 | |
| | |||||
* | Honor Exif orientation in `iced_wgpu::Image` | 2021-09-30 | 1 | -2/+44 | |
| | |||||
* | Update `resvg` to `0.18` in `iced_wgpu` | 2021-09-27 | 1 | -11/+21 | |
| | |||||
* | wgpu: Update to 0.10 | 2021-08-19 | 1 | -7/+10 | |
| | |||||
* | Use ceil on svg dimensions, fix svg memory usage | 2021-07-21 | 1 | -2/+3 | |
| | | | | | | | | Calls ceil() on dimension bounds as this appears fix svg memory unbounded usage because no longer cache miss. The height and width return from resvg seem to always be ceiling of float dimensions, so we try to match. |