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
Héctor Ramón Jiménez
0691ec3195
Implement async Compositor::request in iced_wgpu
2020-05-29 23:08:34 +02:00
Héctor Ramón Jiménez
ae5e2c6c73
Introduce Program and State
2020-05-21 04:27:31 +02:00
Héctor Ramón Jiménez
a1a5fcfd46
Refactor Viewport and Compositor
2020-05-20 20:28:35 +02:00
Héctor Ramón Jiménez
4aed0fa4b6
Rename window::Backend to Compositor
2020-05-19 20:01:55 +02:00
Héctor Ramón Jiménez
05af8d00d4
Draft new iced_graphics crate 🎉
2020-05-19 17:15:44 +02:00
Héctor Ramón Jiménez
d4743183d4
Draft first working version of iced_glow 🎉
2020-05-19 14:23:28 +02:00
DominosCinnaStix
cd6064fd84
set wgpu's adapter backend to PRIMARY
2020-05-14 11:55:26 -04:00
Héctor Ramón Jiménez
98bc8cf2a7
Rename MouseCursor to mouse::Interaction
2020-04-30 08:16:38 +02:00
Héctor Ramón Jiménez
d807ef367e
Update wgpu to 0.5 in iced_wgpu 🎉
2020-04-07 05:48:21 +02:00
Héctor Ramón Jiménez
be14aca075
Make output format of iced_wgpu configurable
2020-02-24 20:08:40 +01:00
Héctor Ramón Jiménez
fe61d2fd67
Request high performance adapter if MSAA is enabled
2020-02-15 10:45:45 +01:00
Héctor Ramón Jiménez
5f89fab9d7
Improve consistency in new iced_wgpu types
2020-02-09 05:31:42 +01:00
Héctor Ramón Jiménez
9a73c3a88d
Write documentation for new iced_wgpu types
2020-02-09 03:44:16 +01:00
Héctor Ramón Jiménez
8f0b59a4b2
Remove scale_factor from iced_wgpu::Viewport
2020-02-09 03:36:59 +01:00
Héctor Ramón Jiménez
f1e20a61f1
Allow iced_wgpu to render to any TextureView
2020-02-09 03:25:13 +01:00