62 Commits

Author SHA1 Message Date
657de4f5cb
Renamed all wgpu labels 2025-09-17 10:03:31 +01:00
c30c239e29
wgpu errors are now fatal again. 2025-09-16 16:46:30 +01:00
0aef84953c
Removed some crates from lint exceptions. 2025-09-13 01:19:34 +01:00
8dafb27d93
Moved create_image_texture to zsw_wgpu. 2025-09-11 22:57:06 +01:00
5e77b160e7
Wgpu is no longer a singleton. 2025-09-08 03:34:35 +01:00
50b851209e
Renamed WgpuShared to Wgpu. 2025-09-08 03:30:59 +01:00
d36afb4808
The empty image is now created and stored in the shared wgpu state. 2025-08-25 11:19:05 +01:00
d710ce595d
Removed any unnecessary async from functions. 2025-08-25 10:55:56 +01:00
7acbfbdf13
Added type alias of AppError to zsw-util. 2025-08-23 03:09:50 +01:00
ba3294b14e
Replaced zutil-app-error with app-error. 2025-08-23 03:04:39 +01:00
f8d6c25032
Reworked many logging points. 2025-08-23 03:03:12 +01:00
aa26578747
Added support for transparent windows.
`None` shader is now transparent by default.
2025-08-22 00:07:30 +01:00
082dff58ff
Updated all dependencies. 2025-08-21 17:38:33 +01:00
3dfd8f6328
Formatted all toml files. 2025-08-21 17:24:44 +01:00
59b53671ee
Wgpu surface is now reconfigured when a suboptimal frame is presented. 2025-08-21 12:13:58 +01:00
cc4e245fdf
Wgpu shared is now created separately from the wgpu renderer. 2025-08-21 12:13:55 +01:00
559d9b078f
The created window is no longer leaked. 2025-08-17 06:04:19 +01:00
070072de13
Updated to rustc 1.91.0-nightly (8e62bfd31 2025-08-12).
Updated all crates to edition 2024.
2025-08-16 05:00:13 +01:00
82bca954e6
Added #[must_use] to some functions. 2025-04-11 19:14:45 +01:00
fb6ef7143a
Updated all dependencies. 2025-04-08 09:27:23 +01:00
2d4a1bac3f
Replaced anyhow with zutil-app-error. 2025-04-08 08:01:30 +01:00
341c2cedc4
FrameRender::surface_size is now public. 2025-03-31 05:47:32 +01:00
9b4d6175ee
Updated to rustc 1.86.0-nightly (99768c80a 2025-01-23). 2025-03-19 17:37:49 +00:00
198f383474
Fixed renderer quitting when app was put to sleep. 2024-10-06 10:05:44 +01:00
87585eeea3
Updated all dependencies. 2024-10-06 10:00:32 +01:00
e19f1c01e7
Added new clippy lints. 2024-07-26 18:23:22 +01:00
f14eec9301
Fixed all new lints. 2024-07-26 17:56:20 +01:00
2640b1ea25
Migrated all lints from Cranky.toml to Cargo.toml. 2024-07-26 17:50:21 +01:00
275316ec14 Updated to wgpu 0.15.1, winit 0.28.3 and egui 0.21.0.
Updated other smaller dependencies breakingly.
2023-03-21 08:52:39 +00:00
1fc6442b5d Moved all dependency versions to the workspace. 2023-03-21 07:55:14 +00:00
360897881e Separated wgpu_wrapper and error modules into crates. 2023-03-21 07:40:30 +00:00
e9c1cde5a9 Replaced all crates with zsw2. 2023-02-18 23:52:07 +00:00
1cbab5c59b Wgpu no longer panics on errors. 2022-12-13 14:35:42 +00:00
063d19f797 PanelsRenderer now stores a Wgpu. 2022-11-27 16:32:13 +00:00
ed34b34b0b WgpuRenderer now stores it's input receiver. 2022-11-27 16:28:38 +00:00
33ae975150 Added WgpuResizeReceiver to receive notifications on wgpu resizes. 2022-11-27 16:11:16 +00:00
9b25ce1fef Split services in zsw-wgpu. 2022-11-27 15:55:06 +00:00
b8b5608ec5 Moved wgpu's window to the correct struct. 2022-11-27 15:45:27 +00:00
20ea08b6f7 Only a single resize is done per-frame now. 2022-11-25 22:44:40 +00:00
646fd116b8 Fixed (?) wgpu validation error from egui when resizing the window. 2022-11-25 22:33:50 +00:00
b4c490de01 Removed special casing of wgpu in event handler. 2022-11-24 22:13:17 +00:00
80f07dfa29 Upgraded all dependencies to latest. 2022-11-20 11:17:09 +00:00
461ce33a17 Added unsafe_op_in_unsafe_fn lint manually due to cargo run not knowing about Cranky.toml. 2022-07-27 19:35:11 +01:00
6ddb6fdf42 Updated to rustc 1.64.0-nightly (38b72154d 2022-07-11).
Now using `cargo-cranky` for the lints.
2022-07-27 19:02:28 +01:00
43e8e35b20
Migrated from log to tracing. 2022-04-07 20:25:45 +01:00
51860df883
Separated Wgpu's surface resource from the service. 2022-04-06 12:47:17 +01:00
5d2ce96b54
All service runners now receive all services via a generic argument and use what they need. 2022-04-05 05:41:06 +01:00
6e69d72bee
Replaced custom "runtime" with tokio, with optional tokio-console support.
`Wgpu` now arcs the window (maybe reversible eventually once tokio supports scoped tasks).
2022-04-05 02:00:34 +01:00
3d93929134
Removed all side-effect support. 2022-04-03 12:02:10 +01:00
86e0780c7e
Split Wgpu::render into start_render and finish_render to allow async awaiting in between. 2022-04-03 11:48:21 +01:00