Commit graph

65 commits

Author SHA1 Message Date
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
Billy Messenger
e5010b8ab8 redo custom error for Compositor::draw() 2021-07-22 13:23:36 -05:00
Billy Messenger
a7d2834a6d add custom error for Compositor::draw() 2021-07-22 13:08:13 -05:00
Billy Messenger
191288771f only panic when wgpu gives OutOfMemory swapchain error 2021-07-22 12:38:56 -05:00
Billy Messenger
e822f654e4 Merge branch 'master' of https://github.com/hecrj/iced into wgpu_outdatedframe 2021-07-22 12:37:39 -05:00
Aaron Housh
ae484429d3 Merge branch 'hecrj:master' into upgrade-wgpu 2021-05-19 07:14:26 -07:00
Héctor Ramón
3840b75bea Provide compatible_surface in iced_wgpu::Compositor 2021-05-05 14:33:30 +07:00
Dispersia
9a2c78c405 Upgrade wgpu 2021-04-11 18:55:57 -07:00
Héctor Ramón Jiménez
883c7e71ae Introduce internal_backend to iced_wgpu::Settings 2021-03-25 11:29:40 +01:00
Downtime
ab8dcf91bd Support choosing wgpu backend using env var 2021-03-25 11:29:26 +01:00
Héctor Ramón Jiménez
ffdf87fbe2 Use lowercase in wgpu labels for consistency 2021-02-06 15:39:06 +01:00
Poly
b0d1be69d6 Change PowerPreference from default() to LowPower
There is no reason to hide the fact that this is always in `LowPower` mode
2021-02-03 23:50:03 +01:00
Poly
98d108d2b7 [wgpu 0.7] Update window/compositor.rs
Notes:
- wgpu::PowerPreference::Default no longer exists, maybe there is another way to replicate its behavior.
2021-02-03 19:32:30 +01:00
Billy Messenger
1c06920158 remove unused code 2020-12-16 10:10:40 -06:00
Billy Messenger
4e391013c8 don't panic when swapchain frame is outdated 2020-12-16 10:03:51 -06:00
Héctor Ramón Jiménez
01322f69a4 Use recently stabilized intra-doc links
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
0f00d14297 Add present_mode field to iced_wgpu::Settings 2020-11-23 00:00:13 +01:00
Héctor Ramón Jiménez
c1f79b40cf Make Application and Sandbox return a Result 2020-09-08 00:44:59 +02:00
Héctor Ramón Jiménez
44118263b5 Add labels to iced_wgpu internals 2020-08-31 14:41:41 +02:00
Héctor Ramón Jiménez
67d90e3946 Update wgpu to 0.6 in iced_wgpu 2020-08-27 13:03:42 +02:00
Héctor Ramón Jiménez
4c0286e8ac Add background_color to Application and Sandbox 2020-06-12 22:12:15 +02:00
Héctor Ramón Jiménez
b96d87ff69 Revert "Merge pull request #371 from myfreeweb/window-alpha"
This reverts commit 2ba9598f80, reversing
changes made to d34f8e06c8.
2020-06-01 22:07:29 +02:00
Greg V
a65d6a11cb Add custom window background/clear color (incl. transparency) support, fixes #272
wgpu would currently ignore the alpha: https://github.com/gfx-rs/wgpu/issues/687

glow (and naively patched wgpu) requires premultiplied alpha, so if you don't
multiply the RGB by the A right now, the semi-transparent color would be wrong
(too bright).

winit with_transparent doesn't seem necessary.
2020-06-01 21:31:19 +03:00