Commit graph

992 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
195146b50c
Update wgpu to 26 2025-07-22 02:51:22 +02:00
Héctor Ramón Jiménez
8578a1362b
Fix clippy lints for Rust 1.88 🎉 2025-06-27 00:00:49 +02:00
DKolter
dcf5abb0d8 Also add round to text bound position 2025-06-03 12:17:26 +02:00
DKolter
f19c45494a fix: Wgpu text bounds cutoff 2025-06-01 12:45:05 +02:00
Héctor Ramón Jiménez
567b7d9e9f
Add crisp feature for enabling default quad snapping 2025-05-30 00:30:23 +02:00
Daniel
74665d696d use single sdf for all corners 2025-05-29 22:16:33 +10:00
Héctor Ramón Jiménez
f0156359db
Revert "Snap text to the pixel grid on the X axis in iced_wgpu"
This reverts commit 6c0962c5c3.
2025-05-28 22:51:59 +02:00
Héctor Ramón Jiménez
9d4e849a0e
Revert "Merge pull request #2962 from iced-rs/fix/blurry-quads"
This reverts commit 03326b955b, reversing
changes made to 7c5a4bc465.
2025-05-28 22:51:10 +02:00
Héctor Ramón Jiménez
6c0962c5c3
Snap text to the pixel grid on the X axis in iced_wgpu 2025-05-28 21:02:45 +02:00
Héctor Ramón Jiménez
5929b26722
Apply snap distance to Mesh primitives in iced_wgpu 2025-05-28 20:47:23 +02:00
Héctor Ramón Jiménez
15aa94c0f1
Try to align quad and image primitives in iced_wgpu 2025-05-26 23:59:15 +02:00
Héctor Ramón Jiménez
3aedbd5844
Snap quad primitives to the pixel grid (once again!)
Let's hope this approach handles common cases better.
2025-05-25 21:27:00 +02:00
Héctor Ramón Jiménez
098bd1b8a4
Use premultiplied colors in triangle pipelines 2025-05-12 18:41:34 +02:00
Héctor Ramón Jiménez
df37d6f9bc
Replace blend with mix equivalent in quad shaders 2025-05-12 18:11:51 +02:00
Héctor Ramón Jiménez
9ac4c9f13d
Define premultiply helper for quad shaders 2025-05-12 18:09:48 +02:00
Héctor Ramón Jiménez
469261e5a6
Replace mix calls with proper alpha blending in quad shaders 2025-05-12 18:09:48 +02:00
Héctor
e6da449c92
Merge pull request #2919 from bungoboingo/hack/fix-gl-cubemap-detection
[Fix] GL backend interpreting atlas texture as cube map vs 2d tex array when atlas layer depth == 6
2025-05-04 22:56:03 +02:00
Héctor Ramón Jiménez
2d2888ee03
Store wgpu::Backend in image::Atlas 2025-05-04 22:46:51 +02:00
Héctor Ramón Jiménez
6bf709e03e
Make anchoring explicit and improve reusability of text pipelines 2025-05-04 03:54:42 +02:00
Shan
16703ccdef
Hack to fix GL-specific backend issue where if image atlas grows to a layer depth of 6, GL interprets the texture as a cube map vs a 2d texture array 2025-05-01 09:10:53 -07:00
Héctor Ramón Jiménez
acde7ea735
Implement Frame::stroke_text in canvas API 2025-05-01 03:00:31 +02:00
Héctor Ramón Jiménez
97b4ed0d84
Support max_width and text::Alignment for canvas::Text 2025-04-30 04:19:15 +02:00
Héctor Ramón Jiménez
6ebf386249
Fix missing is_empty in image::Batch 2025-04-30 01:30:53 +02:00
Héctor Ramón Jiménez
613c706a39
Report layers rendered to iced_beacon 2025-04-29 23:01:45 +02:00
Héctor Ramón Jiménez
ef16ea3b2a
Tweak and organize devtools crate 2025-04-28 22:41:09 +02:00
Héctor Ramón Jiménez
482d54118a
Fix missing _padding in color conversion pipeline 2025-04-10 23:25:20 +02:00
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