mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Add architecture diagrams
This commit is contained in:
parent
f99b9f1bc9
commit
73615783cd
@ -2,6 +2,7 @@
|
||||
|
||||
[Introduction](./introduction.md)
|
||||
[Supported Platforms](./supported-platforms.md)
|
||||
[Architecture](./architecture.md)
|
||||
|
||||
## Developer Log
|
||||
|
||||
|
||||
19
docs/src/architecture.md
Normal file
19
docs/src/architecture.md
Normal file
@ -0,0 +1,19 @@
|
||||
# Architecture
|
||||
|
||||
|
||||
## GPU Architecture
|
||||
|
||||

|
||||
|
||||
Notes:
|
||||
* wgpu is able to create an interface through which we can reach any device with a GPU.
|
||||
|
||||
## OS Architecture
|
||||
|
||||

|
||||
|
||||
Notes:
|
||||
* The ability to use shared memory or the atomic instruction set of WASM comes by enabling compilation features.
|
||||
* `threads` support here does not introduce threads like we know them from Linux. It introduces
|
||||
* [support for atomics](https://github.com/WebAssembly/threads/blob/main/proposals/threads/Overview.md) like
|
||||
specified in a working draft to WebAssembly. Threads are simulated using WebWorkers by the browser.
|
||||
4
docs/src/figures/gpu-stack.drawio.svg
Normal file
4
docs/src/figures/gpu-stack.drawio.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 13 KiB |
4
docs/src/figures/os-stack.drawio.svg
Normal file
4
docs/src/figures/os-stack.drawio.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 12 KiB |
@ -8,6 +8,10 @@
|
||||
|
||||
## WebAssembly and WebWorkers
|
||||
|
||||
Specs:
|
||||
|
||||
* [Thread/Atomics Proposal for WASM](https://webassembly.github.io/threads/core/bikeshed/#atomic-memory-instructions%E2%91%A2)
|
||||
|
||||
Projects:
|
||||
|
||||
* [Experiment with shared memory](https://github.com/Ciantic/rust-shared-wasm-experiments) and [the idea behind it](https://github.com/rustwasm/wasm-bindgen/issues/2225)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user