summaryrefslogtreecommitdiffstats
path: root/wgpu (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-076-10/+10
|\
| * Use built-in `[lints]` table in `Cargo.toml`Libravatar Héctor Ramón Jiménez2024-04-072-8/+4
| |
* | 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-0318-1795/+2285
|/
* Use `rustc-hash` for most of our `HashMap` and `HashSet` instancesLibravatar Héctor Ramón Jiménez2024-04-014-10/+11
|
* 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-257-352/+349
|\ | | | | Type-Driven Renderer Fallback
| * Reintroduce backend selection through `ICED_BACKEND` env varLibravatar Héctor Ramón Jiménez2024-03-243-69/+98
| |
| * Rename `compositor::Renderer` to `Default`Libravatar Héctor Ramón Jiménez2024-03-221-2/+2
| |
| * Allow custom renderers in `Program` and `Application`Libravatar Héctor Ramón Jiménez2024-03-222-6/+15
| |
| * Make `iced_tiny_skia` optional with a `tiny-skia` featureLibravatar Héctor Ramón Jiménez2024-03-222-2/+4
| |
| * Restore `canvas::Frame` APILibravatar Héctor Ramón Jiménez2024-03-221-6/+5
| |
| * Implement composable, type-safe renderer fallbackLibravatar Héctor Ramón Jiménez2024-03-213-276/+234
| |
* | Merge pull request #2341 from Koranir/premultiplyLibravatar Héctor Ramón2024-03-201-0/+4
|\ \ | | | | | | Allow using the premultiplied alpha wgpu compositor mode
| * | Revert "Remove `PreMultiplied` alpha mode selection in ↵Libravatar Daniel Yoon2024-03-201-0/+4
| |/ | | | | | | | | | | `wgpu::window::compositor`" This reverts commit 33066bca1af6c67e5188c0481403f28afabcbe1f.
* / Fix empty `wgpu` draw calls in `image` pipelineLibravatar Héctor Ramón Jiménez2024-03-201-2/+10
|/