Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make rendering of svg that has text work out of the box (#2560) | 2024-09-13 | 1 | -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> | ||||
* | Update `cosmic-text` and `resvg` (#2416) | 2024-07-17 | 1 | -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` | ||||
* | Make image `Cache` eviction strategy less aggressive in `iced_wgpu` | 2024-04-24 | 1 | -0/+8 | |
| | | | | | | | | | | | 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. | ||||
* | Use `rustc-hash` for most of our `HashMap` and `HashSet` instances | 2024-04-01 | 1 | -5/+5 | |
| | |||||
* | 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. | ||||
* | 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 | 1 | -1/+1 | |
|/ | | | | 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 | |
| | |||||
* | Fix race condition when growing an `image::Atlas` | 2023-05-11 | 1 | -3/+2 | |
| | |||||
* | Update `tiny-skia` and `resvg` | 2023-04-26 | 1 | -2/+4 | |
| | |||||
* | Remove `image` abstractions in `iced_graphics` | 2023-03-07 | 1 | -0/+181 | |
| | |||||
* | Move image/svg handling into `iced_graphics` | 2022-11-05 | 1 | -173/+0 | |
| | | | | | | | | | 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. | ||||
* | Address Clippy lints | 2022-07-09 | 1 | -2/+2 | |
| | |||||
* | Update `resvg` to `0.18` in `iced_wgpu` | 2021-09-27 | 1 | -11/+21 | |
| | |||||
* | 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. | ||||
* | This commit optimizes the function used to converg rgba pixels into bgra pixels. | 2021-05-11 | 1 | -17/+5 | |
| | |||||
* | Update resvg to `0.12` | 2020-12-19 | 1 | -16/+29 | |
| | |||||
* | Update `bytemuck` and remove `zerocopy` in `iced_wgpu` | 2020-11-10 | 1 | -3/+1 | |
| | |||||
* | Update `wgpu` to `0.5` in `iced_wgpu` :tada: | 2020-04-07 | 1 | -1/+3 | |
| | |||||
* | Implement `svg::Handle::from_memory` | 2020-03-31 | 1 | -3/+13 | |
| | | | | Useful if you already have your SVG data in memory. | ||||
* | Stop creating image pipeline when unnecessary | 2020-02-28 | 1 | -1/+1 | |
| | |||||
* | Move `Debug` implementation for `vector::Svg` | 2020-02-26 | 1 | -11/+6 | |
| | |||||
* | Deallocate atlas entries and remove padding | 2020-02-26 | 1 | -2/+10 | |
| | |||||
* | Refactor texture atlas | 2020-02-26 | 1 | -17/+17 | |
| | | | | | | - Split into multiple modules - Rename some concepts - Change API details | ||||
* | Implemented automatic deallocation of texture space for dropped allocations | 2020-02-25 | 1 | -7/+1 | |
| | |||||
* | Updated shaders and removed debug_stub_derive dependency | 2020-02-25 | 1 | -8/+16 | |
| | |||||
* | Batch image draw calls into one with multiple instances | 2020-02-25 | 1 | -11/+4 | |
| | |||||
* | Implement allocating large images across multiple texture array layers. | 2020-02-25 | 1 | -16/+11 | |
| | |||||
* | Use array of atlases instead of one growing indefinitely. | 2020-02-25 | 1 | -118/+31 | |
| | |||||
* | Some small debug changes | 2020-02-25 | 1 | -11/+8 | |
| | |||||
* | Merged image and svg texture atlases into one owned by the image pipeline. | 2020-02-25 | 1 | -63/+15 | |
| | |||||
* | Implemented a texture atlas for images and svgs. | 2020-02-25 | 1 | -49/+149 | |
| | |||||
* | Avoid rasterizing SVG when a dimension is 0 | 2019-12-21 | 1 | -0/+4 | |
| | |||||
* | Cache `Svg` load result properly | 2019-12-15 | 1 | -15/+20 | |
| | | | | This avoids trying to reload the file constantly on every frame. | ||||
* | Add `svg` example | 2019-12-15 | 1 | -1/+1 | |
| | |||||
* | Rerasterize SVGs when resized and refactor a bit | 2019-12-15 | 1 | -0/+187 | |