222 Commits

Author SHA1 Message Date
cc422a6a70 Added .prettierrc for formatting json files.
Changed example/debug profile.json
2022-07-27 18:45:04 +01:00
80e0e861db
Now logging the services and resources at the start. 2022-04-07 22:54:10 +01:00
392d817c3e
Arguments are no longer arced. 2022-04-07 22:28:36 +01:00
43e8e35b20
Migrated from log to tracing. 2022-04-07 20:25:45 +01:00
b63489bc64
Fixed rustfmt not being able to format main.rs.
This was due to the comment in between method chaining.
2022-04-07 18:11:34 +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
8d394793c2
Slightly improved Services::spawn 2022-04-06 11:14:40 +01:00
18b9804ae4
Moved window creation back to the app. 2022-04-06 10:58:08 +01:00
62fca73b33
Moved services onto their own module. 2022-04-06 10:53:47 +01:00
d853649787
Updated all locked dependencies.
`png` and `jpeg-decoder` crates are now optimized in debug builds.
2022-04-06 10:44:05 +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
21432d5c37
Removed redundannt pinning in scan_dir 2022-04-05 06:39:26 +01:00
816ed7e88d
Removed time measuring for simplicity. 2022-04-05 06:37:06 +01:00
0f5ac43193
Separated service creation and spawning onto their own functions. 2022-04-05 06:28:59 +01:00
eb8a6e9161
Added todo note on service runners 2022-04-05 06:02:03 +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
ba933975c0
Moved all services onto a single struct in app. 2022-04-05 05:04:14 +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
2dff20531c
run.sh now accepts arguments 2022-04-04 22:42:33 +01:00
0db0408954
Moved FutureRunner to it's own module. 2022-04-03 12:27:45 +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
ddcc13ed80
Egui can now return the render pass. 2022-04-03 11:36:11 +01:00
c7e1166db2
Wgpu::new is now async. 2022-04-03 11:31:50 +01:00
f875072903
Updated to rustc 1.61.0-nightly (1eb72580d 2022-03-08). 2022-03-09 17:12:00 +00:00
ad2663388a Added panel parallax exponentiation. 2022-02-18 19:37:41 +00:00
50122a3c68 Slightly revised FetchUpdateLock. 2022-02-18 15:51:53 +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
cb9881eb27 Added note about profile inheritance. 2022-02-17 15:16:17 +00:00
739b60f9ae Reverted image back to 0.23.14. 2022-02-17 15:09:43 +00:00
ccef3f515c Now managing cursor position even without direct window events. 2022-02-17 14:43:46 +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
7159f1d3ee Uvs are now calculated with a matrix. 2022-02-17 13:46:02 +00:00
c6cfb59ad0 Removed allocation in FutureRunner::run. 2022-02-16 06:40:21 +00:00
97dfd24e75 Now using futures's Mutex. 2022-02-16 06:38:46 +00:00
8f27b1e2ca Fixed some doc comments.
Removed `set_display_always_below`, as it wasn't neede anymore since we always choose the full desktop size.
2022-02-16 06:14:35 +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
7b2e0cccb3 Replaced all "Locking" doc comments with Blocking. 2022-02-16 02:08:05 +00:00
a51a5e745f Fixed documentation of Playlist::lock_ playlist. 2022-02-16 02:02:29 +00:00