summaryrefslogtreecommitdiffstats
path: root/wgpu/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove leftover `primitive::pipeline` moduleLibravatar Héctor Ramón Jiménez2024-04-081-1/+0
|
* Reintroduce support for custom primitives in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-04-086-140/+176
|
* Share `msaa::Blit` texture between multiple windowsLibravatar Héctor Ramón Jiménez2024-04-074-69/+112
|
* Merge branch 'master' into wgpu/better-architectureLibravatar Héctor Ramón Jiménez2024-04-075-10/+7
|\
| * Use built-in `[lints]` table in `Cargo.toml`Libravatar Héctor Ramón Jiménez2024-04-071-8/+0
| |
* | Reenable proper `present_mode` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-04-061-2/+2
| |
* | Avoid generating empty caches in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-04-064-22/+66
| |
* | Avoid generating empty `Frame` geometry in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-04-061-18/+25
| |
* | Decouple caching from layering and simplify everythingLibravatar Héctor Ramón Jiménez2024-04-057-1160/+855
| |
* | Enable clipping and disable v-sync for nowLibravatar Héctor Ramón Jiménez2024-04-053-20/+20
| |
* | Fix layer transformationsLibravatar Héctor Ramón Jiménez2024-04-055-164/+206
| |
* | Fix broken doc links in `iced_wgpu` and `iced_graphics`Libravatar Héctor Ramón Jiménez2024-04-032-13/+12
| |
* | Use default tolerance for dashed paths in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-04-031-1/+3
| |
* | Set proper `present_mode` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-04-031-2/+2
| |
* | Fix `geometry::Cache` not reusing previous geometryLibravatar Héctor Ramón Jiménez2024-04-031-1/+0
| |
* | Reintroduce debug overlay in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-04-031-3/+45
| |
* | Implement preliminary cache grouping for mesh primitivesLibravatar Héctor Ramón Jiménez2024-04-032-52/+106
| | | | | | | | | | Due to AA, it's very expensive to render every cached layer independently.
* | Redesign `iced_wgpu` layering architectureLibravatar Héctor Ramón Jiménez2024-04-0317-1792/+2285
|/
* Use `rustc-hash` for most of our `HashMap` and `HashSet` instancesLibravatar Héctor Ramón Jiménez2024-04-013-10/+10
|
* Merge pull request #2357 from iced-rs/wgpu/use-staging-beltLibravatar Héctor Ramón2024-03-309-40/+149
|\ | | | | Use a `StagingBelt` in `iced_wgpu` for regular buffer uploads
| * Fix batched writes logic in `iced_wgpu::buffer`Libravatar Héctor Ramón Jiménez2024-03-301-27/+32
| |
| * Split big `Buffer` writes into multiple chunksLibravatar Héctor Ramón Jiménez2024-03-292-9/+38
| |
| * Add documentation to `Backend::recall` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-03-291-0/+3
| |
| * Use a `StagingBelt` in `iced_wgpu` for regular buffer uploadsLibravatar Héctor Ramón Jiménez2024-03-299-40/+112
| |
* | Update solid.wgslLibravatar Daniel Yoon2024-03-261-3/+9
|/
* Merge pull request #2351 from iced-rs/custom-renderer-injectionLibravatar Héctor Ramón2024-03-256-352/+348
|\ | | | | Type-Driven Renderer Fallback
| * Reintroduce backend selection through `ICED_BACKEND` env varLibravatar Héctor Ramón Jiménez2024-03-242-69/+97
| |
| * Rename `compositor::Renderer` to `Default`Libravatar Héctor Ramón Jiménez2024-03-221-2/+2
| |