Week 2: End-to-End Discovery
Summary
Date: 2020-03-22 to 2020-03-28
-
Limitations discovered around:
winitevent loop and WASM event loop requirements.- Web worker threading requirements.
- Audio loading requirements.
- Texture loading requirements.
-
Assets load from HTTP source using XHRs.
| Repository | Commit Range |
|---|---|
pong_wasm | 3bcf94de^..de355df6 |
amethyst | 65a1e27a^..1d491d18 |
rendy | e1e03fee^..4de9ca2a |
winit (fork) | 8595aec7^..9827b34a |
gfx-rs (fork) | a9a4419d^..672f551a |
web_worker | 892abf29^..2b78b6ca |
End Result

Implementation
-
Clean up
web_workerrepository.- Move
jojolepro/web_workertoamethyst/web_worker - Allow constructing thread pool without JavaScript (workers still need
worker.jsto run).
- Move
-
Get dispatcher to execute serially –
"no-parallel". (amethyst#2177, amethyst#2189, amethyst#2191) -
Assets load from server via
XmlHttpRequests. (amethyst#2180)- Loading texture assets into GL backend. (amethyst#2174)
-
Get GL to render correctly. (amethyst#2198)
-
Update
pong_wasmto run. (pong_wasm#3bcf94d)