Héctor
bd556269ea
Merge pull request #2883 from pml68/fix/16-byte-padding-wgpu-wasm
...
Fix WebGL WGPU crash
2025-04-09 23:48:39 +02:00
pml68
c2e41a4346
refactor: make Ratio padding a single [f32; 2]
2025-04-09 23:22:10 +02:00
pml68
e338e61e0b
docs: add docs for what p0 and p1 are
2025-04-09 23:11:24 +02:00
pml68
bf6c7d0094
fix: "BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED not supported" error
2025-04-09 22:53:40 +02:00
Héctor Ramón Jiménez
015f5283a8
Introduce presentation metrics and send them to comet
2025-04-09 21:50:21 +02:00
fili_pk
30aeec09c7
Fix WebGPU detection on Wasm
2025-04-09 19:24:56 +02:00
Héctor Ramón Jiménez
3f67044977
Merge branch 'master' into beacon
2025-04-05 18:20:31 +02:00
Héctor Ramón Jiménez
53ce0e3a88
Fix lints for Rust 1.86
2025-04-03 16:59:55 +02:00
Héctor Ramón Jiménez
e060129951
Merge branch 'master' into beacon
2025-04-01 02:18:20 +02:00
Héctor Ramón Jiménez
788d9989ba
Fix load operation for msaa render pass in iced_wgpu
2025-03-27 17:01:41 +01:00
Héctor Ramón Jiménez
5e5c7c85ad
Append renderer name to iced_test snapshots
2025-03-24 20:22:17 +01:00
Héctor Ramón Jiménez
175a53bc86
Rename end_frame to trim in iced_wgpu
2025-03-24 20:22:17 +01:00
Héctor Ramón Jiménez
76c5306581
Trim text atlas in iced_wgpu after drawing
...
This will need to change to only trim when all windows
have finished drawing once we implement concurrent
presentation, since there would be glyph fighting
otherwise.
2025-03-24 20:22:16 +01:00
Héctor Ramón Jiménez
af6b8155c6
Fix cargo lint issues
2025-03-24 20:22:16 +01:00
Héctor Ramón Jiménez
576dd22733
Split local state from Engine in iced_wgpu
2025-03-24 20:22:15 +01:00
Héctor Ramón Jiménez
31b98ee3eb
Notify window before presentation
2025-03-18 18:29:19 +01:00
Héctor Ramón Jiménez
ebfcb65841
Merge branch 'master' into beacon
2025-03-11 22:25:06 +01:00
Héctor Ramón Jiménez
1654c17808
Shorten some variable names in wgpu::text
2025-03-11 02:30:54 +01:00
Héctor Ramón Jiménez
0e4a392731
Introduce text::Alignment with Justified support
2025-03-11 02:30:50 +01:00
Héctor Ramón Jiménez
179a34d37b
Fix horizontal text alignment
2025-03-11 00:43:51 +01:00
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
Héctor Ramón Jiménez
8bd5de72ea
Merge branch 'master' into beacon
2025-03-04 19:11:37 +01:00
Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt
2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
7c54bdef10
Fix physical_bounds shadowing in wgpu render
2025-02-14 23:14:13 +01:00
edwloef
8ca04bf69d
Add debug assertions to draw_mesh in wgpu renderer
2025-02-04 01:21:10 +01:00
Héctor
da1726b134
Merge pull request #2749 from rhysd/const-from-rgb8
...
Make `Color::from_rgb8` and `Color::from_rgba8` const
2025-01-27 01:27:26 +01:00
Héctor Ramón Jiménez
ce07acf6fe
Make all Color constructors const 🎉
2025-01-27 01:09:16 +01:00
Héctor Ramón Jiménez
3428a3d2af
Avoid preparing layers outside physical bounds in iced_wgpu
2025-01-26 03:55:23 +01:00
Héctor
c0db7b8e1f
Merge pull request #2701 from edwloef/2700-fix
...
always increment quad, mesh, text and image layer counts in wgpu layer rendering
2025-01-26 03:50:22 +01:00
Héctor Ramón Jiménez
2c733d96ac
Delegate layer_count logic to primitive pipelines
2025-01-26 03:42:26 +01:00
Tommy Volk
0e8c3fe30f
chore: remove once_cell dependency
2025-01-06 22:56:48 +01:00
edwloef
c90d153976
always increment quad, mesh, text and image layer counts in wgpu layer rendering
2024-12-19 15:23:06 +01:00
Alix Bott
917feb9247
make engine send by using Arc in text/triangle caches
2024-12-08 03:27:37 +01:00
Ian Douglas Scott
3fc57b7d95
Remove surface argument of Compositor::screenshot
...
This argument was completely ignored by the wgpu renderer, and used only
for the `clip_mask` by the `tiny_skia` renderer. I believe creating a
new clip mask is correct.
This way it's possible to render offscreen without needing a surface.
2024-11-21 16:26:17 -08:00
Héctor Ramón Jiménez
ebc4e17ba8
Update wgpu to 23.0
2024-11-05 13:32:14 +01:00
edwloef
a5c42d4cb1
Derive Default for iced_wgpu::geometry::Cache
2024-10-02 15:24:37 +02:00
Héctor
3c68b64cbf
Merge pull request #2605 from Gobbel2000/frame_paste
...
Include images and saved meshes when pasting `Frame`
2024-09-24 22:59:57 +02:00
Gabriel Vogel
26b09e1b4d
Include images and saved meshes when pasting Frame
...
`tiny_skia::Frame` was ignoring images in `Frame::paste`, making images
not show up when created in a `with_clip` context.
`wgpu::Frame` similarly did not pass through meshes in its paste method,
that may have been saved from a nested `with_clip` call.
2024-09-24 22:29:03 +02:00
edwloef
f984e759eb
always increment solid/gradient count in wgpu mesh rendering
2024-09-22 12:22:49 +02: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
a5e69cfb5f
Update wgpu to 22.0
2024-09-20 00:14:47 +02:00
Héctor Ramón Jiménez
aed9a03e3c
Update wgpu to 0.20.1
2024-09-20 00:14:46 +02:00
Jovansonlee Cesar
0c502801e3
Make rendering of svg that has text work out of the box ( #2560 )
...
* fix: load system fonts to usvg font_db, this will make rendering of text in svg that has it
* feat: add an example that renders svg that has text on it
* Initialize `fontdb` only once for `vector` images
* Remove `svg_text` example
* Set `fontdb` for `usvg::Options` in `tiny_skia::vector`
---------
Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
2024-09-13 21:43:00 +00:00
Héctor Ramón
2eb1cc54ac
Merge pull request #2484 from vladh/fix-radii-typo
...
wgpu: Fix “radii” typo
2024-09-11 00:43:50 +02:00
Vlad-Stefan Harbuz
ec39390c23
Add stroke_rectangle
...
This method should be able to leverage performance improvements in lyon's
`tessellate_rectangle` over `tessellate_path`.
2024-09-10 23:44:04 +02:00
Héctor Ramón Jiménez
f98328f4f1
Add text::Wrapping support
...
Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
2024-09-04 21:26:47 +02:00
Héctor Ramón Jiménez
d4b08462e5
Introduce Svg struct in core::svg
2024-08-04 04:52:55 +02:00
Héctor Ramón Jiménez
92bd3ecd6b
Introduce Image struct in core::image
2024-08-04 04:30:12 +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
87a613edd1
Render text on top of images by default
2024-08-03 16:24:07 +02:00