tirbofish/dropbear · commit
607f0483d3e2a0156f8002344bf541ec88bbe25e
by far the biggest change in this repository. here are the changes:
firstly, i tried to work on WASM, but it kept bothering me that there is still no async loading (i hate when it blocks), so I decided to fix that.
firstly, i created a LazyType trait which defines a struct that can be lazy. really, its that it does CPU intensive function at the start (like in another thread), then does the graphics related stuff in another thread.
but before that, i realised that the graphics crate is non send+sync, so I have been working on using Arcs to separate between the frame changing data and the shared "clonable" data. State is still the source of truth.
i have managed to optimise it pretty well. i am curious about the LOC of code i have changed/refactored.
also "technically" i have started on gleam, but i cannot really say much.
Signature present but could not be verified.Unverified
@@ -22,4 +22,10 @@ target Cargo.lock dropbear-engine/src/resources/textures/Autism.png .vscode -docs +docs + +# gleam +*.beam +*.ez +/build +erl_crash.dump @@ -6,7 +6,9 @@ package.repository = "https://github.com/4tkbytes/dropbear-engine" package.readme = "README.md" resolver = "3" -members = ["dropbear-engine", "eucalyptus-core", "eucalyptus-editor", "redback-runtime"] +members = ["dropbear-engine", "eucalyptus-core", "eucalyptus-editor"] +# members = ["dropbear-engine", "eucalyptus-core", "eucalyptus-editor", "redback-runtime"] + [workspace.dependencies] anyhow = { version = "1.0", features = ["backtrace"] } @@ -52,6 +54,10 @@ zip = "5.1" walkdir = "2.3" wasmer = { version = "6.1.0-rc.3" } rayon = "1.11" +flate2 = "1.1" +reqwest = { version = "0.11", features = ["stream"] } +tar = "0.4" +async-trait = "0.1" gltf = "1" thiserror = "2.0" @@ -34,6 +34,8 @@ parking_lot.workspace = true lazy_static.workspace = true gltf.workspace = true
Large diffs are not rendered by default. Showing the first 50 of 5565 lines. Show full diff