summaryrefslogtreecommitdiffstats
path: root/wgpu/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use Oklab color interpolation only with `color::GAMMA_CORRECTION`Libravatar Héctor Ramón Jiménez2023-09-0711-489/+544
|
* Compute gradients in Oklab color spaceLibravatar Matthias Vogelgesang2023-09-071-5/+21
|
* Merge pull request #2070 from ripytide/masterLibravatar Héctor Ramón2023-09-071-3/+13
|\ | | | | Added a Frame::scale_nonuniform method
| * Make `scale` methods in `Frame` generic over `f32` and `Vector`Libravatar Héctor Ramón Jiménez2023-09-071-2/+6
| |
| * Implement `scale` in terms of `scale_nonuniform`Libravatar Héctor Ramón Jiménez2023-09-071-3/+1
| |
| * added a Frame::scale_nonuniform methodLibravatar ripytide2023-09-051-1/+9
| |
* | Merge pull request #2071 from Davidster/wgpu_webgpu_supportLibravatar Héctor Ramón2023-09-072-20/+20
|\ \ | | | | | | use @interpolate(flat) attribute as per the WebGPU spec
| * | Remove unnecessary `interpolate(flat)` in `quad.wgsl`Libravatar Héctor Ramón Jiménez2023-09-071-1/+1
| | |
| * | use @interpolate(flat) attribute as per the WebGPU spec:Libravatar David Huculak2023-09-032-21/+21
| |/ | | | | | | | | | | User-defined vertex outputs and fragment inputs of scalar or vector integer type must always be specified as @interpolate(flat) https://www.w3.org/TR/WGSL/#interpolation
* | Check LineHeight > 0.0 before allocating textLibravatar Josh Megnauth2023-09-041-7/+7
| |
* | Ensure LineHeight > 0.0 for the WGPU rendererLibravatar Josh Megnauth2023-09-041-3/+6
|/
* Fix adapter selection loop in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-09-031-6/+4
|
* Remove redundant `into_iter` call in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-09-031-7/+4
|
* Fix `iced_wgpu` device selection on WasmLibravatar Héctor Ramón Jiménez2023-09-031-14/+19
|
* Make the style attribute available on FontLibravatar lufte2023-08-181-1/+10
|
* Avoid empty overlay layer in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-08-021-1/+4
|
* Fix `iced_wgpu` freezing on empty layersLibravatar Héctor Ramón Jiménez2023-08-021-1/+1
| | | | The `render` method would return when an empty layer is encountered without explicitly dropping the `RenderPass` (necessary because we use `ManuallyDrop`), which would then leak memory and freeze `wgpu` until the surface was recreated.
* Bump versions :tada:Libravatar Héctor Ramón Jiménez2023-07-281-6/+3
|
* Update `cosmic-text` and `glyphon`Libravatar Héctor Ramón Jiménez2023-07-202-56/+19
|
* Improve code style in `vector` modulesLibravatar Héctor Ramón Jiménez2023-07-121-11/+12
|
* Upgrade resvg to 0.34 and tiny_skia to 0.10Libravatar Alec Deason2023-07-121-10/+21
|
* Trim text measurements only before `layout`Libravatar Héctor Ramón Jiménez2023-06-292-28/+21
|
* Introduce `Mode` for `text::Cache` and trim only when switching modesLibravatar Héctor Ramón Jiménez2023-06-291-18/+64
|
* Write missing docs in `iced_graphics` and `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-06-292-2/+6
|
* Decouple `Mesh` primitives from main `Primitive` typeLibravatar Héctor Ramón Jiménez2023-06-296-107/+142
|
* Introduce custom backend-specific primitivesLibravatar Héctor Ramón Jiménez2023-06-296-16/+21
|
* Retain text measurements as long as original entriesLibravatar Héctor Ramón Jiménez2023-06-281-17/+18
|
* Retain measurements for text entries even if not directly usedLibravatar Héctor Ramón Jiménez2023-06-281-2/+4
|
* Fix needless borrow in `iced_wgpu` and `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-06-281-1/+1
|
* Reuse entries in `text::Cache` in `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-06-281-7/+10
|
* Reuse entries in `text::Cache` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-06-282-29/+54
|
* Merge pull request #1885 from bungoboingo/gradient-packing-optimizationLibravatar Héctor Ramón2023-06-274-156/+128
|\ | | | | Small gradient optimization
| * Switched to packing using f16s to maintain acceptable precision.Libravatar Bingus2023-06-074-90/+110
| |
| * Updated color packing into u32 to consider incorrect web-colors.Libravatar Bingus2023-06-062-36/+22
| |
| * Optimized gradient data packing.Libravatar Bingus2023-06-064-126/+92
| |
* | Merge pull request #1845 from bungoboingo/feat/offscreen-renderingLibravatar Héctor Ramón2023-06-274-10/+319
|\ \ | | | | | | Feat: Offscreen Rendering & Screenshots
| * | Simplify `offscreen` API as `color` module in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-06-275-236/+180
| | |
| * | Fixed documentationLibravatar Bingus2023-06-141-1/+1
| | |
| * | Replaced offscreen_blit.wgsl with existing blit.wgsl.Libravatar Bingus2023-06-142-130/+60
| | |
| * | Added in check for web-colors.Libravatar Bingus2023-06-081-7/+16
| | |
| * | Adjusted offscreen pass to be a render pass vs compute for compat with ↵Libravatar Bingus2023-06-083-57/+165
| | | | | | | | | | | | web-colors flag.
| * | Added offscreen rendering support for wgpu & tiny-skia exposed with the ↵Libravatar Bingus2023-06-066-11/+329
| |/ | | | | | | window::screenshot command.
* | Clear text caches after a font is loadedLibravatar Héctor Ramón Jiménez2023-06-211-0/+2
| |
* | Use subpixel glyph positioning and layout linearityLibravatar Héctor Ramón Jiménez2023-06-202-31/+18
| | | | | | | | ... for offsetting and scaling text
* | Update `glyphon` and `cosmic-text`Libravatar Héctor Ramón Jiménez2023-06-161-18/+13
|/
* Merge pull request #1888 from iced-rs/web-colorsLibravatar Héctor Ramón2023-06-038-21/+50
|\ | | | | Introduce `web-colors` feature flag to enable "sRGB linear" blending
| * Use consistent color strategy in `glyphon`Libravatar Héctor Ramón Jiménez2023-06-011-1/+10
| |
| * Use proper gamma correction mode in `image::Atlas::grow`Libravatar Héctor Ramón Jiménez2023-05-311-1/+5
| |
| * Avoid gamma correction when `web-colors` is enabled for imagesLibravatar Héctor Ramón Jiménez2023-05-311-1/+6
| |
| * Introduce `web-colors` feature flag to enable sRGB linear blendingLibravatar Héctor Ramón Jiménez2023-05-317-18/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is how browsers perform color management. They treat gamma-corrected sRGB colors as if they were linear RGB. Correctness aside, this mode is introduced for legacy reasons. Most UI/UX tooling uses this color management as well, and many have created an intuition about how color should behave from interacting with a browser. This feature flag should facilitate application development with `iced` in those cases. More details: https://webcolorisstillbroken.com/