Commit graph

39 commits

Author SHA1 Message Date
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
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
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
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
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
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
Héctor Ramón Jiménez
49dbf2c146 Request a redraw only on relevant events 2020-06-09 15:45:57 +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
Cedric Hutchings
99eda093d6
Prevent gratuitous resizing in integration example
If I didn't miss anything, that `resized` variable is never set back to `false`, meaning that swapchain recreation is retriggered every frame after the first resize.
2020-06-02 16:40:46 -04:00
Héctor Ramón Jiménez
d54f17c6aa Simplify integration example with Program 2020-05-21 04:57:00 +02:00
Héctor Ramón Jiménez
a1a5fcfd46 Refactor Viewport and Compositor 2020-05-20 20:28:35 +02:00
Héctor Ramón Jiménez
05af8d00d4 Draft new iced_graphics crate 🎉 2020-05-19 17:15:44 +02:00
Héctor Ramón Jiménez
98bc8cf2a7 Rename MouseCursor to mouse::Interaction 2020-04-30 08:16:38 +02:00
Héctor Ramón Jiménez
59403b6ca8 Remove OutOfBounds variant from MouseCursor 2020-04-29 03:11:15 +02:00
Héctor Ramón Jiménez
d807ef367e Update wgpu to 0.5 in iced_wgpu 🎉 2020-04-07 05:48:21 +02:00
Héctor Ramón Jiménez
e23e93218c Convert WindowEvent from a reference in iced_winit 2020-03-27 22:06:20 +01:00
Héctor Ramón Jiménez
aac7ad3e14 Update winit to 0.22 2020-03-09 22:35:25 +01:00
Héctor Ramón Jiménez
be14aca075 Make output format of iced_wgpu configurable 2020-02-24 20:08:40 +01:00
Héctor Ramón Jiménez
4d7979aa77 Add integration example
It showcases how to integrate iced in an existing graphical application.
2020-02-09 05:32:56 +01:00