summaryrefslogtreecommitdiffstats
path: root/wgpu (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Derive `Default` for `iced_wgpu::geometry::Cache`Libravatar edwloef2024-10-021-1/+1
|
* Merge pull request #2605 from Gobbel2000/frame_pasteLibravatar Héctor2024-09-241-0/+1
|\ | | | | Include images and saved meshes when pasting `Frame`
| * Include images and saved meshes when pasting `Frame`Libravatar Gabriel Vogel2024-09-241-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 renderingLibravatar edwloef2024-09-221-0/+8
|/
* Introduce `strict-assertions` feature flagLibravatar Héctor Ramón Jiménez2024-09-202-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`Libravatar Héctor Ramón Jiménez2024-09-207-0/+8
|
* Update `wgpu` to `0.20.1`Libravatar Héctor Ramón Jiménez2024-09-206-0/+28
|
* 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>
* Merge pull request #2484 from vladh/fix-radii-typoLibravatar Héctor Ramón2024-09-111-7/+7
|\ | | | | wgpu: Fix “radii” typo
| * wgpu: fix "radii" typoLibravatar Vlad-Stefan Harbuz2024-06-291-7/+7
| |
* | Add stroke_rectangleLibravatar Vlad-Stefan Harbuz2024-09-101-0/+38
| | | | | | | | | | This method should be able to leverage performance improvements in lyon's `tessellate_rectangle` over `tessellate_path`.
* | Add `text::Wrapping` supportLibravatar Héctor Ramón Jiménez2024-09-041-0/+1
| | | | | | | | Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
* | Introduce `Svg` struct in `core::svg`Libravatar Héctor Ramón Jiménez2024-08-044-79/+31
| |
* | Introduce `Image` struct in `core::image`Libravatar Héctor Ramón Jiménez2024-08-044-95/+33
| |
* | Implement image support for `canvas` widgetLibravatar Héctor Ramón Jiménez2024-08-046-14/+180
| |
* | Render text on top of images by defaultLibravatar Héctor Ramón Jiménez2024-08-032-25/+25
| |
* | Snap `Quad` lines to the pixel grid in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-07-291-2/+11
| |
* | Update `cosmic-text` and `resvg` (#2416)Libravatar Héctor Ramón2024-07-172-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`Libravatar Héctor Ramón Jiménez2024-06-112-6/+0
|
* Update outdated `README`s of subcratesLibravatar Héctor Ramón Jiménez2024-05-271-34/+1
|
* Align images to the pixel grid in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-05-121-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 branchLibravatar Héctor Ramón Jiménez2024-05-081-4/+4
|
* Reuse `glyphon::Viewport` explicitlyLibravatar Héctor Ramón Jiménez2024-05-082-17/+38
|
* Reuse `glyphon::Pipeline` state in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-05-081-4/+11
|
* Merge pull request #2427 from iced-rs/winit-0.30Libravatar Héctor Ramón2024-05-081-4/+4
|\ | | | | Update `winit` to `0.30`
| * Update `winit` to `0.30`Libravatar Héctor Ramón Jiménez2024-05-071-4/+4
| |
* | Document `present_mode_from_env` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-05-071-0/+12
| |
* | Introduce `ICED_PRESENT_MODE` env var to pick a `wgpu::PresentMode`Libravatar Héctor Ramón Jiménez2024-05-072-10/+29
|/
* Trim `image::Cache` after `wgpu::Renderer::present`Libravatar Héctor Ramón Jiménez2024-05-061-0/+3
|
* Fix windows fighting over shared `image::Cache`Libravatar Héctor Ramón Jiménez2024-05-066-68/+74
| | | | Image caches are local to each window now.
* Introduce dynamic `opacity` support for `Image` and `Svg`Libravatar Héctor Ramón Jiménez2024-05-034-10/+39
|
* Introduce `center` widget helperLibravatar Héctor Ramón Jiménez2024-05-031-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`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-024-55/+20
|
* Add `Image` rotation supportLibravatar Héctor Ramón Jiménez2024-05-024-21/+116
| | | | Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com>
* Fix `clippy` lints for new `1.78` stable toolchainLibravatar Héctor Ramón Jiménez2024-05-021-1/+1
|
* Fix panic in `wgpu::color::convert`Libravatar Héctor Ramón Jiménez2024-05-021-18/+50
|
* 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.
* Keep text atlases alive during temporary empty uploadsLibravatar Héctor Ramón Jiménez2024-04-301-32/+44
|
* Fix cache trimming loop in `iced_wgpu::text`Libravatar Héctor Ramón Jiménez2024-04-301-6/+18
|
* Invalidate text uploads after atlas trimmingLibravatar Héctor Ramón Jiménez2024-04-302-12/+26
|
* Introduce `canvas::Cache` groupingLibravatar Héctor Ramón Jiménez2024-04-302-22/+65
| | | | | Caches with the same `Group` will share their text atlas!
* Fix `text` and `triangle` uploads being dropped on `canvas` cache clearsLibravatar Héctor Ramón Jiménez2024-04-302-0/+2
|
* Retain caches in `iced_wgpu` as long as `Rc` values are aliveLibravatar Héctor Ramón Jiménez2024-04-272-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`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.
* Restore `PREMULTIPLIED_ALPHA_BLENDING` in `triangle::msaa` pipelineLibravatar Héctor Ramón Jiménez2024-04-121-1/+3
|
* Fix applying local transformation to `layer_bounds` in `iced_wgpu::text`Libravatar Héctor Ramón Jiménez2024-04-121-4/+2
|
* Port `iced_tiny_skia` to new layering architectureLibravatar Héctor Ramón Jiménez2024-04-094-216/+173
|
* Make arguments of `Renderer::new` explicit in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-04-082-4/+12
|