summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update `wgpu` to `24` and use `cryoglyph` forkLibravatar Héctor Ramón Jiménez2025-03-091-5/+5
| | | | Co-authored-by: Winfried Baumann <codewing@web.de>
* Run `cargo fmt`Libravatar Héctor Ramón Jiménez2025-02-212-2/+2
|
* Update `wgpu` to `23.0`Libravatar Héctor Ramón Jiménez2024-11-051-2/+2
|
* Update `wgpu` to `22.0`Libravatar Héctor Ramón Jiménez2024-09-201-0/+1
|
* Update `wgpu` to `0.20.1`Libravatar Héctor Ramón Jiménez2024-09-201-0/+4
|
* Make rendering of svg that has text work out of the box (#2560)Libravatar Jovansonlee Cesar2024-09-131-9/+21
| | | | | | | | | | | | | | | * fix: load system fonts to usvg font_db, this will make rendering of text in svg that has it * feat: add an example that renders svg that has text on it * Initialize `fontdb` only once for `vector` images * Remove `svg_text` example * Set `fontdb` for `usvg::Options` in `tiny_skia::vector` --------- Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
* Introduce `Svg` struct in `core::svg`Libravatar Héctor Ramón Jiménez2024-08-041-10/+9
|
* Introduce `Image` struct in `core::image`Libravatar Héctor Ramón Jiménez2024-08-041-13/+6
|
* Implement image support for `canvas` widgetLibravatar Héctor Ramón Jiménez2024-08-041-4/+20
|
* Update `cosmic-text` and `resvg` (#2416)Libravatar Héctor Ramón2024-07-171-21/+14
| | | | | | | | | | | | | | | | | * Update `cosmic-text`, `glyphon`, and `resvg` * Fix slow font fallback with `Shaping::Basic` in `cosmic-text` * Update `cosmic-text` and `resvg` * Update `cosmic-text` * Fix `SelectAll` action in `editor` * Fix some panics in `graphics::text::editor` * Remove empty `if` statement in `tiny_skia::vector` * Update `cosmic-text`, `glyphon`, and `rustc-hash`
* 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`.