Commit graph

153 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
fb2544021a
Update wgpu to 24 and use cryoglyph fork
Co-authored-by: Winfried Baumann <codewing@web.de>
2025-03-09 01:38:34 +01:00
Tommy Volk
0e8c3fe30f
chore: remove once_cell dependency 2025-01-06 22:56:48 +01:00
Héctor Ramón Jiménez
84b658dbef
Introduce strict-assertions feature flag
For now, this feature flag only enables validation
in `iced_wgpu`; which has become quite expensive
since its `0.20` release.
2024-09-20 00:59:45 +02:00
Héctor Ramón Jiménez
0ceee1cf3a
Implement image support for canvas widget 2024-08-04 03:28:43 +02:00
Héctor Ramón Jiménez
13289dbd19
Merge branch 'master' into wgpu/better-architecture 2024-04-07 14:06:52 +02:00
Héctor Ramón Jiménez
5cd98f069d
Use built-in [lints] table in Cargo.toml 2024-04-07 12:42:12 +02:00
Héctor Ramón Jiménez
b05e61f5c8
Redesign iced_wgpu layering architecture 2024-04-03 21:07:54 +02:00
Héctor Ramón Jiménez
f5bcfec821
Use rustc-hash for most of our HashMap and HashSet instances 2024-04-01 12:00:15 +02:00
Héctor Ramón Jiménez
4f5b63f1f4
Reintroduce backend selection through ICED_BACKEND env var 2024-03-24 08:04:28 +01:00
Wyatt Herkamp
149e8b4103
Update some dependencies 2024-02-09 01:53:34 +01:00
Héctor Ramón Jiménez
8bf2386972
Remove Compositor window generic
And update `glyphon` and `window_clipboard`
2024-01-18 09:55:27 +01:00
Héctor Ramón Jiménez
b8e5693a30
Merge branch 'master' into explicit-text-caching 2023-09-10 00:34:21 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
bb49a22996
Enable WebGPU backend in wgpu by default instead of WebGL
Instead, we expose a new `webgl` feature.
2023-09-04 03:28:45 +02:00
Héctor Ramón Jiménez
d518e7d423
Update wgpu for Wasm 2023-09-03 00:28:05 +02:00
Héctor Ramón Jiménez
6cc354fdc4
Update wgpu to 0.17 2023-09-03 00:21:04 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree 2023-08-30 04:31:21 +02:00
Héctor Ramón Jiménez
51ba0267a6
Bump version of iced_wgpu 🎉 2023-08-02 22:29:39 +02:00
Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉 2023-07-28 19:48:39 +02:00
Héctor Ramón Jiménez
e4b75ec9c7
Update glyphon to 0.3 🎉 2023-07-27 16:51:06 +02:00
Héctor Ramón Jiménez
1006206fb2
Use official glyphon repository instead of fork 2023-07-20 20:48:39 +02:00
Héctor Ramón Jiménez
95ff96f71f
Update cosmic-text and glyphon 2023-07-20 20:47:38 +02:00
Héctor Ramón Jiménez
5dd923402e
Update resvg dependency to 0.35 2023-07-12 09:10:58 +02:00
Alec Deason
af386fd0a3
Upgrade resvg to 0.34 and tiny_skia to 0.10 2023-07-12 08:59:07 +02:00
Héctor Ramón Jiménez
5bc7cbf5bc
Use subpixel glyph positioning and layout linearity
... for offsetting and scaling text
2023-06-20 06:50:36 +02:00
Héctor Ramón Jiménez
0c65936664
Update glyphon and cosmic-text 2023-06-16 15:50:03 +02:00
Héctor Ramón Jiménez
b5fc0f4a3a
Use consistent color strategy in glyphon 2023-06-01 03:10:02 +02:00
Héctor Ramón Jiménez
faa7627ea4
Introduce web-colors feature flag to enable sRGB linear blending
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/
2023-05-31 21:31:58 +02:00
Héctor Ramón Jiménez
556f3e89d3
Skip missing glyphs instead of panicking in glyphon 2023-05-29 20:47:47 +02:00
Benoît du Garreau
dee8ede5be Update glam to 0.24 2023-05-22 17:23:42 +02:00
Bingus
6551a0b2ab
Added support for gradients as background variants + other optimizations. 2023-05-11 11:13:44 -07:00
Héctor Ramón Jiménez
8e8808f0e1
Merge branch 'master' into advanced-text 2023-05-02 06:40:48 +02:00
Héctor Ramón Jiménez
edf3432bf5
Update glyphon and cosmic-text 2023-05-02 01:02:33 +02:00
Héctor Ramón Jiménez
33b5a90019
Make basic text shaping the default shaping strategy 2023-05-02 01:02:13 +02:00
Héctor Ramón Jiménez
d953d12c38
Fix incorrect wgpu version for Wasm builds in iced_wgpu 2023-04-26 16:48:41 +02:00
Héctor Ramón Jiménez
9c63eb7df5
Update tiny-skia and resvg 2023-04-26 16:46:27 +02:00
David Huculak
8122904ca4 wgpu 0.16 2023-04-20 21:28:47 -04:00
Héctor Ramón Jiménez
e3730106e9
Update glyphon to latest dev 2023-04-17 23:44:26 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
c79cc2d2b3
Bump versions 🎉 2023-04-13 08:41:09 +02:00
Elham Aryanpur
d5453c62e9
Update wgpu to 0.15 2023-04-13 05:40:23 +02:00
Héctor Ramón Jiménez
c0431aedd3
Update wgpu and cosmic-text 2023-04-08 04:47:05 +02:00
Héctor Ramón Jiménez
5f9e7f6cb9
Update cosmic-text to latest 🎉 2023-03-19 14:52:30 +01:00
Héctor Ramón Jiménez
3a26baa564
Remove image abstractions in iced_graphics 2023-03-07 03:47:49 +01:00
Héctor Ramón Jiménez
06bbcc310e
Move webgl feature selection for wgpu into iced_wgpu 2023-03-05 06:40:20 +01:00
Héctor Ramón Jiménez
5fed065dc3
Update glyphon in iced_wgpu 2023-03-04 05:56:10 +01:00
Héctor Ramón Jiménez
bacbaeed99
Merge branch 'advanced-text' into feature/software-renderer 2023-03-04 05:51:05 +01:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase 2023-03-04 05:37:11 +01:00
Héctor Ramón Jiménez
6cc48b5c62
Move Canvas and QRCode to iced crate
Rename `canvas` modules to `geometry` in graphics subcrates
2023-03-03 04:57:55 +01:00
Héctor Ramón Jiménez
5fd5d1cdf8
Implement Canvas support for iced_tiny_skia 2023-03-01 21:34:26 +01:00