Commit graph

64 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
b277625546
Revert "Chore: Apply clippy map transformations"
This reverts commit c997aad85d.
2023-09-20 16:26:43 +02:00
Héctor Ramón Jiménez
f8f1a86344
Fix clippy::manual_let_else 2023-09-20 05:30:08 +02:00
Héctor Ramón Jiménez
42ed90bc6f
Fix clippy::default_trait_access 2023-09-20 04:51:08 +02:00
Yuri Astrakhan
c997aad85d Chore: Apply clippy map transformations
Convert `.map().unwrap_or()` to `.map_or()` and similar transformations.
2023-09-19 01:46:46 -04:00
Héctor Ramón Jiménez
b8e5693a30
Merge branch 'master' into explicit-text-caching 2023-09-10 00:34:21 +02:00
Thomas
fbc9ef74c4 Change init_with_level to init in examples 2023-09-09 22:42:41 +02:00
Thomas
052fe0edae Dont use tracing-subscriber dependency on web 2023-09-09 14:15:11 +02:00
Thomas
9c2ad457d8 Add webgl feature for web examples 2023-09-09 13:59:18 +02:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
RIP Gfycat
2023-09-07 05:05:43 +02:00
Héctor Ramón Jiménez
d315e27451
Update example dependencies 2023-09-07 03:15:02 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
6cc354fdc4
Update wgpu to 0.17 2023-09-03 00:21:04 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree 2023-08-30 04:31:21 +02:00
Héctor Ramón Jiménez
733c2bd9f5
Use mouse::Cursor in integration example 2023-06-08 20:45:48 +02:00
Héctor Ramón Jiménez
aba98e4965
Extend cursor availability to the shell level 2023-06-08 20:35:40 +02:00
Héctor Ramón Jiménez
dd04c0b070
Bundle tiny-skia backend together with iced_renderer 2023-05-10 22:23:11 +02:00
Héctor Ramón Jiménez
8e8808f0e1
Merge branch 'master' into advanced-text 2023-05-02 06:40:48 +02:00
Héctor Ramón Jiménez
88d3247717
Fix build of integration example for Wasm target 2023-04-27 15:17:06 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
c0431aedd3
Update wgpu and cosmic-text 2023-04-08 04:47:05 +02:00
Héctor Ramón Jiménez
d3900e0673
Enable renderer backends in integration example 2023-03-07 06:41:41 +01:00
Héctor Ramón Jiménez
06bbcc310e
Move webgl feature selection for wgpu into iced_wgpu 2023-03-05 06:40:20 +01:00
Héctor Ramón Jiménez
99e0a71504
Rename iced_native to iced_runtime 2023-03-05 06:35:20 +01:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase 2023-03-04 05:37:11 +01:00
Héctor Ramón Jiménez
730d6a0756
Reuse a RenderPass as much as possible in iced_wgpu 2023-02-24 13:37:31 +01:00
Héctor Ramón Jiménez
b8c1809ea1
Refactor triangle::Pipeline into prepare and render architecture
And get rid of the staging belt! 🎉
2023-02-24 13:37:31 +01:00
Héctor Ramón Jiménez
baf51a8fcf
Draft glyphon implementation of text pipeline for iced_wgpu 2023-02-24 13:19:48 +01:00
Héctor Ramón Jiménez
b9a9576207
Remove iced_glow, glyph-brush, and wgpu_glyph dependencies 2023-02-24 13:17:58 +01:00
Héctor Ramón Jiménez
77a0b68aa1
Rename integration examples 2021-08-13 20:12:07 +07: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
Héctor Ramón Jiménez
f3916decf2
Fix typo in integration example 2021-08-04 18:20:25 +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
a7d2834a6d add custom error for Compositor::draw() 2021-07-22 13:08:13 -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
Dispersia
9a2c78c405 Upgrade wgpu 2021-04-11 18:55:57 -07:00
Héctor Ramón Jiménez
ae517b9fa0 Add clipboard argument to Application::update 2021-03-11 03:38:20 +01:00
Héctor Ramón Jiménez
21971e0037 Make Clipboard argument in Widget trait mutable 2021-03-10 01:59:02 +01:00
Poly
09a5348740 [wgpu 0.7] Update integration example 2021-02-03 22:38:45 +01: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
860de97b42 Update env_logger in tour and integration examples 2020-11-10 19:12:28 +01:00
Héctor Ramón Jiménez
b689778ed9 Remove redundant depth bias fields in iced_wgpu 2020-08-27 19:15:05 +02:00
Héctor Ramón Jiménez
bae0a3e46e Update wgpu in integration example 2020-08-27 14:55:41 +02:00
Héctor Ramón Jiménez
f30a666dc8 Decouple cursor_position from Cache
Instead, we ask explicitly for it in the different `update` and `draw` methods.
This way, the runtime can derive the logical position of the cursor from
the source of truth.
2020-06-23 06:44:34 +02:00
Sebastian Zivota
c3643eaf6d Add step member to slider widgets
Both the native and the web slider now have a member `step` to control
the least possible change of the slider's value. It defaults to 1.0
for all sliders and can be adjusted with the step method.
2020-06-11 00:18:24 +02:00
Héctor Ramón Jiménez
49dbf2c146 Request a redraw only on relevant events 2020-06-09 15:45:57 +02:00
Duncan Freeman
4960a8827e
Add on_release message to Slider (#378)
* Add on_finish callback to Slider

* Fix formatting

* Rename Slider's on_finish to on_release, make the message simply an event without data

* Satisfy Clone impl requirement on Message in integration test

* Only call on_release after dragging a slider
2020-06-08 11:07:45 +02:00
Richard
40750d9b36
Removed empty bind group from integration example (#390) 2020-06-08 11:03:34 +02:00
Héctor Ramón Jiménez
fd3801ed38 Clear frames explicitly in integration example 2020-06-05 15:05:30 +02:00
hatoo
969de1d31c Add a comment of how to clear the display to integration example 2020-06-03 22:01:28 +09:00
Cedric Hutchings
d5b9dee2fd
Attempt to appease rustfmt 2020-06-02 16:48:55 -04:00