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
Héctor Ramón Jiménez
cc20baad6f
Use find(..) instead of filter(..).next()
2023-04-21 21:46:02 +02:00
Héctor Ramón Jiménez
3f0c226b74
Use point-free notation
2023-04-21 21:36:30 +02:00
David Huculak
8122904ca4
wgpu 0.16
2023-04-20 21:28:47 -04:00
Héctor Ramón Jiménez
619ba9294d
Merge branch 'advanced-text' into incremental-rendering
2023-04-17 23:46:18 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text
2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
b677345ac1
Get surface capabilities only once in iced_wgpu
2023-04-13 05:42:56 +02:00
Elham Aryanpur
d5453c62e9
Update wgpu to 0.15
2023-04-13 05:40:23 +02:00
Héctor Ramón Jiménez
1872f7fa6d
Use *_from_env helpers from wgpu in iced_wgpu
2023-04-08 06:14:25 +02:00
Héctor Ramón Jiménez
c0431aedd3
Update wgpu and cosmic-text
2023-04-08 04:47:05 +02:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase
2023-03-04 05:37:11 +01:00
Héctor Ramón Jiménez
535d7a4d57
Implement basic presentation with softbuffer for iced_tiny_skia
2023-02-25 16:05:42 +01:00
Héctor Ramón Jiménez
5100b5d0a1
Introduce iced_renderer subcrate featuring runtime renderer fallback
2023-02-24 23:24:48 +01:00
Héctor Ramón Jiménez
730d6a0756
Reuse a RenderPass as much as possible in iced_wgpu
2023-02-24 13:37:31 +01:00
Héctor Ramón Jiménez
b8c1809ea1
Refactor triangle::Pipeline into prepare and render architecture
...
And get rid of the staging belt! 🎉
2023-02-24 13:37:31 +01:00
Héctor Ramón Jiménez
baf51a8fcf
Draft glyphon implementation of text pipeline for iced_wgpu
2023-02-24 13:19:48 +01:00
Héctor Ramón Jiménez
bea5882c58
Remove inconsistent wgpu imports
2022-11-01 19:20:27 +01:00
Wyatt Herkamp
0a12590b6f
Update wgpu to 0.14 and wgpu_glyph to 0.18
2022-11-01 19:20:23 +01:00
Poly
15f794b7a8
Address Clippy lints
2022-07-09 17:07:38 +02:00
Héctor Ramón Jiménez
fa55dff61d
Merge branch 'master' into theming
2022-07-08 19:31:45 +02:00
Héctor Ramón Jiménez
9adc20922d
Replace name abbreviation in iced_wgpu
2022-07-03 15:48:32 +02:00
Héctor Ramón Jiménez
3d38d0af91
Simplify format selection in iced_wgpu
2022-07-03 15:30:04 +02:00
Cupnfish
c148557cab
update wgpu to 0.13
2022-07-02 15:39:42 +08:00
Héctor Ramón Jiménez
33653b7667
Try Limits::default in iced_wgpu before downlevel_defaults
2022-05-31 04:17:52 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Richard
005e516b5e
Rename get_information to fetch_information
2022-04-27 15:42:53 -03:00
Richard
984d1f375e
Move compositor module access from window to crate
2022-04-27 15:25:16 -03:00
Richard
5be1ac18fe
Rename GraphicsInformation to Information
2022-04-26 19:09:09 -03:00
Richard
7a13928130
Enumerate adapters based on log level
2022-04-26 19:02:31 -03:00
Richard
83fec2f5f6
Implement GraphicsInformation for iced_wgpu
2022-04-26 18:58:19 -03:00
Richard
764b424dfc
Add logging to window and context creation
2022-04-26 18:54:01 -03:00