35 Commits

Author SHA1 Message Date
80f07dfa29 Upgraded all dependencies to latest. 2022-11-20 11:17:09 +00:00
2ded22afd7 Heavily revised zsw-profiles to not use the services / resources traits, as well as no external locking. 2022-11-20 10:23:33 +00:00
95a9a647b7 Heavily revised zsw-playlist to not use the services / resources traits, as well as no external locking. 2022-11-20 09:43:39 +00:00
899f6d9880 Renamed Playlist service to PlaylistService. 2022-11-20 07:37:20 +00:00
873187de65 Moved egui painter resource to mutable resources and passed it by mutable ref. 2022-07-27 21:32:08 +01:00
8b586614eb Egui paint jobs now go over a channel. 2022-07-27 20:45:38 +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
53ed90f104
Renamed ResourcesLock to Resources.
Renamed `ServicesContains` to `Services`.
2022-04-06 13:33:18 +01:00
c976231b82
Separated Egui's paint jobs resources from the service.
Separated `FetchUpdateLock` into `FetchUpdate` wrapper.
Made `CondvarFuture` public.
`Egui` now explicitly holds the waker for the paint jobs.
2022-04-06 13:30:15 +01:00
b56848a077
Separated Egui's platform and render pass resources from the service. 2022-04-06 13:29:13 +01:00
51860df883
Separated Wgpu's surface resource from the service. 2022-04-06 12:47:17 +01:00
0e31a21e5b
Separated Profiles's resource from the service. 2022-04-06 12:39:23 +01:00
8d0e7d7f40
Separated Playlist's resource from the service. 2022-04-06 12:32:32 +01:00
5ba54bd17d
Created ResourcesBundle trait to pass around resources from the various services.
Separated `Panels`'s resource from the service.
Services and resources are now created in `app`.
2022-04-06 11:52:18 +01:00
c45a0f55f7
SettingsWindow's inner is now stored on the service itself.
Improved `event_handler`'s handling of events, by no longer queued a window open if the window is already open.
Fixed issue where binary wouldn't build without `tokio/tracing`.
2022-04-05 07:08:16 +01:00
816ed7e88d
Removed time measuring for simplicity. 2022-04-05 06:37:06 +01:00
d0053fc0d9
Removed ServicesBundle from all bounds. 2022-04-05 06:01:08 +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
ad2663388a Added panel parallax exponentiation. 2022-02-18 19:37:41 +00:00
ed47d06960 Added Input to manage user input. 2022-02-18 01:28:12 +00:00
a8f8ca1131 Added rudimentary frame timings gui. 2022-02-17 20:57:07 +00:00
74e1277f58 Moved paint jobs to Egui.
Removed lock trees from `app::run`.
Added `FetchUpdateLock`.
2022-02-17 20:19:25 +00:00
b269deaec4 Added cursor parallax. 2022-02-17 14:38:41 +00:00
aeffece5c7 Started work on adding mouse parallax.
Added local profile to test.
2022-02-17 14:05:56 +00:00
97dfd24e75 Now using futures's Mutex. 2022-02-16 06:38:46 +00:00
7b2e0cccb3 Replaced all "Locking" doc comments with Blocking. 2022-02-16 02:08:05 +00:00
68733c9e25 Replaced Profiles::for_each with Profiles::profiles. 2022-02-16 02:01:39 +00:00
340779eec1 Replaced Panels::for_each_mut with panels_mut.
`Panels::panels` now returns a slice of all panels state.
2022-02-16 01:55:01 +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
8540878123 Updated image to 0.24.0 2022-02-14 20:23:28 +00:00
92e4514947 Moved settings window to it's own crate. 2022-02-14 19:56:08 +00:00