107 Commits

Author SHA1 Message Date
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
Maximilian Ammann
fe3fc91611 Add unsafe 2022-09-18 12:34:29 +02:00
Maximilian Ammann
1edd31b9a6 Mark functions unsafe 2022-09-18 12:23:42 +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
12bb06a86e Add a lot of TODO notes 2022-09-17 14:46:35 +02:00
Maximilian Ammann
76bf7a6ecf Run formatter 2022-09-17 13:50:08 +02:00
Maximilian Ammann
c7f7408a10 Fix multithreading in web 2022-09-15 18:21:01 +02:00
Maximilian Ammann
851a02cd69 Remove maximum memory limits 2022-09-15 16:57:32 +02:00
Maximilian Ammann
b6a4a8a66e Remove unused 2022-09-15 16:55:09 +02:00
Maximilian Ammann
fb250e0d28 Remove a Box<> 2022-09-15 16:25:18 +02:00
Maximilian Ammann
7dc7346597 Add first working version which does not need shared memory on web 2022-09-15 09:46:17 +02:00
Maximilian Ammann
dc7a6ff7ef Add experiment for unsync scheduling 2022-09-10 11:12:42 +02:00
Maximilian Ammann
156e63daf4 Add conditional compilation 2022-09-08 20:17:09 +02:00
Maximilian Ammann
2f4c05f2b4 Fix compilation 2022-09-08 20:17:00 +02:00
Maximilian Ammann
e06d122dbb Conditionally enable multithreaded implementation 2022-09-08 19:42:38 +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
Maximilian Ammann
2c9f1d9be6 Experiment with single threaded executor 2022-09-08 11:16:55 +02:00
Max Ammann
7783493f09
Schedule on random WebWorkers instead of spawning new ones as needed (#80) 2022-09-08 11:14:04 +02:00
Max Ammann
0b9404a518
Add watch functionality for web (#169) 2022-09-08 11:08:32 +02:00
Max Ammann
1e438056df
Upgrade wgpu (#162)
* Upgrade wgpu

* Fix dependency issues

* Upgrade wgpu and fix specific version of web-sys

* Use latest wasm-bindgen-cli
2022-09-07 18:08:48 +02:00
Max Ammann
6aa0557c90
Configure rustfmt (#145)
* Configure rustfmt

* Apply new formatting rules
2022-07-17 16:14:29 +02:00
Birk Skyum
99a74d35df
Update deps with cargo upgrade (#152)
* Update deps with cargo upgrade

* Keep tracy versions aligned
2022-07-08 18:20:47 +02:00
Max Ammann
1c46a77ce0
Improve headless feature structure (#128)
* Collect headless related stuff under feature flag

* Run clippy
2022-06-04 10:53:54 +02:00
Maximilian Ammann
873e351890 Fix tests for various platforms 2022-06-01 18:05:38 +02:00
Maximilian Ammann
005dca064e Revive old legacy webworker example 2022-05-31 21:55:20 +02:00
Maximilian Ammann
79a4f6d195 Fix web 2022-05-31 21:15:55 +02:00
Maximilian Ammann
ae36e4f7d4 Rename HttpClient 2022-05-31 21:14:46 +02:00
Yaroslav Biletskyi
980d2f406a
Update @chialab/esbuild-plugin-meta-url (#113)
Co-authored-by: Max Ammann <max@maxammann.org>
2022-05-25 18:31:38 +00:00
Max Ammann
916af61abc
Add Render Graph from Bevy (#93)
* Add render graph from bevy with graph runner

* Add surface

* Continue to refactor renderer

* Make ScheduleMethod object safe in order to be able to have a dyn object in MapContext

* Cleanup, add some more documentation and simplify

Support resizing

Fix late init

* Update apple docs

* Give bevy attribution

* Pass github token

* Improve some comments
2022-05-23 16:53:51 +02:00
Drabble
c3edea26e5
Improve the Cargo documentation (#87)
* Improve the Cargo documentation

* Fix mistakes with merge on main branch

* Fix the guide book url within the API documentation

* Update the documentation on `QuadKey`
2022-05-12 13:38:10 +00:00
Max Ammann
feff3201c9
Move winit code to maplibre-winit (#86)
* Extract winit code to maplibre-winit

* Run clippy

* Fix android and apple

* Remove import

* Fix android compilation

* Fix android

* Update dependencies

* Fix android

* Fix android

* Add map window config

* Fix feature flag

* Add title to config

* Remove unused export

* Fix for android
2022-05-10 08:58:45 +02:00
Max Ammann
bac7ffb8c1
Move platform specific code to web (#63)
* Add a view state for input processing

* Move platform specific web code to web crate

* Run clippy

* Fix apple and android

* Move error function

* Do not enable all features

* Remove header from .h file

* Refactor to use where clauses
2022-05-02 20:29:05 +02:00
Maximilian Ammann
124376452e Patch esbuild package 2022-04-26 19:25:31 +02:00
Maximilian Ammann
5e545030c3 Update name of lib 2022-04-26 11:58:07 +02:00
Maximilian Ammann
c2561aff18 Add files setting for publishing the package 2022-04-26 11:57:14 +02:00
Maximilian Ammann
6951dd65c2 Cleanup example 2022-04-26 11:42:28 +02:00
Maximilian Ammann
514341ddd9 Allow to create a demo with CJS 2022-04-26 11:42:05 +02:00
Maximilian Ammann
0ce283f1d4 Update tsconfig 2022-04-26 11:41:46 +02:00
Maximilian Ammann
7dc17d0f52 Add iife example which does not work yet 2022-04-26 11:41:39 +02:00
Maximilian Ammann
9f51f327bc Clean dependencies 2022-04-26 11:41:20 +02:00
Maximilian Ammann
6630fcda7b Add esbuild support 2022-04-26 11:40:54 +02:00
Maximilian Ammann
5bd77ec527 Clean packages 2022-04-26 11:40:40 +02:00
Maximilian Ammann
8a1721fee6 Move example usages into documentation 2022-04-26 11:40:25 +02:00
Maximilian Ammann
69f245c205 Fix deployment 2022-04-25 21:17:50 +02:00
Maximilian Ammann
a7f87f635e Enable demo and lib to build with parcel and webpack 2022-04-25 19:24:12 +02:00