summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix windows fighting over shared `image::Cache`Libravatar Héctor Ramón Jiménez2024-05-063-62/+57
| | | | Image caches are local to each window now.
* Introduce dynamic `opacity` support for `Image` and `Svg`Libravatar Héctor Ramón Jiménez2024-05-031-5/+17
|
* Rename `global_scale` to `scale` in `wgpu::image`Libravatar Héctor Ramón Jiménez2024-05-021-9/+3
|
* Simplify image rotation API and its internalsLibravatar Héctor Ramón Jiménez2024-05-021-18/+6
|
* Add `Image` rotation supportLibravatar Héctor Ramón Jiménez2024-05-021-9/+56
| | | | Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com>
* Use an opaque `Id` type for `image::Handle`Libravatar Héctor Ramón Jiménez2024-05-011-2/+2
| | | | Hashing pointers is a terrible idea.
* Use `Bytes` as the `Container` of `ImageBuffer`Libravatar Héctor Ramón Jiménez2024-05-011-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`Libravatar Héctor Ramón Jiménez2024-04-246-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-architectureLibravatar Héctor Ramón Jiménez2024-04-071-1/+1
|\
* | Decouple caching from layering and simplify everythingLibravatar Héctor Ramón Jiménez2024-04-051-3/+4
| |
* | Redesign `iced_wgpu` layering architectureLibravatar Héctor Ramón Jiménez2024-04-033-0/+688
|/
* Use `rustc-hash` for most of our `HashMap` and `HashSet` instancesLibravatar Héctor Ramón Jiménez2024-04-012-8/+8
|
* Use two layers for `image::atlas` only on `Gl` backendLibravatar Héctor Ramón Jiménez2024-02-191-5/+9
|
* [wgpu.image] Workaround WGPU OpenGL heuristicsLibravatar PolyMeilex2024-02-181-2/+6
|
* Convert SVG text nodes for in-memory SVGs in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-12-111-20/+17
|
* Fix import styling in `iced_wgpu::image::vector`Libravatar Héctor Ramón Jiménez2023-12-111-1/+1
|
* implement svg text fix for native rendererLibravatar Cory Frenette2023-12-101-5/+18
| | | | Signed-off-by: Cory Frenette <cory@frenette.dev>
* Revert "Chore: Apply clippy map transformations"Libravatar Héctor Ramón Jiménez2023-09-201-1/+1
| | | | This reverts commit c997aad85d7ee6e77085e50e5e599002549d228f.
* Fix `clippy::match-wildcard-for-single-variants`Libravatar Héctor Ramón Jiménez2023-09-201-1/+1
|
* Fix `clippy::semicolon_if_nothing_returned`Libravatar Héctor Ramón Jiménez2023-09-201-1/+1
|
* Merge pull request #2090 from nyurik/mappingLibravatar Héctor Ramón2023-09-191-1/+1
|\ | | | | Chore: Apply clippy map transformations
| * Chore: Apply clippy map transformationsLibravatar Yuri Astrakhan2023-09-191-1/+1
| | | | | | | | Convert `.map().unwrap_or()` to `.map_or()` and similar transformations.
* | Chore: Inline format args for ease of readingLibravatar Yuri Astrakhan2023-09-192-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` modulesLibravatar Héctor Ramón Jiménez2023-07-121-11/+12
|
* Upgrade resvg to 0.34 and tiny_skia to 0.10Libravatar Alec Deason2023-07-121-10/+21
|
* Use proper gamma correction mode in `image::Atlas::grow`Libravatar Héctor Ramón Jiménez2023-05-311-1/+5
|
* Avoid gamma correction when `web-colors` is enabled for imagesLibravatar Héctor Ramón Jiménez2023-05-311-1/+6
|
* Remove `dbg!` leftovers in `image::atlas`Libravatar Héctor Ramón Jiménez2023-05-111-3/+0
|
* Fix race condition when growing an `image::Atlas`Libravatar Héctor Ramón Jiménez2023-05-113-17/+30
|
* Merge branch 'master' into advanced-textLibravatar Héctor Ramón Jiménez2023-05-021-4/+2
|\
| * remove unused importLibravatar David Huculak2023-04-201-2/+0
| |
| * wgpu 0.16Libravatar David Huculak2023-04-201-2/+2
| |
| * Update `wgpu` to `0.15`Libravatar Elham Aryanpur2023-04-131-0/+2
| |
* | Update `tiny-skia` and `resvg`Libravatar Héctor Ramón Jiménez2023-04-261-2/+4
| |
* | Update `wgpu` and `cosmic-text`Libravatar Héctor Ramón Jiménez2023-04-081-0/+2
| |
* | Remove `image` abstractions in `iced_graphics`Libravatar Héctor Ramón Jiménez2023-03-074-102/+396
| |
* | Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-044-9/+7
| |
* | Refactor `image::Pipeline` into `prepare` and `render` architectureLibravatar Héctor Ramón Jiménez2023-02-241-25/+24
|/
* Use RGBA texture for `image` and `svg` pipelinesLibravatar Héctor Ramón Jiménez2022-11-051-2/+2
|
* Refactor some `image` traits a bitLibravatar Héctor Ramón Jiménez2022-11-054-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`Libravatar Ian Douglas Scott2022-11-054-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 featuresLibravatar Héctor Ramón Jiménez2022-07-091-1/+1
| | | | ... and check those in CI as well!
* Run `cargo fmt`Libravatar Héctor Ramón Jiménez2022-07-091-7/+1
|
* Address Clippy lintsLibravatar Poly2022-07-094-8/+5
|
* Update Rust edition to 2021 :tada:Libravatar Héctor Ramón Jiménez2022-02-091-2/+0
|
* Fix `Operation::perform` in `image::raster`Libravatar Héctor Ramón Jiménez2021-09-301-6/+31
| | | | Flipping diagonally isn't the same as flipping each axis individually :sweat_smile:
* Remove absolute module path leftovers in `image::raster`Libravatar Héctor Ramón Jiménez2021-09-301-4/+4
|
* Refactor `Orientation` into `Operation` in `image::raster`Libravatar Héctor Ramón Jiménez2021-09-301-53/+41
|
* Remove unnecessary absolute module paths in `image::raster`Libravatar Héctor Ramón Jiménez2021-09-301-3/+3
|
* Introduce `Orientation` enum in `image::raster`Libravatar Héctor Ramón Jiménez2021-09-301-37/+72
|