1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Settings for the test tools (`tools/render-test`) that no host has a use
//! for. Built only with the `testing` feature, and hidden from the
//! documentation: they aren't API.
use Ordering;
use crateRuntime;
/// Puts the tile workers of the renderers that `runtime`'s render sessions
/// make from now on in `instances` worker instances, which the renderer
/// reaches only through the worker codec, as the browser build's Web
/// Workers are: every job, bucket and tile crosses as bytes. 0 runs them on
/// the runtime's pool again. A session that is attached keeps its workers.
/// Holds `map`'s frame clock at `time`, once the map exists: the map takes
/// it for the time now, and frames sample its animations and fades at it,
/// until the next hold moves it. A frame demanded next shows the map's
/// last update, which a camera animation's sample or a requested repaint
/// (`Map::request_repaint`) makes at the new time.
/// Starts a runtime as [`Runtime::with_registry`] does, whose maps load
/// through `file_source` instead of the runtime's own loader, and whose
/// background work, its maps' and their render sessions', runs on `pool`,
/// such as a pool without threads that a test runs between frames.