Commit graph

4686 commits

Author SHA1 Message Date
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
5e01d767c5
Check benchmarks only instead of testing them in CI 2024-04-07 13:48:23 +02:00
Héctor Ramón Jiménez
1c241d1150
Install missing dependencies in lint workflow 2024-04-07 13:04:53 +02:00
Héctor Ramón Jiménez
8475cd7b25
Run lint workflow in ubuntu-latest
`macOS-latest` seems to abort the build randomly
for some reason.
2024-04-07 13:00:40 +02:00
Héctor Ramón
5905e7c882
Merge pull request #2377 from iced-rs/cargo-lints
Use built-in `[lints]` table in `Cargo.toml`
2024-04-07 12:51:18 +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
a865b38002
Add a simple wgpu benchmark using criterion 2024-04-07 11:49:42 +02:00
Héctor Ramón Jiménez
bcd6873b37
Fix lint in wgpu benchmark 2024-04-07 09:33:33 +02:00
Héctor Ramón Jiménez
68056f8ca4
Test benchmarks in GitHub CI 2024-04-07 08:52:28 +02:00
Héctor Ramón Jiménez
6771672087
Wait for submission in wgpu benchmark 2024-04-07 08:48:27 +02:00
Héctor Ramón
63042354fc
Merge pull request #2376 from Davidster/fix_palette_readable_color_contrast
Add stronger guarantee of readability/contrast for palette background/text color pairs
2024-04-07 08:36:59 +02:00
David Huculak
c45c79b5d6 add stronger guarantee of readability/contrast for palette background/text color pairs 2024-04-07 02:20:44 -04:00
Héctor Ramón Jiménez
5ffea8ddef
Add a simple wgpu benchmark using criterion 2024-04-07 08:11:42 +02:00
Héctor Ramón Jiménez
a699348bf3
Reenable proper present_mode in iced_wgpu 2024-04-06 06:23:29 +02:00
Héctor Ramón Jiménez
441aac2599
Avoid generating empty caches in iced_wgpu 2024-04-06 03:06:40 +02:00
Héctor Ramón Jiménez
7eb16452f3
Avoid generating empty Frame geometry in iced_wgpu 2024-04-06 00:57:59 +02:00
Héctor Ramón Jiménez
6d3e1d835e
Decouple caching from layering and simplify everything 2024-04-05 23:59:21 +02:00
Héctor Ramón Jiménez
4a356cfc16
Enable clipping and disable v-sync for now 2024-04-05 01:24:34 +02:00
Héctor Ramón Jiménez
394e599c3a
Fix layer transformations 2024-04-05 00:40:39 +02:00
Héctor Ramón Jiménez
cc05cb9be4
Fix broken doc links in iced_wgpu and iced_graphics 2024-04-03 23:39:38 +02:00
Héctor Ramón Jiménez
d461f23e8d
Use default tolerance for dashed paths in iced_wgpu 2024-04-03 23:31:13 +02:00
Héctor Ramón Jiménez
346ea313fd
Set proper present_mode in iced_wgpu 2024-04-03 23:28:12 +02:00
Héctor Ramón Jiménez
e2c129c057
Fix geometry::Cache not reusing previous geometry 2024-04-03 23:14:16 +02:00
Héctor Ramón Jiménez
1672b0d619
Reintroduce debug overlay in iced_wgpu 2024-04-03 22:57:28 +02:00
Héctor Ramón Jiménez
88b72de282
Implement preliminary cache grouping for mesh primitives
Due to AA, it's very expensive to render every cached
layer independently.
2024-04-03 22:13:00 +02:00
Héctor Ramón Jiménez
09af6773bd
Remove unused layer module in iced_graphics 2024-04-03 21:09:59 +02:00
Héctor Ramón Jiménez
b05e61f5c8
Redesign iced_wgpu layering architecture 2024-04-03 21:07:54 +02:00
Aaron McGuire
31d1d5fecb
Check is_secure before a copy/cut from TextInput (#2366)
* Check is_secure before copy/cut on text_input

* run cargo fmt
2024-04-02 08:46:35 +00:00
Héctor Ramón
b17f890482
Merge pull request #2358 from bungoboingo/text-editor-font-size
Some text_editor QoL
2024-04-02 10:12:07 +02:00
Héctor Ramón Jiménez
99a904112c
Implement IntoFragment for Fragment 2024-04-02 10:09:13 +02:00
Héctor Ramón
27312187f3
Merge pull request #2364 from blazra/combobox-menu-fix
combo_box: Do not draw empty menu overlay
2024-04-02 09:49:36 +02:00
Héctor Ramón
6c75836f12
Merge pull request #2363 from iced-rs/specialize-text-helper
Specialize `widget::text` helper
2024-04-02 09:42:50 +02:00
Héctor Ramón Jiménez
488cac7148
Avoid extra text allocations in websocket example 2024-04-02 09:29:16 +02:00
Héctor Ramón Jiménez
dee43d5f66
Implement IntoFragment for usize and isize 2024-04-02 09:24:22 +02:00
Héctor Ramón Jiménez
34f799aa3d
Rename text::IntoContent to IntoFragment 2024-04-01 21:48:47 +02:00
Radovan Blažek
8c08cce6ff combo_box: Do not draw empty menu overlay
Fixes #2311
2024-04-01 21:38:58 +02:00
Héctor Ramón Jiménez
b8d5df2817
Reintroduce old text helper as value helper 2024-04-01 21:36:52 +02:00
Héctor Ramón Jiménez
1d83e59e8a
Specialize widget::text helper with custom IntoContent trait 2024-04-01 21:36:08 +02:00
Héctor Ramón
c30b4b0a1c
Merge pull request #2362 from iced-rs/size-hint-for-row-columns
Use `Iterator::size_hint` to initialize `Column` and `Row` capacity
2024-04-01 17:14:39 +02:00
Héctor Ramón Jiménez
db4b03a659
Use Iterator::size_hint to initialize Column and Row capacity 2024-04-01 16:08:42 +02:00
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
Bingus
385a4490fb
Expose line_height & text_size fields for the text_editor widget 2024-03-29 16:58:11 -07: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