stevenarella/src
ice_iix fa2e5e8bdb chunk_builder: single-threaded on wasm (#458)
Refactor the chunk builder to use multithreading on native, but no threads on
wasm, at least until we have web workers or wasm threads. With this change
and the shader fix, chunks now render on Chrome (albeit with no textures).
Another step towards 🕸️ Web support #446.

* Single-threaded chunk builder

* shaders: chunk_frag: consistently enable outputs, fixes GL_INVALID_OPERATION on WebGL
2021-01-07 17:26:58 -08:00
..
console Add missing default implementations (new_without_default) 2020-06-29 18:42:07 -07:00
ecs Use add(x) instead of offset(x as isize), fixes ptr_offset_with_cast 2020-06-30 18:56:08 -07:00
entity Update to Rust 1.49.0 (#457) 2020-12-31 09:51:46 -08:00
gl WebGL fixes after disabling threaded chunk builder (#451) 2020-12-31 14:35:30 -08:00
model Use `matches!` for bool match (clippy match_like_matches_macro) 2020-10-10 16:22:46 -07:00
render chunk_builder: single-threaded on wasm (#458) 2021-01-07 17:26:58 -08:00
screen Update rand to 0.8.0, add getrandom js for web (#450) 2020-12-27 16:14:11 -08:00
server 1.16.2+: fix Respawn dimension field, closes #452 2020-12-27 18:13:51 -08:00
ui Use instant over std::time, for wasm compat (#449) 2020-12-27 15:06:03 -08:00
world Update to Rust 1.49.0 (#457) 2020-12-31 09:51:46 -08:00
auth.rs Update to use crate:: for current crate, for Rust 2018 edition 2018-11-04 12:06:00 -08:00
chunk_builder.rs chunk_builder: single-threaded on wasm (#458) 2021-01-07 17:26:58 -08:00
main.rs wasm: enable events loop (#459) 2021-01-04 10:14:55 -08:00
resources.rs Use more descriptive name to fix blacklisted_name 'bar' (as in foobar) 2020-07-02 17:17:51 -07:00
settings.rs Use web-sys for web backend (#444) 2020-12-26 13:43:21 -08:00