euv-core 0.48.2

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
use super::*;

/// Explicit presentation outcome for every frame tick separating real presents, idle skips, bounded pipelining waits, and retryable failures.
#[derive(
    Clone, Copy, Debug, Default, Deserialize, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize,
)]
pub enum PresentOutcome {
    /// Complete frame was presented to the active display swapchain or host surface.
    Presented,
    /// Frame tick was skipped because zero scene or surface damage occurred.
    #[default]
    SkippedNoDamage,
    /// Submission waited because the bounded in-flight frame queue (`max_frames_in_flight`) was full.
    WaitInFlight,
    /// Presentation failed transiently; the full pending frame must retry on the same surface generation.
    PresentFailedRetry,
}

/// Ordered monotonic cold-start milestone stages captured in `StartupTelemetry`.
#[derive(
    Clone, Copy, Debug, Default, Deserialize, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize,
)]
pub enum StartupStage {
    /// Process, native entry point, or WASM module initialization (`t0`).
    #[default]
    ProcessBoot,
    /// `App`, single active `Renderer`, and native surface handle created (`t1`).
    RuntimeReady,
    /// Default UI font face handle bound without synchronous disk/font scans (`t2`).
    FontReady,
    /// Initial visible route `SceneTree` finished mounting (`t3`).
    MountDone,
    /// First `LayoutEngine::compute` pass finished (`t4`).
    LayoutDone,
    /// First `DisplayList` built and initial visible glyphs prepared (`t5`).
    PaintDone,
    /// First GPU command buffer or software surface draw submitted (`t6`).
    GpuSubmit,
    /// Verified first-frame presentation completed (`t7`).
    FirstPresent,
}