838 Commits

Author SHA1 Message Date
Max Ammann
f453ede220
Improve processing (#227)
* Increase padding to 1

* Process everything in one frame (while vs let)

* Add thread names

* Add instrumentation
2022-12-15 14:48:31 +01:00
Max Ammann
ae4a19bd81
Add code back which changes the color dynamically (#225)
* Add code back which changes the color dynamically

* Improve readablity by reducing nesting
2022-12-14 12:29:31 +01:00
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
516d642079
Define a minimum and maximum pitch (#149) 2022-12-13 17:52:02 +01:00
Max Ammann
f780529109
Switch to own host on maxammann.org (#211) 2022-12-12 22:32:00 +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
5b084f033e
Make writing rendered images to disk optional, and disable for bench (#214) 2022-12-11 21:50:27 +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
1b73ad5908
Upgrade to Ubuntu 22 in CI (#215)
* Use apt-get

* Upgarde ubuntu

* Disable upgrading drivers

* Add messages to test

* Add comment
2022-11-13 11:30:59 +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
193b06a49d
Fix tracy by using re-export (#213) 2022-11-12 21:01:17 +01:00
Max Ammann
4e761fd7a2
Upgrade npm dependencies (#202) 2022-11-12 16:09:05 +01:00
Julien Rebetez
183a1ab4a3
justfile: add targets for toolchains (#208)
* Add proper just task dependencies

* Add targets for apple and android

Co-authored-by: Maximilian Ammann <max@maxammann.org>
2022-11-12 16:07:23 +01:00
Max Ammann
146456a311
Switch to powershell (#209)
* Switch to powershell
2022-11-12 15:32:12 +01:00
Julien Rebetez
c77ce85741
Clippy fixes (#206)
* Clippy fixes

* Clippy: add Default implementations

* Clippy: Simplify if let match

* Clippy: Fix never read variables

Co-authored-by: Max Ammann <max@maxammann.org>
2022-11-12 13:06:43 +00: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
Max Ammann
0b17bc83d4
Create a matrix job for apple (#195)
* Create a matrix job for apple

* Skip tests on x86_64

* Change dependencies back

* Remove dependencies from justfile task
2022-11-04 10:03:27 +01:00
Max Ammann
93318433ad
Fix rfc link in the README.md (#196) 2022-11-03 09:28:49 +01:00
Max Ammann
8db3feb222
Switch back to main wgpu because of new release (wgpu-hal 14.1) (#198) 2022-11-03 08:43:08 +01:00
Max Ammann
1be1476fac
Merge pull request #179 from maxammann/refactor-structure
Refactor structure
2022-11-02 22:07:15 +01:00
Max Ammann
7243e30e00
Bootstrap RFCs and add initial RFC (#188)
* Add template and rfc rfc

* Remove issue template

* Add generate script for SUMMARY.md

* Generage SUMMARY.md file

* generate summary

* Update rfc process

* Add symlink to rfc

* Add notes to README
2022-11-02 21:18:52 +01:00
Maximilian Ammann
e220e1df29 Fix compilation 2022-11-02 21:11:39 +01:00
Maximilian Ammann
2070339fb6 Fix names and remove unsed functions 2022-11-02 20:57:52 +01:00
Max Ammann
e9d4fcc425
Fix stencil temporarily: https://github.com/gfx-rs/wgpu/pull/3151 (#191) 2022-11-02 20:52:27 +01:00
Maximilian Ammann
00a4753825 Remove unused run configs 2022-11-02 20:48:05 +01:00
Maximilian Ammann
40f4200f4a Adjust typescript files 2022-11-02 20:47:46 +01:00
Maximilian Ammann
0e15635f2c Update idea files for new kotlin version 2022-11-02 20:44:47 +01:00
Maximilian Ammann
fdd09e0b19 Add the possibility to late initialize the renderer 2022-11-02 20:44:35 +01:00
Maximilian Ammann
d0cefe69de Upgrade Android plugin 2022-11-02 20:28:30 +01:00
Maximilian Ammann
44cf74683e Add install and separate build commands 2022-11-02 17:58:58 +01:00
Maximilian Ammann
fa7e8b019e Set rust nightly version for gradle project 2022-11-02 17:58:31 +01:00
Maximilian Ammann
628216e366 Fix compilation for android 2022-11-02 17:58:18 +01:00
Maximilian Ammann
def2e8de6e Wrap native function 2022-11-02 17:58:07 +01:00
Maximilian Ammann
b7b48c3327 Update idea config for gradle project 2022-11-02 17:57:53 +01:00
Maximilian Ammann
91e8000526 Fix ndk-glue version 2022-11-02 17:56:45 +01:00
Maximilian Ammann
ffe0005f0f Fix compilation 2022-11-01 19:53:09 +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
58c852f096 Fix imports 2022-10-30 19:57:42 +01:00
Maximilian Ammann
e0f414e804 Fix imports 2022-10-30 19:55:31 +01:00
Maximilian Ammann
1ea049f995 Propagate errors 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
Max Ammann
ecaa696430
Deduplicate and fix CI (#189)
* Dedublicate and fix CI

* Set correct toolchain

* Install binstall quicker

* Add check for different arch
2022-10-30 18:46:05 +01:00
Maximilian Ammann
6fab04c70f Fix moving the map and resizing 2022-10-30 18:38:49 +01:00
Maximilian Ammann
7278829910 Move files within maplibre-winit directory 2022-10-30 18:32:41 +01:00
Maximilian Ammann
d8e1e6a9a8 Ignore some directories 2022-10-30 18:32:27 +01:00