Commit graph

430 commits

Author SHA1 Message Date
Héctor Ramón
4cbc345245 Use FilterMode::Nearest in triangle::msaa 2021-05-21 20:34:08 +07:00
Héctor Ramón
ebec84ea7c Revert "Remove padding from triangle"
This reverts commit 2d549d806c.
2021-05-21 20:29:17 +07:00
Dispersia
0772310c4f Fix duplicating fragment position 2021-05-20 23:10:22 -07:00
Dispersia
a70715ad9e run format 2021-05-19 22:07:27 -07:00
Dispersia
2d549d806c Remove padding from triangle 2021-05-19 21:09:19 -07:00
Dispersia
b40c441646 Add padding to quad to fix alignment issue 2021-05-19 21:04:47 -07:00
Dispersia
d91422e345 temporary up 2021-05-19 08:09:03 -07:00
Aaron Housh
ae484429d3 Merge branch 'hecrj:master' into upgrade-wgpu 2021-05-19 07:14:26 -07:00
Héctor Ramón
cf6af4c256 Use latest wgpu releases instead of patched sources 2021-05-19 17:18:43 +07:00
Héctor Ramón
8b7452a55d Fix formatting with cargo fmt 2021-05-19 16:26:04 +07:00
Héctor Ramón
0ce6a2db21
Merge pull request #876 from Cupnfish/master
Add a primary backend that can be set
2021-05-17 19:54:28 +07:00
Downtime
88defb65ca update doc 2021-05-14 21:21:25 +08:00
Downtime
e6db439870 Add a primary backend that can be set
Add a primary backend that can be set
2021-05-13 16:46:20 +08:00
Zak
77a17cde83 This commit optimizes the function used to converg rgba pixels into bgra pixels. 2021-05-11 22:41:55 +01:00
Héctor Ramón
3840b75bea Provide compatible_surface in iced_wgpu::Compositor 2021-05-05 14:33:30 +07:00
Dispersia
983aa1b366 Run cargo fmt 2021-04-12 23:23:47 -07:00
Dispersia
0722d5e3ec add temporary fix for image wgsl 2021-04-12 23:07:58 -07:00
Dispersia
c719091c3d Add staging belt fix 2021-04-12 22:06:16 -07:00
Dispersia
9a2c78c405 Upgrade wgpu 2021-04-11 18:55:57 -07:00
Héctor Ramón Jiménez
0864e63bde Bump versions 🎉 2021-03-31 20:07:17 +02: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
81c75c1524 Change Tooltip to support Text only for now 2021-02-23 03:09:16 +01:00
Yusuf Bera Ertan
a19f89d3a6
feat(native): add Tooltip widget 2021-02-15 19:37:46 +03:00
Greg V
8f126c212b Add image format options to reduce code bloat, fixes #376 2021-02-13 15:53:24 +01:00
anunge
9e453843b2
Touch support for PaneGrid and PickList (#650)
* touch events properly parsed and converted to logical size, button working

* scrolling with a nice touch

* fixed application state level touch cursor. panel_grid is touchable now.

* format glicthes fixes

* format glitches

* tight format

* fixed pane grid

* fixing with upstream

* Remove unused `touch` module from `iced_core`

* Remove unused `crate::text` import in `iced_native`

* Remove redundant match branch in `iced_winit`

* Keep removed line break in `UserInterface::update`

* Compute `text_size` only when bounds contains cursor in `overlay::menu`

Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2021-02-12 20:52:20 +01:00
Héctor Ramón Jiménez
74b9ea520f Enable filtering in wgpu::image 2021-02-06 16:04:43 +01:00
Héctor Ramón Jiménez
7eefad34fc List color_blend first in wgpu::quad 2021-02-06 15:55:03 +01:00
Héctor Ramón Jiménez
15c4901aba Remove unnecessary line break in triangle::msaa 2021-02-06 15:39:12 +01:00
Héctor Ramón Jiménez
ffdf87fbe2 Use lowercase in wgpu labels for consistency 2021-02-06 15:39:06 +01:00
Héctor Ramón Jiménez
5fc4210270 Use the latest release of wgpu_glyph 2021-02-06 15:27:27 +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
1fb60c5dcb Fix TextureViewDimension for image
wgpu validation helped to find this long standing type error
2021-02-03 22:26:53 +01:00
Poly
bd6b8304bd Fix ScissorRect
- Breaks `TODO: Address anti-aliasing adjustments properly`
2021-02-03 21:51:11 +01:00
Poly
c5d6ddc126 [wgpu 0.7] triangle/msaa disable filtering 2021-02-03 21:13:51 +01:00
Poly
4a6db30d47 [wgpu 0.7] Update image.rs 2021-02-03 20:24:48 +01:00
Poly
e2595ac0aa [wgpu 0.7] Update triangle.rs 2021-02-03 20:06:07 +01:00
Poly
5f935c34fd [wgpu 0.7] Update triangle/msaa.rs
Notes:
- not sure if `filtering sampler` should be used, so for now it is not used
.
2021-02-03 20:05:37 +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
Poly
2d76c7165c [wgpu 0.7] Update quad.rs 2021-02-03 19:21:02 +01:00
Poly
4a727dfb8b The beginning of wgpu 0.7 update
hecrj/iced#723
2021-02-03 19:20:23 +01:00
Héctor Ramón Jiménez
a7bb7bb2ea Implement split highlight on hover for PaneGrid 2021-01-01 15:28:38 +01:00
Greg V
81f37123ad Update resvg to 0.12 2020-12-19 01:24:40 +01:00
Héctor Ramón Jiménez
f78108a514 Bump versions 🎉 2020-11-26 16:47:41 +01:00
Héctor Ramón Jiménez
7de72d6a27 Update READMEs of subcrates 2020-11-26 07:40:00 +01:00
Héctor Ramón Jiménez
11798dcc03 Update graphs in crate docs 2020-11-26 07:22:03 +01: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
8f081bad77
Merge pull request #629 from hecrj/wgpu-present-mode-setting
Add `present_mode` field to `iced_wgpu::Settings`
2020-11-24 00:17:59 +01:00
Héctor Ramón Jiménez
1916755b6b Limit border radius to max dimension in quad pipeline 2020-11-23 00:43:59 +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