18 Commits

Author SHA1 Message Date
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
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
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
fdd09e0b19 Add the possibility to late initialize the renderer 2022-11-02 20:44:35 +01:00
Maximilian Ammann
8af27b29cf Fix web compilation issues 2022-10-30 22:10:08 +01:00
Maximilian Ammann
d234d1da37 Fix benchmark 2022-09-24 17:22:47 +02:00
Maximilian Ammann
2bd59415ac Fix benchmark 2022-09-24 17:18:33 +02:00
Maximilian Ammann
a36067d995 Fix formatting 2022-09-24 16:59:08 +02:00
Maximilian Ammann
8c7a1f32d0 Fix compilation 2022-09-24 16:58:53 +02:00
Maximilian Ammann
f012d23b7e Remove ScheduleMethod and replace with Scheduler 2022-09-09 12:46:16 +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
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
Max Ammann
b202dc8dd4
Enable bechmarks (#129)
* Fix benchmarks

* Add test data

* Update drivers

* No vulkan-sdk
2022-06-04 10:55:09 +02:00
Maximilian Ammann
66ffdfdd02 Fix clippy in CI 2022-04-24 12:08:53 +02:00
Maximilian Ammann
24bd16c112 Remove some crates and rename others 2022-04-22 21:13:58 +02:00