Héctor Ramón Jiménez
3a0c503db9
Implement Widget::draw for Text
2021-10-14 17:00:38 +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
Mateusz Czapliński
0621da37a5
Downgrade bitmask in iced_wgpu for consistency with iced_core
2021-09-30 21:02:46 +02:00
Héctor Ramón Jiménez
2cc7e0a449
Fix Operation::perform in image::raster
...
Flipping diagonally isn't the same as flipping each axis individually 😅
2021-09-30 16:51:42 +07:00
Héctor Ramón Jiménez
60070eef27
Remove absolute module path leftovers in image::raster
2021-09-30 16:20:04 +07:00
Héctor Ramón Jiménez
21d138aa28
Refactor Orientation into Operation in image::raster
2021-09-30 16:15:15 +07:00
Héctor Ramón Jiménez
4fd2e1a57d
Remove TODO in Cargo.toml of iced_wgpu
2021-09-30 14:35:39 +07:00
Héctor Ramón Jiménez
86d6d53cfa
Remove unnecessary absolute module paths in image::raster
2021-09-30 14:35:10 +07:00
Héctor Ramón Jiménez
03fee3106f
Introduce Orientation enum in image::raster
2021-09-30 14:24:23 +07:00
Mateusz Czapliński
82e3e316dd
Honor Exif orientation in iced_wgpu::Image
2021-09-30 00:28:56 +02:00
Héctor Ramón Jiménez
73f2881568
Update resvg to 0.18 in iced_wgpu
2021-09-27 14:23:22 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module
2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
c914b2a05b
Use Iterator::min_by instead of fold in hit_test
2021-09-15 15:08:35 +07:00
Héctor Ramón Jiménez
643500bbdf
Use Option to encode empty text case in hit test methods
2021-09-15 14:49:13 +07:00
Héctor Ramón
6821114cae
Merge pull request #670 from twitchyliquid64/text_backend
...
Refactor textual hit testing into a `renderer::Backend` method
2021-08-26 14:53:15 +07:00
Héctor Ramón Jiménez
7614127d36
Rename HitTestResult to Hit
...
... and also move it to a new `text` module in `iced_core`
2021-08-26 14:41:33 +07: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
Tom
aa63841e2c
Implement textual hit testing
2021-08-21 10:31:26 -07:00
Héctor Ramón Jiménez
fe0de182c5
Remove SwapChain associated type from Compositor
2021-08-20 20:32:04 +07:00
Poly
8a7c91bcb2
Update wgpu_glyph
2021-08-19 17:13:08 +02: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
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