19 Commits

Author SHA1 Message Date
Max Ammann
5146e6a36d
Fix WASM loading (#320)
* Rename send to send_back and remove use of Promise

* Fix bug where wasm loading fails

* Bump memory for multi threading
2024-11-07 00:56:45 +01:00
Max Ammann
151ee9fb77
Improve and fix http cache & add offscreen kernel config (#307)
* Switch HTTP cache crate

* Set compiler on linux

* Start work on offscreen kernel sharing

* Finish basic config sharing mechanism on web and native; not really used on web so far though
2024-07-23 16:08:57 +02:00
Max Ammann
9d075527c6
Update npm packages (#290)
* Updated dependencies
* Removed watch mode because of esbuild update
* Set spectorjs to fixed version because of https://github.com/BabylonJS/Spector.js/issues/286
2023-10-06 12:44:43 +02:00
Max Ammann
63da707210
Introduce Plugin API along with Raster Tiles (#253)
* Implement basic raster rendering

* Fix web builds for raster rendering (e.g. APC)

* Implement plugin system using a "Tile Component System" pattern heavily inspired by bevy

* Remove tile_repository and integrate into world structures

* Migrate from specific stages to systems

* Introduce a RasterPlugin and VectorPlugin

* Add feature gate for headless rendering to demo

* Remove pipelines for simplicity

* Add message tags using Labels

* Add run config

* Add show bash path for Windows CI

* Do not use symlinks for cargo binstall

* Introduce DebugPlugin

* Introduce HeadlessPlugin

* Add more layers to vector processing benchmark

---------

Co-authored-by: Quillasp <soulaymane.lamrani@heig-vd.ch>
Co-authored-by: Antoine Drabble <antoine.drabble@gmail.com>
2023-02-18 12:56:56 +01:00
Max Ammann
9496ef0e71
Fix regressions: Transferable flatbuffers (#221)
* Add geometry index again

* Switch to info level for run config

* Add setting for present_mode

* Remove unused file

* Adjust web to new message

* Update package-lock.json

* One of the first working versions with a large buffer

* Add features to fix builds

* Switch to flatbuffers for data passing

* Cleanup and move entries to wasm_entries

* Install protobuf and flatbuffers

* Fix windows CI

* Fix clippy errors and warnings for generated code
2022-12-11 21:11:49 +01:00
Max Ammann
1444ae7782
Clippy fixes (#197)
* Apply clippy fixes

* Use nightly for android

* Use nightly for web

* Fix feature usage

* Deny unused imports

* Add ios and web fixup

* Exit with non-zero exit code

* Add no_pendantic_os_check cfg flag
2022-11-05 13:29:11 +01:00
Maximilian Ammann
8af27b29cf Fix web compilation issues 2022-10-30 22:10:08 +01:00
Maximilian Ammann
1ea049f995 Propagate errors 2022-10-30 19:55:31 +01:00
Maximilian Ammann
5e3a74d11e Switch to TS config for webpack 2022-09-24 17:17:13 +02:00
Max Ammann
d74d1de977 Add comment 2022-09-18 14:22:33 +02:00
Maximilian Ammann
6dd67e8906 Make multithreading named consistantly 2022-09-18 11:53:08 +02:00
Maximilian Ammann
dd6c7481e2 Restructure web module to include JS code for multithreaded and non-multithreaded 2022-09-18 11:42:55 +02:00
Maximilian Ammann
f675192442 Do not build std lib by default 2022-09-17 21:28:52 +02:00
Maximilian Ammann
156e63daf4 Add conditional compilation 2022-09-08 20:17:09 +02:00
Maximilian Ammann
1f3423a70c Prepare JS lib 2022-09-08 18:08:47 +02:00
Maximilian Ammann
5b5be8ab40 Use custom profile and remove wasm-pack 2022-09-08 16:18:12 +02:00
Maximilian Ammann
2b7616918d Avoid exiting process 2022-09-08 14:17:18 +02:00
Max Ammann
0b9404a518
Add watch functionality for web (#169) 2022-09-08 11:08:32 +02:00
Maximilian Ammann
6630fcda7b Add esbuild support 2022-04-26 11:40:54 +02:00