Commit graph

4645 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
b40db569a2
Fix wasm_bindgen backend in iced_futures 2024-04-01 12:02:14 +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
14ed71e09b
Merge pull request #2360 from iced-rs/avoid-fill-text-allocation
Use generic `Content` in `Text` to avoid reallocation in `fill_text`
2024-04-01 11:42:11 +02:00
Héctor Ramón Jiménez
6216c513d5
Use generic Content in Text to avoid reallocation in fill_text 2024-04-01 11:30:01 +02:00
Héctor Ramón
c7a4fad4a2
Merge pull request #2357 from iced-rs/wgpu/use-staging-belt
Use a `StagingBelt` in `iced_wgpu` for regular buffer uploads
2024-03-30 23:49:26 +01:00
Héctor Ramón Jiménez
4c74bebc70
Update glyphon for instanced rendering 2024-03-30 16:02:38 +01:00
Héctor Ramón Jiménez
faa53647cc
Replace xxhash-rust with rustc-hash 2024-03-30 15:57:50 +01:00
Héctor Ramón Jiménez
35af0aa84f
Fix batched writes logic in iced_wgpu::buffer 2024-03-30 13:51:22 +01:00
Héctor Ramón Jiménez
d11e271d26
Update glyphon with more performance improvements
See:
  - https://github.com/grovesNL/glyphon/pull/90
  - https://github.com/grovesNL/glyphon/pull/91
2024-03-30 00:22:30 +01:00
Héctor Ramón Jiménez
5f1eb43161
Split big Buffer writes into multiple chunks 2024-03-29 14:29:31 +01:00
Héctor Ramón Jiménez
0a97b9e37a
Add documentation to Backend::recall in iced_wgpu 2024-03-29 09:57:11 +01:00
Héctor Ramón Jiménez
2bb53ad6e7
Use a StagingBelt in iced_wgpu for regular buffer uploads 2024-03-29 04:04:14 +01:00
Héctor Ramón
5071e3d231
Merge pull request #2354 from Koranir/custom-shadow-fix
Fix quad shadows
2024-03-27 21:49:22 +01:00
Héctor Ramón Jiménez
1df1cf82f4
Derive Debug for qr_code::Data in iced_widget 2024-03-26 04:22:06 +01:00
Héctor Ramón Jiménez
a8ceb9469b
Propagate advanced feature to iced_core 2024-03-26 04:21:02 +01:00
Daniel Yoon
39f57a258e Make tiny-skia equivalent 2024-03-26 13:02:04 +11:00
Daniel Yoon
8c401be207 Update solid.wgsl 2024-03-26 11:50:11 +11:00
Héctor Ramón
eae4065300
Merge pull request #2350 from iced-rs/theming-revolutions
Theming Revolutions
2024-03-25 22:21:22 +01:00
Héctor Ramón Jiménez
74373cb086
Make defaults of composite widgets configurable 2024-03-25 22:12:47 +01:00
Héctor Ramón
a2a8381a49
Merge pull request #2351 from iced-rs/custom-renderer-injection
Type-Driven Renderer Fallback
2024-03-25 21:36:44 +01:00
Héctor Ramón Jiménez
6a4f5ac208
Remove redundant text::Renderer bound in program 2024-03-24 08:45:11 +01:00
Héctor Ramón Jiménez
4f5b63f1f4
Reintroduce backend selection through ICED_BACKEND env var 2024-03-24 08:04:28 +01:00
Héctor Ramón Jiménez
f0ae9a0c38
Use Catalog approach for all widgets 2024-03-24 05:03:09 +01:00
Héctor Ramón Jiménez
e657dc2ecd
Fine-tune Catalog approach for button, checkbox, and svg 2024-03-24 02:08:20 +01:00
Héctor Ramón Jiménez
999ad2d288
Try catalog theming approach with Button 2024-03-23 19:23:08 +01:00
Héctor Ramón Jiménez
441e9237cd
Rename compositor::Renderer to Default 2024-03-22 19:35:19 +01:00
Héctor Ramón Jiménez
a2c897792c
Fix unnecessary into calls in iced_renderer::fallback 2024-03-22 07:12:46 +01:00
Héctor Ramón Jiménez
5137d655e6
Allow custom renderers in Program and Application 2024-03-22 07:09:51 +01:00
Héctor Ramón Jiménez
4f2f40c68b
Fix standalone compilation of iced_widget crate 2024-03-22 05:41:15 +01:00
Héctor Ramón Jiménez
1f13a91361
Make iced_tiny_skia optional with a tiny-skia feature 2024-03-22 05:27:31 +01:00
Héctor Ramón Jiménez
bbafeed13d
Fix outdated warning in docs of Frame::fill_text 2024-03-22 01:55:28 +01:00
Héctor Ramón Jiménez
85800c99ab
Fix broken links in documentation 2024-03-22 01:53:48 +01:00
Héctor Ramón Jiménez
53a183fe0d
Restore canvas::Frame API 2024-03-22 01:35:14 +01:00
Héctor Ramón Jiménez
b972ebca8f
Restore canvas::Program API 2024-03-21 23:30:36 +01:00
Héctor Ramón Jiménez
3d17cf8790
Remove custom module from iced_renderer 2024-03-21 22:47:43 +01:00
Héctor Ramón Jiménez
3645d34d6a
Implement composable, type-safe renderer fallback 2024-03-21 22:27:17 +01:00
Héctor Ramón Jiménez
7e4ae8450e
Use &mut dyn Surface instead of &mut Box<dyn Surface> 2024-03-21 06:03:31 +01:00
Héctor Ramón Jiménez
9171df1e35
Gate Custom variants in iced_renderer behind custom feature 2024-03-21 06:00:55 +01:00
Héctor Ramón Jiménez
188db4da48
Draft support for dynamic custom renderer injection 2024-03-21 05:52:48 +01:00
Héctor Ramón
3013463baa
Merge pull request #2345 from iced-rs/fix/responsive-layout-invalidation
Fix layout invalidation for `Responsive` widget
2024-03-21 00:47:09 +01:00
Héctor Ramón Jiménez
e812276677
Fix layout invalidation for Responsive widget 2024-03-21 00:37:11 +01:00
Héctor Ramón
01f38f05a2
Merge pull request #2341 from Koranir/premultiply
Allow using the premultiplied alpha wgpu compositor mode
2024-03-20 16:58:19 +01:00
Héctor Ramón
a1d3b52758
Merge pull request #2344 from iced-rs/fix/empty-wgpu-draw-calls
Fix empty `wgpu` draw calls in `image` pipeline
2024-03-20 16:50:47 +01:00
Daniel Yoon
a613079083
Revert "Remove PreMultiplied alpha mode selection in wgpu:🪟:compositor"
This reverts commit 33066bca1a.
2024-03-20 16:46:13 +01:00
Héctor Ramón
2b00e8b145
Merge pull request #2343 from iced-rs/auto-detect-theme
Introduce `auto-detect-theme` feature
2024-03-20 16:44:50 +01:00
Héctor Ramón Jiménez
ff409ce66c
Fix empty wgpu draw calls in image pipeline 2024-03-20 16:40:14 +01:00
Héctor Ramón Jiménez
9db6ac8f20
Introduce auto-detect-theme feature 2024-03-20 00:02:46 +01:00
Héctor Ramón
af6bc4643d
Merge pull request #2342 from iced-rs/default-wasm-canvas-target
Target `#iced` container by default on Wasm
2024-03-19 23:41:30 +01:00
Héctor Ramón Jiménez
06df0b7b08
Update winit fork 2024-03-19 07:14:03 +01:00
Héctor Ramón Jiménez
bf93c82fac
Try to find an #iced element by default on Wasm 2024-03-19 07:14:02 +01:00