summaryrefslogtreecommitdiffstats
path: root/graphics/src/gradient.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix `clippy::semicolon_if_nothing_returned`Libravatar Héctor Ramón Jiménez2023-09-201-1/+1
|
* Chore: Apply some minor clippy fixesLibravatar Yuri Astrakhan2023-09-191-1/+1
| | | | | | * Use `.elapsed()` for duration * Use direct iteration without calling `.iter()` and the like * order fields in the `Text` struct creation as declared
* Fix outstanding broken intradoc linksLibravatar Héctor Ramón Jiménez2023-09-091-6/+1
|
* Fix majority of unresolved documentation linksLibravatar Matthias Vogelgesang2023-09-091-2/+2
|
* Decouple `Mesh` primitives from main `Primitive` typeLibravatar Héctor Ramón Jiménez2023-06-291-1/+2
|
* Switched to packing using f16s to maintain acceptable precision.Libravatar Bingus2023-06-071-30/+52
|
* Updated color packing into u32 to consider incorrect web-colors.Libravatar Bingus2023-06-061-13/+20
|
* Optimized gradient data packing.Libravatar Bingus2023-06-061-32/+39
|
* Introduce `web-colors` feature flag to enable sRGB linear blendingLibravatar Héctor Ramón Jiménez2023-05-311-2/+6
| | | | | | | | | | | | | | | 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/
* Make `Packed` fully opaqueLibravatar Héctor Ramón Jiménez2023-05-291-4/+27
| | | | ... by only allowing direct conversion from our `Gradient` types
* Changed gradient::Packed to be `repr(C)` for direct gpu upload.Libravatar Bingus2023-05-261-5/+9
|
* Created "Packed" data structure for gradient data.Libravatar Bingus2023-05-251-13/+20
|
* Made gradient pack public for iced_graphics::gradient mod for use with ↵Libravatar Bingus2023-05-241-0/+33
| | | | GradientVertex2D.
* Remove `Builder` abstractions for gradientsLibravatar Héctor Ramón Jiménez2023-05-191-88/+57
|
* Added support for gradients as background variants + other optimizations.Libravatar Bingus2023-05-111-0/+119
|
* Implement `Canvas` support for `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-03-011-117/+0
|
* Fix lintLibravatar Cory Forsstrom2023-01-041-1/+1
|
* Make location copyLibravatar Cory Forsstrom2023-01-041-1/+1
|
* Fix broken documentation linksLibravatar Héctor Ramón Jiménez2022-11-101-1/+6
|
* Move `Position` and `Location` to `gradient` moduleLibravatar Héctor Ramón Jiménez2022-11-031-7/+89
|
* Adjusted gradient transform function to be more readable.Libravatar shan2022-10-071-7/+1
|
* Fixed import issue with canvas in the gradient mod for situations where ↵Libravatar shan2022-10-071-21/+5
| | | | canvas feature is not enabled.
* Added support for relative positioning of gradient fills. Addressed some PR ↵Libravatar shan2022-10-071-6/+16
| | | | feedback.
* Fixed some more imports/documentation.Libravatar shan2022-10-061-2/+1
|
* Added support for gradients to respect current frame transform.Libravatar shan2022-10-061-1/+13
|
* Fixed lint issues & cleaned up some documentation.Libravatar shan2022-10-061-1/+0
|
* Readjusted namespaces, removed Geometry example as it's no longer relevant.Libravatar shan2022-10-051-73/+2
|
* Reworked wgpu buffers, updated glow side to have proper transform location ↵Libravatar shan2022-10-041-1/+1
| | | | storage, attempting to fix visibility modifiers, implemented some of the feedback received in initial PR.
* Fixed some importing issues since you can use a Shader::Gradient outside a ↵Libravatar shan2022-09-301-6/+86
| | | | Canvas widget, where it was previously only accessible.
* Adds linear gradient support to 2D meshes in the canvas widget.Libravatar shan2022-09-291-0/+23