105 Commits

Author SHA1 Message Date
Maximilian Ammann
8af27b29cf Fix web compilation issues 2022-10-30 22:10:08 +01:00
Maximilian Ammann
8645a506ea Fix compilation issues 2022-10-30 21:09:02 +01:00
Maximilian Ammann
6b1fa188c2 Address some FIXMEs 2022-10-30 20:59:17 +01:00
Maximilian Ammann
92301d005e Add documentation 2022-10-30 20:42:08 +01:00
Maximilian Ammann
58c852f096 Fix imports 2022-10-30 19:57:42 +01:00
Maximilian Ammann
e0f414e804 Fix imports 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
Maximilian Ammann
6fab04c70f Fix moving the map and resizing 2022-10-30 18:38:49 +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
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
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
Maximilian Ammann
cc5bb38e46 Fix headless rendering 2022-09-24 17:42:17 +02:00
Maximilian Ammann
8c7a1f32d0 Fix compilation 2022-09-24 16:58:53 +02:00
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