85 Commits

Author SHA1 Message Date
Maximilian Ammann
a81c818647 Fix tests 2022-09-18 12:30:00 +02:00
Maximilian Ammann
3e1c24e533 Fix formatting 2022-09-17 15:48:41 +02:00
Maximilian Ammann
aa07abb683 Merge branch 'main' into wasm-executor
# Conflicts:
#	maplibre-demo/Cargo.toml
2022-09-17 15:46:04 +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
3f1e165cda Fix tracy dependency versions 2022-09-17 13:48:35 +02:00
Maximilian Ammann
c7f7408a10 Fix multithreading in web 2022-09-15 18:21:01 +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
a66519ccca Introduce AsyncProcedureCall 2022-09-10 11:11:12 +02:00
Maximilian Ammann
f012d23b7e Remove ScheduleMethod and replace with Scheduler 2022-09-09 12:46:16 +02:00
Maximilian Ammann
056cb5c995 Introduce environment 2022-09-09 12:34:06 +02:00
Maximilian Ammann
d912975b1e Disable geometry index 2022-09-08 19:42:12 +02:00
karisair
a8f704a31a
Fixes #138 - upgraded tracy-client to 0.14.* and tracing-tracy to 0.10.* (#156)
* Fixes #138 - upgraded tracy-client to 0.14.* and tracing-tracy to 0.10.* as per README

* Convert set_thread_name to a macro (set_thread_name!), to permit non-web tracing.

* Updated docs to briefly explain the connection to tracy and the appropriate crate versions.

Co-authored-by: Max Ammann <max@maxammann.org>
2022-09-08 18:17:22 +02:00
Maximilian Ammann
2c9f1d9be6 Experiment with single threaded executor 2022-09-08 11:16:55 +02:00
Max Ammann
1934555013
Add CLI to demo (#160)
* Introduce a CLI

* Fix headless rendering
2022-09-08 11:12:22 +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
Max Ammann
d1b6360360
Improve headless rendering (#143)
* Remove util module in renderer

* Implement default for ZoomLevel

* Add function to clear the bufferpool

* Calculate camera height dynamically

* Deduplicate code and add sample tile-grid

* Remove unused function
2022-07-17 16:08:38 +02:00
Max Ammann
d69f81f37f
Limit the tiles in view (#147)
* Limit the tiles in view by DEFAULT_TILE_VIEW_SIZE
2022-07-17 15:52:35 +02:00
Max Ammann
85fea15a7f
Update lyon (#153) 2022-07-15 20:59:28 +02:00
Max Ammann
a928fbd3fb
Avoid clipping in logic (#148)
* Reduce znear so the map is not cut when we tilt the camera

* Allow unbounded ground coordinate calculation

* Choose random zner and zfar values

* Move Queue to root module

Co-authored-by: Drabble <antoine.drabble@gmail.com>
2022-07-15 20:59:07 +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
Antoine Drabble
52dbca5cd1
Improve Mapbox Style support (#135)
* Add support for position, pitch and zoom in styles

* Make a struct for LatLon
2022-07-04 18:34:36 +00:00
Max Ammann
8018e76c80
Upgrade to wgpu 0.13 (#142) 2022-07-04 10:26:09 +02:00
Antoine Drabble
f0f244ee65
Fix window resizing in headed mode (#133)
* Resize the surface_config in reconfigure

* Create a resize_configure function for window
2022-06-20 15:00:38 +02:00
Jackson Shi
70cf25e0c1
Fix feature flag (#131)
* rm sqlite

* rm sqlite install

* update build dependencies

* add feature flag

Co-authored-by: Maximilian Ammann <max@maxammann.org>
2022-06-11 11:12:05 +00:00
Jackson Shi
74ca3ae4e5
Remove sqlite feature from windows build action (#120)
* rm sqlite

* rm sqlite install

* update build dependencies

Co-authored-by: Maximilian Ammann <max@maxammann.org>
2022-06-11 11:08:07 +02:00
Max Ammann
b202dc8dd4
Enable bechmarks (#129)
* Fix benchmarks

* Add test data

* Update drivers

* No vulkan-sdk
2022-06-04 10:55:09 +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
6334e837aa Fix links 2022-06-03 13:11:36 +02:00
Maximilian Ammann
07bddd2a8c Upgrade wgpu to git 2022-06-02 15:04:06 +02:00
Maximilian Ammann
dd2b88e2db Improve render test 2022-06-02 15:03:55 +02:00
Maximilian Ammann
873e351890 Fix tests for various platforms 2022-06-01 18:05:38 +02:00
Maximilian Ammann
9c5dc1965b Add some comments and rename 2022-06-01 17:15:24 +02:00
Maximilian Ammann
a150d8776c Conditionally enable create_png 2022-06-01 14:23:18 +02:00
Maximilian Ammann
6a4f240ebb Merge branch 'main' into data-pipeline 2022-06-01 14:07:48 +02:00
Maximilian Ammann
200e16f345 Cleanup dependencies and simplify bounds 2022-06-01 13:59:12 +02:00
Yaroslav Biletskyi
05dbdac924
Struct for zoom level (#118)
* add struct for zoom level

* fix linter errors

* fix build errors

* fixed for PR comments

* Simplify stencil_reference_value, the z does not need to be taken into account

Co-authored-by: Maximilian Ammann <max@maxammann.org>
2022-06-01 13:26:58 +02:00
Maximilian Ammann
cfba8189c3 Fix resize detection 2022-06-01 12:30:09 +02:00
Maximilian Ammann
005dca064e Revive old legacy webworker example 2022-05-31 21:55:20 +02:00
Maximilian Ammann
774708a787 Remove dynamic dispatch for schedule 2022-05-31 21:45:44 +02:00
Maximilian Ammann
06cca68e8e Fix tests 2022-05-31 21:24:52 +02:00
Maximilian Ammann
f17e3a6ef2 Add comment 2022-05-31 21:15:55 +02:00
Maximilian Ammann
b80aa42fdb Simplify pipeline API 2022-05-31 21:15:55 +02:00
Maximilian Ammann
e1aceabd0b Improve pipeline types 2022-05-31 21:15:55 +02:00
Maximilian Ammann
e1706b0228 Remove mem::replace usage 2022-05-31 21:15:55 +02:00
Maximilian Ammann
79a4f6d195 Fix web 2022-05-31 21:15:55 +02:00
Maximilian Ammann
deb442287e Refactor thread state and pipeline 2022-05-31 21:15:55 +02:00
Maximilian Ammann
c40f39a72c Refactor thread state and pipeline 2022-05-31 21:15:55 +02:00