895 Commits

Author SHA1 Message Date
Maximilian Ammann
e0f414e804 Fix imports 2022-10-30 19:55:31 +01:00
Maximilian Ammann
1ea049f995 Propagate errors 2022-10-30 19:55:31 +01:00
Max Ammann
5a61862008
Merge branch 'main' into refactor-structure 2022-10-30 18:46:26 +01:00
Max Ammann
ecaa696430
Deduplicate and fix CI (#189)
* Dedublicate and fix CI

* Set correct toolchain

* Install binstall quicker

* Add check for different arch
2022-10-30 18:46:05 +01:00
Maximilian Ammann
6fab04c70f Fix moving the map and resizing 2022-10-30 18:38:49 +01:00
Maximilian Ammann
7278829910 Move files within maplibre-winit directory 2022-10-30 18:32:41 +01:00
Maximilian Ammann
d8e1e6a9a8 Ignore some directories 2022-10-30 18:32:27 +01:00
Maximilian Ammann
dc3d6576bc Fix formatting 2022-10-30 18:27:26 +01:00
Max Ammann
ec1ad07164
Use DEPTH32FLOAT_STENCIL8 for metal support (#183)
* Switch to Depth32FloatStencil8 for support on metal. It seems to have better overal support.

* Update formatting

* Fix usage of wrong texture format

* Make depth format configurable

* Force install tools

* Echo path

* Change shell to msys2 for windows
2022-10-24 10:49:37 +02:00
Max Ammann
61232872b2
Merge branch 'main' into refactor-structure 2022-10-23 18:42:39 +02:00
Max Ammann
79b956ec9b
Merge pull request #181 from maxammann/upgrade-wgpu-0.14
Upgrade wgpu and fix CI
2022-10-23 17:43:51 +02:00
Max Ammann
cec73c8486 Set separate scratch path 2022-10-23 16:56:19 +02:00
Max Ammann
3bc9d8e4d2 Do not generate swift bridging headers when creating a framework. Frameworks are not compatible with frameworks. Also when creating a fat universal binary, then we would need to have multiple bridging headers (one for arm64 and one for x86) 2022-10-23 16:55:41 +02:00
Max Ammann
948ac2bace Remove all explicit deploy targets 2022-10-23 16:55:41 +02:00
Max Ammann
50e935d2ff Add missing schemes 2022-10-23 16:55:41 +02:00
Maximilian Ammann
2fed12a473 Add version output 2022-10-23 15:16:20 +02:00
Maximilian Ammann
3894a92343 Add logging output 2022-10-23 15:07:38 +02:00
Max Ammann
daac6cb04b Support homebrew and fix deployment targets 2022-10-23 14:46:51 +02:00
Max Ammann
e3d5bdedda Update swift package 2022-10-23 14:46:51 +02:00
Maximilian Ammann
a3e4c51b5e Clean .build directory on macOS 2022-10-23 14:21:09 +02:00
Maximilian Ammann
40304383d4 First install just 2022-10-23 14:01:53 +02:00
Maximilian Ammann
afab317594 Improve order for more efficient installs 2022-10-23 13:02:44 +02:00
Maximilian Ammann
d70e786b66 Fix installs 2022-10-23 12:43:50 +02:00
Maximilian Ammann
7b41971b67 Fix install 2022-10-23 12:35:28 +02:00
Maximilian Ammann
bfa07fb625 Switch to binstall for binary dependencies 2022-10-23 12:16:00 +02:00
Maximilian Ammann
1b8b3e8fde Upgrade Rust version 2022-10-23 12:03:56 +02:00
Maximilian Ammann
911b39cc68 Upgrade GitHub actions 2022-10-23 11:56:11 +02:00
Maximilian Ammann
69e404cb60 Upgrader rust version 2022-10-23 11:51:48 +02:00
Maximilian Ammann
54514b536a trigger ci 2022-10-23 11:45:38 +02:00
Maximilian Ammann
3cc065aa58 Fix formatting 2022-10-09 12:36:36 +02:00
Maximilian Ammann
a68acbdff3 Upgrade wgpu 2022-10-08 20:56:58 +02:00
Max Ammann
1461832df3
Add demos (#177)
* Add alld emos

* Update README.md
2022-09-25 20:37:11 +02:00
Maximilian Ammann
b863cef589 Fix headless rendering 2022-09-25 19:12:20 +02:00
Maximilian Ammann
c663416d05 Fix compilation in winit and demo module 2022-09-25 17:41:59 +02:00
Maximilian Ammann
c6eadbf2cc Fix compilation issues and cleanup 2022-09-25 16:25:00 +02:00
Maximilian Ammann
4879d9c0b4 Refactor headless module, introduce world 2022-09-25 13:26:35 +02:00
Maximilian Ammann
f8b38dc8f2 Fix imports, refactor builders, invert feature flag 2022-09-25 12:10:30 +02:00
Max Ammann
a6553d2193
Set cloudflare branch to main (#176) 2022-09-24 18:55:20 +02:00
Max Ammann
2696d8133b
Merge pull request #174 from maxammann/wasm-executor
* Experiment with single threaded executor

* Avoid exiting process

* Use custom profile and remove wasm-pack

* Update run configs

* Prepare JS lib

* Remove run config

* Disable geometry index

* Conditionally enable multithreaded implementation

* Add run config

* Add conditional compilation

* Introduce environment

* Remove ScheduleMethod and replace with Scheduler

* Introduce AsyncProcedureCall

* Update run config

* Add experiment for unsync scheduling

* Always import memory

* Add first working version which does not need shared memory on web

* Fix linux CI script

* Remove maximum memory limits

* Fix multithreading in web

* Fix tracy dependency versions

* Run formatter

* Add a lot of TODO notes

* Deduplicate workflow for more demos

* Fix formatting

* Selectively install targets

* Fix wasm-bindgen install

* Do not build std lib by default

* Restructure web module to include JS code for multithreaded and non-multithreaded

* Make multithreading named consistantly

* Add more jobs

* Do not rebuild std on check and test

* Mark functions unsafe

* Add runner for wasm32 again

* Fix check expression

* Finish CI setup

* Add type for the tag

* Update documentation

* Switch to TS config for webpack

* Fix android checks
2022-09-24 18:01:58 +02:00
Maximilian Ammann
f647525cc5 Fix android checks 2022-09-24 17:46:07 +02:00
Maximilian Ammann
cc5bb38e46 Fix headless rendering 2022-09-24 17:42:17 +02:00
Maximilian Ammann
694c1914be Fix type generation 2022-09-24 17:37:09 +02:00
Maximilian Ammann
d234d1da37 Fix benchmark 2022-09-24 17:22:47 +02:00
Maximilian Ammann
2bd59415ac Fix benchmark 2022-09-24 17:18:33 +02:00
Maximilian Ammann
5e3a74d11e Switch to TS config for webpack 2022-09-24 17:17:13 +02:00
Maximilian Ammann
1b30e4c8c3 Update documentation 2022-09-24 17:10:15 +02:00
Maximilian Ammann
a36067d995 Fix formatting 2022-09-24 16:59:08 +02:00
Maximilian Ammann
8c7a1f32d0 Fix compilation 2022-09-24 16:58:53 +02:00
Maximilian Ammann
61e12a8c9a Add type for the tag 2022-09-24 16:58:53 +02:00
Max Ammann
d74d1de977 Add comment 2022-09-18 14:22:33 +02:00