19 Commits

Author SHA1 Message Date
Max Ammann
fec6a408ee
Update Rust for CI and IDEs (#207)
* Upgrade toolchain to 1.65

* Set minimum Rust version

* Cargo workspaces

* Set version manually

* Set a specific rust version so we an upgrade is triggered

* Use debug for wgpu-info for speedier compile

* Install specific rev of wgpu-info

* Fix windows build
2022-11-12 13:21:29 +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
Max Ammann
61232872b2
Merge branch 'main' into refactor-structure 2022-10-23 18:42:39 +02:00
Maximilian Ammann
a68acbdff3 Upgrade wgpu 2022-10-08 20:56:58 +02:00
Maximilian Ammann
f8b38dc8f2 Fix imports, refactor builders, invert feature flag 2022-09-25 12:10:30 +02:00
Maximilian Ammann
12bb06a86e Add a lot of TODO notes 2022-09-17 14:46:35 +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
e06d122dbb Conditionally enable multithreaded implementation 2022-09-08 19:42:38 +02:00
Maximilian Ammann
5b5be8ab40 Use custom profile and remove wasm-pack 2022-09-08 16:18:12 +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
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
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
Maximilian Ammann
873e351890 Fix tests for various platforms 2022-06-01 18:05:38 +02: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
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
a6519785cb Remove core crate 2022-04-22 21:16:35 +02:00
Maximilian Ammann
24bd16c112 Remove some crates and rename others 2022-04-22 21:13:58 +02:00