Commit graph

501 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
12c1a3f829
Remove redundant widget modules in subcrates
Instead, we can define the type aliases just once in the root crate!
2022-03-09 14:10:15 +07:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉 2022-02-09 17:57:44 +07:00
Theo Robinson
4830a17d65
Fix links
Change dead links to updated ones.
Change/Convert all file links to relative links so they are branch
agnostic.
2022-02-07 23:13:25 +07:00
Héctor Ramón Jiménez
1a737b8e20
Replace Zulip links with Discord 2022-01-31 21:18:39 +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
Vladyslav Nikonov
bdca20fc4a
Experimental wgpu WebGL backend support
- Added missing `draw_cache_align_4x4` call for `brush_glyph` on wasm32 target
- Added WebGL support to `integratio_wgpu` example
- Fixed test.yml CI workflow
- Removed spir-v shader in `integration_wgpu`; Fixed formatting
- Removed redundant `BoxStream` typedef
2022-01-28 21:37:14 +07:00
Héctor Ramón Jiménez
c19b673583
Run cargo fmt 2022-01-04 16:18:51 +07:00
Poly
8dc7a32964
Bump raw-window-handle 2022-01-04 16:15:45 +07:00
Poly
d675269399
Update wgpu_glyph 2022-01-04 16:15:45 +07:00
Poly
23ef0143ed
Update wgpu 0.12 2022-01-04 16:15:44 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files 2022-01-03 11:36:13 +07:00
Héctor Ramón Jiménez
998a04645d
Use commit hash in html_logo_url 2021-12-09 15:10:38 +07:00
daladim
d72b1493e0
Added icon in docs 2021-12-09 15:05:41 +07:00
Héctor Ramón Jiménez
09d5726a26
Remove unused field in wgpu::Backend 2021-12-07 16:12:04 +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
c9ed15782c
Introduce state lifetime for style_sheet in Toggler 2021-10-31 17:48:23 +07:00
Héctor Ramón Jiménez
9a3c81f336
Introduce first-class svg module in iced_native 2021-10-31 16:24:31 +07:00
Héctor Ramón Jiménez
c4186a71b7
Introduce first-class image module in iced_native 2021-10-31 16:20:50 +07:00
Héctor Ramón Jiménez
b3a01973c6
Introduce first-class text module in iced_native 2021-10-31 16:14:38 +07:00
Héctor Ramón Jiménez
0aafcde0ef
Remove widget module re-exports in iced_native 2021-10-31 16:14:34 +07:00
Héctor Ramón Jiménez
f625797392
Implement Widget::draw for Rule 2021-10-28 18:05:26 +07:00
Héctor Ramón Jiménez
e42e1e2f57
Implement Widget::draw for ProgressBar 2021-10-28 18:04:27 +07:00
Héctor Ramón Jiménez
687c35e052
Avoid flushing empty layers in iced_wgpu and iced_glow 2021-10-25 16:35:34 +07:00
Héctor Ramón Jiménez
7c08c6bd13
Remove Renderer trait for Checkbox 2021-10-21 18:50:27 +07:00
Héctor Ramón Jiménez
d39ad717ed
Wire up styling to Radio in iced_native 2021-10-20 19:18:40 +07:00
Héctor Ramón Jiménez
11bcb13427
Wire up styling to Slider in iced_native 2021-10-20 15:50:42 +07:00
Héctor Ramón Jiménez
edea093350
Move Defaults from iced_graphics to iced_native 2021-10-18 15:19:04 +07:00
Paul Delafosse
3a723f6ec1 Fix blit shader constants visivility #1083 2021-10-15 12:20:46 +02:00
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
Poly
65f690b075 Update wgpu to 0.11 2021-10-13 19:40:32 +02: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