665 Commits

Author SHA1 Message Date
Maximilian Ammann
31fa4ed421 Fix web pipeline 2022-06-02 17:50:09 +02:00
Maximilian Ammann
0b820ab610 Speedup web checking by using same config 2022-06-02 16:45:10 +02:00
Maximilian Ammann
75f69fa840 Set NDK 2022-06-02 16:06:49 +02:00
Maximilian Ammann
c707fa3b5c Use reusable workflows 2022-06-02 15:46:34 +02:00
Maximilian Ammann
9728caa2ac Enable the test suite to use the CPU rasterizers (vulkan and egl) 2022-06-02 15:04:42 +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
Max Ammann
8248d4b4d7
Headless windows & Data pipeline (#119)
* Implement headless rendering

* Simplify window traits

* Simplify and fix headless rendering

* Rename HttpClient

* Ignore wasm-pack output

* Refactor stages and context

* Rename runnable to eventloop and fix variable names

* Fix tests

* Add pipeline draft

* Start implementing pipeline steps

* Use pipeline in headless rendering

* Improve the style significantly. The colors are taken from the default OSM map style

* Start working on a specific headless API

* Refactor thread state and pipeline

* Refactor thread state and pipeline

* Fix web

* Remove mem::replace usage

* Improve pipeline types

* Simplify pipeline API

* Add comment

* Fix tests

* Remove dynamic dispatch for schedule

* Add Run Test config

* Revive old legacy webworker example

* Fix resize detection

* Cleanup dependencies and simplify bounds

* Conditionally enable create_png

* Add some comments and rename

* Run more tests in CI

* Fix tests for various platforms

* Install missing dependency
2022-06-01 19:01:05 +02:00
Maximilian Ammann
cef804ef18 Install missing dependency 2022-06-01 18:19:33 +02:00
Maximilian Ammann
873e351890 Fix tests for various platforms 2022-06-01 18:05:38 +02:00
Maximilian Ammann
3f821e7f66 Run more tests in CI 2022-06-01 17:21:52 +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
0e2f8ef2c9 Add Run Test config 2022-05-31 21:54:34 +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
Maximilian Ammann
ad6a0be20d Start working on a specific headless API 2022-05-31 21:15:55 +02:00
Maximilian Ammann
1c297ff10b Improve the style significantly. The colors are taken from the default OSM map style 2022-05-31 21:15:55 +02:00
Maximilian Ammann
94b8f27bf8 Use pipeline in headless rendering 2022-05-31 21:15:55 +02:00
Maximilian Ammann
cdb7f1395e Start implementing pipeline steps 2022-05-31 21:15:55 +02:00
Maximilian Ammann
1fd40c2fe9 Add pipeline draft 2022-05-31 21:15:55 +02:00
Maximilian Ammann
40db69c864 Fix tests 2022-05-31 21:15:52 +02:00
Maximilian Ammann
810954f49d Rename runnable to eventloop and fix variable names 2022-05-31 21:14:46 +02:00
Maximilian Ammann
675e62bae1 Refactor stages and context 2022-05-31 21:14:46 +02:00
Maximilian Ammann
41d0b43755 Ignore wasm-pack output 2022-05-31 21:14:46 +02:00
Maximilian Ammann
ae36e4f7d4 Rename HttpClient 2022-05-31 21:14:46 +02:00
Maximilian Ammann
03f38c2725 Simplify and fix headless rendering 2022-05-31 21:14:46 +02:00
Maximilian Ammann
355977e3b7 Simplify window traits 2022-05-31 21:14:46 +02:00
Maximilian Ammann
1e63718dfc Implement headless rendering 2022-05-31 21:14:46 +02:00
Zsolt Bölöny
e59dacdb45
Fix unit test build and run tests on CI (on some platforms) (#117)
* Fix unit test build

* Don't run static tile fetching test if no tiles are embedded

* Don't test code examples which use private modules

* Disable Tokio tests on WASM32 platform

* Move linux-demo action into demo folder for consistency

* Run tests on Windows and Linux (at least)
2022-05-31 21:07:54 +02:00
Jackson Shi
6bc9a792fd
Add sqlite feature flag (#111)
Co-authored-by: Max Ammann <max@maxammann.org>
2022-05-26 11:27:05 +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
Yuri Astrakhan
204f8625f6
Remove tilejson fork (#114)
TileJSON code is not being used anywhere, so removing it to keep things simple.  In the future, lets try to use [tilejson crate](https://crates.io/crates/tilejson), which is nearly identical to the code being deleted.
2022-05-25 19:38:50 +02:00
Drabble
5daad34ba4
Create a Windows executable artifact in GHA (#101)
* Create a windows demo github action

* Move windows demo build workflow
2022-05-23 15:51:10 +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
c563d640b0
Create the how-to-run.md documentation (#102) 2022-05-23 11:04:54 +02:00
Drabble
01c45fd13f
Create a MacOS application artifact in GHA (#104) 2022-05-23 11:03:50 +02:00
Drabble
37d2ac73a9
Support x86_64 when running in a ios simulator (#100) 2022-05-23 10:58:29 +02:00