ImageImportConfig

Configuration for Scenic client image import worker pool and scheduling policy.

Every policy field other than workers is optional. An unset (None) field is omitted from fuchsia.scenic.ImageImportPolicy, so Scenic's built-in default applies (and may change between releases). Setting a field pins that policy value for the product, even if Scenic's default later changes.

FieldTypeDescriptionDefault
workers uint8 Number of background GPU worker threads for Scenic client image import (default 1; 0 runs inline on the main thread). Each worker spawns one dedicated thread under the image-import scheduler role; values above the hardware core count provide no latency benefit.
reply_thread \[bool] Whether to run display-coordinator replies on a dedicated thread instead of pumping the reply loop on Scenic's main thread. If unset, Scenic chooses the default.
off_screen ImageImportOffScreenOrder Priority order among off-screen client images. If unset, Scenic chooses the default.
never_shown ImageImportNeverShown Background import policy for client images that have not yet been presented. If unset, Scenic chooses the default.
kinds ImageImportKinds Scheduling policy across display and GPU import kinds. If unset, Scenic chooses the default.
idle_ms uint32 Idle delay in milliseconds after the last frame before `when_idle` imports may start. If unset, Scenic chooses the default.
display_cap uint32 Maximum in-flight idle-window display imports. If unset, Scenic chooses the default.