dotCooCoo
529571a92a
craft-raster3d: rayon is optional behind a parallel feature
...
rayon becomes an optional dependency behind a new parallel feature,
off by default, as in craft-texture, craft-dds and craft-jpeg. The
default build is serial, uses no rayon and builds for
wasm32-unknown-unknown. The craft facade forwards it as
raster3d-parallel.
- With parallel, bands of rows, resolved rows, encoded pixels and
shadow maps run on several threads with rayon, as before. Without
it, the same per-item code runs in order on one thread, through
small helpers in lib.rs. Both stop at the first error.
- Outputs are the same either way. When several bands or shadow maps
fail, the serial build returns the first one's error and the
threaded build the error of one of them, and the needed count of
TooMuchWork can differ.
- Targets, images, shadow maps and the working buffers that grow with
the raster or the vertex or triangle count are reserved fallibly,
and a failed reservation returns the new RenderError::OutOfMemory.
- rayon is added as a dev-dependency. The differential tests in
tests/it/reference/effectcraft use it.
- CI's default-feature test pass also runs craft-raster3d, so the
serial build is tested.
- The README and the crate docs describe the feature.
2026-11-29 14:28:00 -08:00
..
2026-11-27 20:09:31 -08:00
2026-11-24 20:00:50 +00:00
2026-11-25 14:48:58 -08:00
2026-11-28 17:55:30 -08:00
2026-11-28 02:27:23 -08:00
2026-11-28 00:54:40 -08:00
2026-11-29 12:40:48 +07:00
2026-11-29 14:39:26 -05:00
2026-11-29 08:13:01 +07:00
2026-11-28 02:07:36 -08:00
2026-11-24 19:49:22 +00:00
2026-11-26 10:32:58 +07:00
2026-11-28 05:26:06 -08:00
2026-11-27 17:51:08 -08:00
2026-11-26 10:06:58 +07:00
2026-11-29 11:23:36 -08:00
2026-11-28 11:47:50 +07:00
2026-11-28 11:48:06 +07:00
2026-11-29 14:28:00 -08:00
2026-11-24 22:31:29 +00:00
2026-11-26 10:23:09 +01:00
2026-11-27 03:40:00 +00:00
2026-11-25 01:55:58 +00:00
2026-11-26 10:20:42 +01:00
2026-11-28 23:23:40 +00:00
2026-11-26 07:59:30 -08:00
2026-11-27 23:07:33 +01:00
2026-11-27 23:09:26 +01:00
2026-11-29 10:08:19 -08:00
2026-11-26 08:27:09 -08:00
2026-11-26 10:32:46 +07:00
2026-11-29 16:24:09 -05:00
2026-11-28 23:11:59 +00:00
2026-11-27 19:59:17 +00:00
2026-11-29 16:24:05 -05:00
2026-11-27 01:36:30 -08:00
2026-11-27 17:31:35 -08:00
2026-11-29 19:37:58 +05:30
2026-11-25 01:40:04 +00:00
2026-11-25 19:44:12 +00:00
2026-11-24 19:48:21 +00:00
2026-11-28 01:41:48 -08:00
2026-11-25 19:59:25 -08:00
2026-11-29 09:22:22 -08:00
2026-11-29 09:48:14 -08:00
2026-11-25 19:37:14 -08:00
2026-11-24 22:31:46 +00:00
2026-11-27 18:40:42 -08:00
2026-11-26 10:18:16 +01:00
2026-11-30 01:08:32 +07:00
2026-11-28 08:42:51 +00:00
2026-11-29 21:11:53 +01:00
2026-11-28 23:29:10 +01:00
2026-11-26 10:32:14 +07:00
2026-11-25 01:32:48 +00:00
2026-11-26 10:05:20 +07:00
2026-11-29 01:05:08 -08:00
2026-11-26 08:31:21 -08:00
2026-11-29 11:23:42 -08:00
2026-11-29 00:14:29 +00:00
2026-11-25 00:04:24 +00:00
2026-11-26 21:57:01 -08:00
2026-11-28 02:09:39 -08:00
2026-11-29 00:02:22 +00:00
2026-11-30 01:09:18 +07:00
2026-11-26 10:28:26 +07:00
2026-11-30 01:08:26 +07:00
2026-11-27 19:19:18 -08:00
2026-11-26 10:22:15 +01:00
2026-11-24 22:31:09 +00:00
2026-11-28 23:12:01 +00:00
2026-11-29 15:12:15 -05:00
2026-11-26 12:18:38 -08:00
2026-11-26 10:07:34 +07:00
2026-11-27 12:32:02 +05:30
2026-11-26 10:19:40 +01:00
2026-11-29 10:07:14 -05:00
2026-11-27 06:09:54 +01:00
2026-11-28 05:35:36 -08:00
2026-11-29 03:01:38 +07:00
2026-11-24 19:46:48 +00:00
2026-11-30 01:08:52 +07:00
2026-11-28 05:30:54 -08:00
2026-11-27 17:47:46 -08:00
2026-11-30 00:29:51 +07:00
2026-11-26 10:12:54 -08:00
2026-11-26 09:38:03 -08:00
2026-11-27 18:10:09 -08:00
2026-11-24 19:47:11 +00:00
2026-11-26 00:01:17 -08:00
2026-11-29 14:28:00 -08:00
2026-11-27 03:18:56 +01:00
2026-11-26 12:18:38 -08:00
2026-11-26 16:56:53 -08:00
2026-11-26 10:18:31 +01:00
2026-11-27 14:15:24 +07:00
2026-11-29 16:23:56 -05:00
2026-11-25 09:05:18 +05:30
2026-11-28 19:26:20 -05:00
2026-11-28 19:08:24 -05:00
2026-11-26 10:23:51 -08:00
2026-11-28 21:06:21 -08:00
2026-11-29 16:23:45 -05:00
2026-11-30 01:48:36 +07:00
2026-11-29 20:33:55 +01:00
2026-11-28 02:33:21 -08:00
2026-11-28 15:17:33 -08:00
2026-11-27 18:15:05 -08:00
2026-11-25 20:22:00 -08:00
2026-11-27 23:08:01 +01:00
2026-11-28 23:01:52 -08:00
2026-11-29 11:14:05 +01:00
2026-11-29 20:48:24 +01:00
2026-11-29 14:39:24 -06:00
2026-11-29 10:04:40 -05:00
2026-11-27 03:31:12 +00:00
2026-11-29 21:11:10 +01:00
2026-11-29 11:23:36 -08:00
2026-11-29 17:33:35 +01:00
2026-11-29 11:14:05 +01:00
2026-11-29 14:39:24 -06:00
2026-11-30 01:08:58 +07:00
2026-11-28 05:35:38 -08:00
2026-11-28 05:30:46 -08:00
2026-11-27 23:07:33 +01:00
2026-11-24 22:31:29 +00:00
2026-11-26 20:09:37 +07:00
2026-11-26 11:36:50 +00:00
2026-11-28 23:11:56 +00:00
2026-11-27 19:06:18 -08:00
2026-11-30 01:11:56 +07:00
2026-11-27 12:32:02 +05:30