Commit graph

119 commits

Author SHA1 Message Date
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
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
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
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
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
aaf396256e
Merge branch 'master' into beacon 2024-05-09 12:32:25 +02:00
Héctor Ramón Jiménez
8a0701a0d9
Introduce ICED_PRESENT_MODE env var to pick a wgpu::PresentMode 2024-05-07 21:05:29 +02:00
Héctor Ramón Jiménez
547446f0de
Fix windows fighting over shared image::Cache
Image caches are local to each window now.
2024-05-06 12:23:44 +02:00
Héctor Ramón Jiménez
2c6fd9ac14
Make arguments of Renderer::new explicit in iced_wgpu 2024-04-08 15:35:54 +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
4a356cfc16
Enable clipping and disable v-sync for now 2024-04-05 01:24:34 +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
346ea313fd
Set proper present_mode in iced_wgpu 2024-04-03 23:28:12 +02:00
Héctor Ramón Jiménez
b05e61f5c8
Redesign iced_wgpu layering architecture 2024-04-03 21:07:54 +02: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
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
4f5b63f1f4
Reintroduce backend selection through ICED_BACKEND env var 2024-03-24 08:04:28 +01:00
Héctor Ramón Jiménez
5137d655e6
Allow custom renderers in Program and Application 2024-03-22 07:09:51 +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 Jiménez
ecf42b97df
Fix block_on in iced_wgpu hanging Wasm builds 2024-03-07 23:25:24 +01:00
Héctor Ramón Jiménez
dd36893f7a
Introduce iced_sentinel and iced_debug crates 2024-02-26 07:00:51 +01:00
Héctor Ramón Jiménez
8a86ef14e3
Avoid uninitialized Surface configuration on Wasm 2024-02-20 02:51:20 +01:00
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
Héctor Ramón Jiménez
33066bca1a
Remove PreMultiplied alpha mode selection in wgpu:🪟:compositor 2024-02-10 03:49:41 +01:00
Héctor Ramón Jiménez
8a8c1ab2c8
Log available formats and alpha modes in wgpu:🪟:compositor 2024-02-10 00:38:25 +01:00
Daniel Yoon
712c8e53f2
Fix alpha mode configuration in iced_wgpu 2024-02-10 00:24:41 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type 2024-01-21 17:56:01 +01:00
Héctor Ramón Jiménez
c929e6f5dd
Use Self::Surface in Compositor implementors 2024-01-18 10:56:02 +01:00
Héctor Ramón Jiménez
5fc49edc55
Make compatible_window mandatory in Compositor 2024-01-18 10:06:30 +01:00
Héctor Ramón Jiménez
8bf2386972
Remove Compositor window generic
And update `glyphon` and `window_clipboard`
2024-01-18 09:55:27 +01:00
Ian Douglas Scott
7289b6091b WIP raw-window-handle 0.6 2024-01-16 21:34:38 -08:00
Héctor Ramón Jiménez
b152ecda63
Separate Compositor::new from Compositor::create_renderer 2023-12-02 20:49:47 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support 2023-11-29 22:28:31 +01:00
Bingus
781ef1f94c
Added support for custom shader widget for iced_wgpu backend. 2023-11-14 11:31:44 +01: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
b8e5693a30
Merge branch 'master' into explicit-text-caching 2023-09-10 00:34:21 +02:00
Héctor Ramón Jiménez
9b9b37e6f8
Fix adapter selection loop in iced_wgpu 2023-09-03 01:14:22 +02:00
Héctor Ramón Jiménez
0b28080d3e
Remove redundant into_iter call in iced_wgpu 2023-09-03 01:05:17 +02:00
Héctor Ramón Jiménez
020fb3c377
Fix iced_wgpu device selection on Wasm 2023-09-03 01:04:23 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree 2023-08-30 04:31:21 +02:00
Bingus
d53ccc857d
refactored window storage;
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Héctor Ramón Jiménez
0ae1baa37b
Introduce custom backend-specific primitives 2023-06-29 07:18:20 +02:00
Héctor Ramón Jiménez
5b6e205e99
Simplify offscreen API as color module in iced_wgpu 2023-06-27 20:26:13 +02:00
Bingus
233196eb14
Added offscreen rendering support for wgpu & tiny-skia exposed with the window::screenshot command. 2023-06-06 15:37:30 +02:00
Héctor Ramón Jiménez
faa7627ea4
Introduce web-colors feature flag to enable sRGB linear blending
This is how browsers perform color management. They treat
gamma-corrected sRGB colors as if they were linear RGB.

Correctness aside, this mode is introduced for legacy reasons. Most
UI/UX tooling uses this color management as well, and many have created
an intuition about how color should behave from interacting with a
browser.

This feature flag should facilitate application development with `iced`
in those cases.

More details: https://webcolorisstillbroken.com/
2023-05-31 21:31:58 +02:00
Héctor Ramón Jiménez
8e8808f0e1
Merge branch 'master' into advanced-text 2023-05-02 06:40:48 +02:00