Héctor Ramón Jiménez
04df889cac
Use two layers for image::atlas only on Gl backend
2024-02-19 08:18:51 +01:00
PolyMeilex
4272090d36
[wgpu.image] Workaround WGPU OpenGL heuristics
2024-02-18 06:12:15 +01:00
Héctor Ramón Jiménez
caed50b277
Fix clippy::match-wildcard-for-single-variants
2023-09-20 05:03:25 +02:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned
2023-09-20 04:11:52 +02:00
Yuri Astrakhan
3d6b9637c3
Chore: Inline format args for ease of reading
...
A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
2023-09-19 01:32:56 -04:00
Héctor Ramón Jiménez
c528f2129e
Use proper gamma correction mode in image::Atlas::grow
2023-05-31 21:45:12 +02:00
Héctor Ramón Jiménez
f1b259a28f
Avoid gamma correction when web-colors is enabled for images
2023-05-31 21:42:39 +02:00
Héctor Ramón Jiménez
0ef5ab6c84
Remove dbg! leftovers in image::atlas
2023-05-11 20:19:37 +02:00
Héctor Ramón Jiménez
f02f0c01ea
Fix race condition when growing an image::Atlas
2023-05-11 20:18:36 +02:00
Héctor Ramón Jiménez
8e8808f0e1
Merge branch 'master' into advanced-text
2023-05-02 06:40:48 +02:00
David Huculak
cbb2ba38fa
remove unused import
2023-04-20 21:38:52 -04:00
David Huculak
8122904ca4
wgpu 0.16
2023-04-20 21:28:47 -04: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
3a26baa564
Remove image abstractions in iced_graphics
2023-03-07 03:47:49 +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
363966ee9e
Refactor image::Pipeline into prepare and render architecture
2023-02-24 13:37:31 +01:00
Héctor Ramón Jiménez
438f97a6d0
Use RGBA texture for image and svg pipelines
2022-11-05 03:20:00 +01:00
Héctor Ramón Jiménez
8ce8d374b1
Refactor some image traits a bit
...
- Use `Size<u32>` were applicable.
- Rename `TextureStore` to `image::Storage`.
- Rename `TextureStoreEntry` to `image::storage::Entry`.
- Wire up `viewport_dimensions` to `iced_glow` for `Svg`.
2022-11-05 03:19:38 +01:00
Ian Douglas Scott
2c7c42ee93
Move image/svg handling into iced_graphics
...
The `TextureStore` trait is implemented by the atlas, and can also be
implemented in the glow renderer or in a software renderer.
The API here may be improved in the future, but API stability is
presumably not a huge issue since these types will only be used by
renderer backends.
2022-11-05 03:19:37 +01:00
Héctor Ramón Jiménez
33a24b5821
Run cargo fmt
2022-07-09 17:07:40 +02:00
Poly
15f794b7a8
Address Clippy lints
2022-07-09 17:07:38 +02:00
Poly
18753b77fc
wgpu: Update to 0.10
2021-08-19 03:06:38 +02:00
Dispersia
9a2c78c405
Upgrade wgpu
2021-04-11 18:55:57 -07:00
Héctor Ramón Jiménez
44118263b5
Add labels to iced_wgpu internals
2020-08-31 14:41:41 +02:00
Héctor Ramón Jiménez
bb5f034e08
Fix offset calculation in image::Atlas
2020-08-27 14:45:08 +02:00
Héctor Ramón Jiménez
ecbee66bd6
Fix layers initialization in image::Atlas
2020-08-27 14:44:51 +02:00
Héctor Ramón Jiménez
83e037829c
Update image pipeline in iced_wgpu
2020-08-27 13:41:00 +02:00
Héctor Ramón Jiménez
d807ef367e
Update wgpu to 0.5 in iced_wgpu 🎉
2020-04-07 05:48:21 +02:00
Héctor Ramón Jiménez
4e7159c22c
Stop creating image pipeline when unnecessary
2020-02-28 14:38:42 +01:00