21 Commits

Author SHA1 Message Date
80f07dfa29 Upgraded all dependencies to latest. 2022-11-20 11:17:09 +00:00
461ce33a17 Added unsafe_op_in_unsafe_fn lint manually due to cargo run not knowing about Cranky.toml. 2022-07-27 19:35:11 +01:00
6ddb6fdf42 Updated to rustc 1.64.0-nightly (38b72154d 2022-07-11).
Now using `cargo-cranky` for the lints.
2022-07-27 19:02:28 +01:00
43e8e35b20
Migrated from log to tracing. 2022-04-07 20:25:45 +01:00
51860df883
Separated Wgpu's surface resource from the service. 2022-04-06 12:47:17 +01:00
5d2ce96b54
All service runners now receive all services via a generic argument and use what they need. 2022-04-05 05:41:06 +01:00
6e69d72bee
Replaced custom "runtime" with tokio, with optional tokio-console support.
`Wgpu` now arcs the window (maybe reversible eventually once tokio supports scoped tasks).
2022-04-05 02:00:34 +01:00
3d93929134
Removed all side-effect support. 2022-04-03 12:02:10 +01:00
86e0780c7e
Split Wgpu::render into start_render and finish_render to allow async awaiting in between. 2022-04-03 11:48:21 +01:00
c7e1166db2
Wgpu::new is now async. 2022-04-03 11:31:50 +01:00
739b60f9ae Reverted image back to 0.23.14. 2022-02-17 15:09:43 +00:00
97dfd24e75 Now using futures's Mutex. 2022-02-16 06:38:46 +00:00
cd5a479ed5 Wgpu::render now doesn't return the surface size. 2022-02-16 06:01:16 +00:00
fec918c503 Updated some doc and TODO comments.
`Profiles::load` now returns a reference.
2022-02-16 05:59:02 +00:00
be4ae70578 Removed MightLock in favour of MightBlock with documentation. 2022-02-16 01:46:43 +00:00
8d596faada Updated parking lot to 0.12.0. 2022-02-15 03:07:00 +00:00
8407bbae97 Wgpu now has an async mutex. 2022-02-14 19:27:02 +00:00
f13863d4ce Egui now uses async locks.
`Lock` now accepts any guard.
`FutureRunner` now asserts it isn't called more than once.
2022-02-14 16:28:06 +00:00
f2f053df48 Made SurfaceLock a generic Lock type. 2022-02-14 15:37:03 +00:00
908da8931c Switched to external locking in Wgpu, introducing the MightLock side effect.
`side_effect` macro now supports async functions.
2022-02-14 15:21:49 +00:00
693af3a758 Moved wgpu and egui modules onto their own crates. 2022-02-14 03:51:16 +00:00