Max Ammann
4fcd142e0d
Automatically choose texture format based on adapter ( #224 )
...
* Automatically choose texture format based on adapter
* Use compatible_surface properly
2022-12-14 10:13:05 +01:00
Max Ammann
c12f3f1127
Improve error handling ( #222 )
...
* Introduce proper error types for a lot of functions, remove main catch-all type
* Fix compilation and clippy issues
* Map, unmap and drop always
* Remove not required parentheses
* Fix running on non-vulkan platforms
* Add and use thiserror crate
2022-12-12 20:06:12 +01:00
Max Ammann
9496ef0e71
Fix regressions: Transferable flatbuffers ( #221 )
...
* Add geometry index again
* Switch to info level for run config
* Add setting for present_mode
* Remove unused file
* Adjust web to new message
* Update package-lock.json
* One of the first working versions with a large buffer
* Add features to fix builds
* Switch to flatbuffers for data passing
* Cleanup and move entries to wasm_entries
* Install protobuf and flatbuffers
* Fix windows CI
* Fix clippy errors and warnings for generated code
2022-12-11 21:11:49 +01:00
Max Ammann
6367d3641f
Fix regressions from structure refactoring ( #203 )
...
* Add geometry index
* Switch to info level for run config
* Add setting for present_mode
* Remove unused file
* Adjust web to new message
* Rename transferables
* Remove bytemuck and add unsafe code
* Add Result to return type of APCs
* Add Result to Processable
* Resolve unwraps
* Remove unwraps and remove unused code
2022-11-13 11:24:17 +01:00
Max Ammann
4e761fd7a2
Upgrade npm dependencies ( #202 )
2022-11-12 16:09:05 +01:00
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
Maximilian Ammann
40f4200f4a
Adjust typescript files
2022-11-02 20:47:46 +01:00
Maximilian Ammann
fdd09e0b19
Add the possibility to late initialize the renderer
2022-11-02 20:44:35 +01:00
Maximilian Ammann
d835ef461f
Fix non-multithreaded web target
2022-10-31 09:32:47 +01:00
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
1ea049f995
Propagate errors
2022-10-30 19:55:31 +01:00
Maximilian Ammann
7278829910
Move files within maplibre-winit directory
2022-10-30 18:32:41 +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
694c1914be
Fix type generation
2022-09-24 17:37:09 +02:00
Maximilian Ammann
5e3a74d11e
Switch to TS config for webpack
2022-09-24 17:17:13 +02:00
Maximilian Ammann
1b30e4c8c3
Update documentation
2022-09-24 17:10:15 +02:00
Maximilian Ammann
a36067d995
Fix formatting
2022-09-24 16:59:08 +02:00
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