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
Héctor Ramón
a2b1ba522a
Merge pull request #914 from yusdacra/feat/expose_draw_cache_multithread
...
feat: expose draw_cache_multithread as a feature
2021-07-22 18:39:37 +07:00
Héctor Ramón Jiménez
357a8a95c9
Introduce text_multithreading to Settings
2021-07-22 18:27:33 +07:00
Héctor Ramón Jiménez
217f5be827
Add text_multithreading to Settings in iced_glow and iced_wgpu
2021-07-22 18:21:50 +07:00
Héctor Ramón
14c1e70f66
Merge pull request #952 from aentity/fix_svg_memory
...
Use ceil on svg dimensions, fix svg memory usage ref #841
2021-07-21 17:43:37 +07:00
aentity
665422e256
Use ceil on svg dimensions, fix svg memory usage
...
Calls ceil() on dimension bounds as this appears fix svg memory
unbounded usage because no longer cache miss.
The height and width return from resvg seem to always be ceiling
of float dimensions, so we try to match.
2021-07-21 02:26:53 -04:00
Héctor Ramón
b62fcca9b9
Merge pull request #915 from yusdacra/docs/update-links
...
docs: update all 0.2 github links to 0.3
2021-06-22 12:19:38 +02:00
Poly
a53e7559fe
Use vertex_attr_array macro
2021-06-22 11:23:11 +02:00
Poly
c70f90f320
Update wgpu 0.9
2021-06-22 11:23:10 +02:00
Yusuf Bera Ertan
83d19689c8
docs: update all 0.2 github links to 0.3
2021-06-14 21:01:37 +03:00
Yusuf Bera Ertan
6469e463cd
feat: expose draw_cache_multithread
2021-06-14 18:06:28 +03:00
Kaiden42
52a185fbab
Implement Toggler widget for iced_native
2021-06-03 20:21:02 +07:00
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