Commit graph

87 commits

Author SHA1 Message Date
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
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
Richard
1e62fdf069 Introduce Error::ContextCreationFailed 2022-04-20 19:57:59 -03:00
Héctor Ramón Jiménez
a53fa91e0d
Use Limits::downlevel_defaults in iced_wgpu 2022-03-07 22:32:09 +07:00
Héctor Ramón Jiménez
776724162a
Use WebGL2 limits for Compositor in iced_wgpu 2022-01-28 21:37:16 +07:00
Héctor Ramón Jiménez
9fe65ed729
Rename Renderer::present to with_primitives 2021-11-05 15:38:27 +07:00
Héctor Ramón Jiménez
e70a6be937
Merge branch 'master' into remove-renderer-traits 2021-10-31 17:52:21 +07:00
Héctor Ramón Jiménez
03b3493138
Remove trait-specific draw logic in iced_native 2021-10-14 16:07:22 +07:00
Poly
65f690b075 Update wgpu to 0.11 2021-10-13 19:40:32 +02:00
Héctor Ramón Jiménez
acc47a5953
Rename SwapChainError to SurfaceError in iced_graphics 2021-08-25 15:42:35 +07:00
Héctor Ramón Jiménez
0c7ca2b635
Rename surf variable to surface 2021-08-25 15:39:03 +07:00
Héctor Ramón Jiménez
fe0de182c5
Remove SwapChain associated type from Compositor 2021-08-20 20:32:04 +07:00
Poly
18753b77fc wgpu: Update to 0.10 2021-08-19 03:06:38 +02:00
Héctor Ramón
45778ed598
Merge pull request #667 from BillyDM/wgpu_outdatedframe
Don't panic when wgpu swapchain frame is outdated
2021-08-05 14:44:32 +07:00
Tilmann Meyer
d7975a9de5
wgpu: Use the preferred texture format of the surface
Signed-off-by: Tilmann Meyer <me@atiltedtree.dev>
2021-08-03 11:30:45 +02:00