Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove `surface` argument of `Compositor::screenshot` | 2024-11-21 | 1 | -1/+0 | |
| | | | | | | | | This argument was completely ignored by the wgpu renderer, and used only for the `clip_mask` by the `tiny_skia` renderer. I believe creating a new clip mask is correct. This way it's possible to render offscreen without needing a surface. | ||||
* | Update `wgpu` to `23.0` | 2024-11-05 | 6 | -14/+14 | |
| | |||||
* | Derive `Default` for `iced_wgpu::geometry::Cache` | 2024-10-02 | 1 | -1/+1 | |
| | |||||
* | Merge pull request #2605 from Gobbel2000/frame_paste | 2024-09-24 | 1 | -0/+1 | |
|\ | | | | | Include images and saved meshes when pasting `Frame` | ||||
| * | Include images and saved meshes when pasting `Frame` | 2024-09-24 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | `tiny_skia::Frame` was ignoring images in `Frame::paste`, making images not show up when created in a `with_clip` context. `wgpu::Frame` similarly did not pass through meshes in its paste method, that may have been saved from a nested `with_clip` call. | ||||
* | | always increment solid/gradient count in wgpu mesh rendering | 2024-09-22 | 1 | -0/+8 | |
|/ | |||||
* | Introduce `strict-assertions` feature flag | 2024-09-20 | 2 | -0/+6 | |
| | | | | | | For now, this feature flag only enables validation in `iced_wgpu`; which has become quite expensive since its `0.20` release. | ||||
* | Update `wgpu` to `22.0` | 2024-09-20 | 7 | -0/+8 | |
| | |||||
* | Update `wgpu` to `0.20.1` | 2024-09-20 | 6 | -0/+28 | |
| | |||||
* | 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> | ||||
* | Merge pull request #2484 from vladh/fix-radii-typo | 2024-09-11 | 1 | -7/+7 | |
|\ | | | | | wgpu: Fix “radii” typo | ||||
| * | wgpu: fix "radii" typo | 2024-06-29 | 1 | -7/+7 | |
| | | |||||
* | | Add stroke_rectangle | 2024-09-10 | 1 | -0/+38 | |
| | | | | | | | | | | This method should be able to leverage performance improvements in lyon's `tessellate_rectangle` over `tessellate_path`. | ||||
* | | Add `text::Wrapping` support | 2024-09-04 | 1 | -0/+1 | |
| | | | | | | | | Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com> | ||||
* | | Introduce `Svg` struct in `core::svg` | 2024-08-04 | 4 | -79/+31 | |
| | | |||||
* | | Introduce `Image` struct in `core::image` | 2024-08-04 | 4 | -95/+33 | |
| | | |||||
* | | Implement image support for `canvas` widget | 2024-08-04 | 6 | -14/+180 | |
| | | |||||
* | | Render text on top of images by default | 2024-08-03 | 2 | -25/+25 | |
| | | |||||
* | | Snap `Quad` lines to the pixel grid in `iced_wgpu` | 2024-07-29 | 1 | -2/+11 | |
| | | |||||
* | | Update `cosmic-text` and `resvg` (#2416) | 2024-07-17 | 2 | -22/+21 | |
|/ | | | | | | | | | | | | | | | | | * 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` | ||||
* | Remove `tracing` leftovers in `iced_wgpu` | 2024-06-11 | 2 | -6/+0 | |
| | |||||
* | Update outdated `README`s of subcrates | 2024-05-27 | 1 | -34/+1 | |
| | |||||
* | Align images to the pixel grid in `iced_wgpu` | 2024-05-12 | 1 | -1/+1 | |
| | | | | | | This should fix some graphical glitches, at the expense of potential alignment issues with small icons / images. | ||||
* | Update `glyphon` fork to a cleaner branch | 2024-05-08 | 1 | -4/+4 | |
| | |||||
* | Reuse `glyphon::Viewport` explicitly | 2024-05-08 | 2 | -17/+38 | |
| | |||||
* | Reuse `glyphon::Pipeline` state in `iced_wgpu` | 2024-05-08 | 1 | -4/+11 | |
| | |||||
* | Merge pull request #2427 from iced-rs/winit-0.30 | 2024-05-08 | 1 | -4/+4 | |
|\ | | | | | Update `winit` to `0.30` | ||||
| * | Update `winit` to `0.30` | 2024-05-07 | 1 | -4/+4 | |
| | | |||||
* | | Document `present_mode_from_env` in `iced_wgpu` | 2024-05-07 | 1 | -0/+12 | |
| | | |||||
* | | Introduce `ICED_PRESENT_MODE` env var to pick a `wgpu::PresentMode` | 2024-05-07 | 2 | -10/+29 | |
|/ | |||||
* | Trim `image::Cache` after `wgpu::Renderer::present` | 2024-05-06 | 1 | -0/+3 | |
| | |||||
* | Fix windows fighting over shared `image::Cache` | 2024-05-06 | 6 | -68/+74 | |
| | | | | Image caches are local to each window now. | ||||
* | Introduce dynamic `opacity` support for `Image` and `Svg` | 2024-05-03 | 4 | -10/+39 | |
| | |||||
* | Introduce `center` widget helper | 2024-05-03 | 1 | -4/+4 | |
| | | | | | | | | ... and also make `center_x` and `center_y` set `width` and `height` to `Length::Fill`, respectively. This targets the most common use case when centering things and removes a bunch of boilerplate as a result. | ||||
* | Rename `global_scale` to `scale` in `wgpu::image` | 2024-05-02 | 1 | -9/+3 | |
| | |||||
* | Simplify image rotation API and its internals | 2024-05-02 | 4 | -55/+20 | |
| | |||||
* | Add `Image` rotation support | 2024-05-02 | 4 | -21/+116 | |
| | | | | Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com> | ||||
* | Fix `clippy` lints for new `1.78` stable toolchain | 2024-05-02 | 1 | -1/+1 | |
| | |||||
* | Fix panic in `wgpu::color::convert` | 2024-05-02 | 1 | -18/+50 | |
| | |||||
* | 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. | ||||
* | Keep text atlases alive during temporary empty uploads | 2024-04-30 | 1 | -32/+44 | |
| | |||||
* | Fix cache trimming loop in `iced_wgpu::text` | 2024-04-30 | 1 | -6/+18 | |
| | |||||
* | Invalidate text uploads after atlas trimming | 2024-04-30 | 2 | -12/+26 | |
| | |||||
* | Introduce `canvas::Cache` grouping | 2024-04-30 | 2 | -22/+65 | |
| | | | | | Caches with the same `Group` will share their text atlas! | ||||
* | Fix `text` and `triangle` uploads being dropped on `canvas` cache clears | 2024-04-30 | 2 | -0/+2 | |
| | |||||
* | Retain caches in `iced_wgpu` as long as `Rc` values are alive | 2024-04-27 | 2 | -14/+12 | |
| | | | | | This allows reusing a `canvas::Cache` at no cost even if it is not presented every frame. | ||||
* | 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. | ||||
* | Restore `PREMULTIPLIED_ALPHA_BLENDING` in `triangle::msaa` pipeline | 2024-04-12 | 1 | -1/+3 | |
| | |||||
* | Fix applying local transformation to `layer_bounds` in `iced_wgpu::text` | 2024-04-12 | 1 | -4/+2 | |
| |