euv-core 0.48.1

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
/// Active macOS presentation path distinguishing direct Metal GPU rendering from `CGImage` software fallback.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum MacOsPresentationPath {
    /// Direct `CAMetalLayer` / `CAMetalDrawable` Metal render-pass presentation (`cpu_mirror_active = false`).
    GpuDirect,
    /// Software `CGImage` / `CALayer.setContents:` fallback (`cpu_mirror_active = true`).
    #[default]
    SoftwareCgImage,
}

/// Truthful presentation timing source reported by macOS frame telemetry.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum MacOsPresentTimingSource {
    /// Hardware display presentation time reported by `MTLDrawable.addPresentedHandler:` (`presentedTime`).
    CompositorMeasured,
    /// CPU-side submission timestamp without compositor presentation confirmation.
    SubmissionProxy,
    /// Presentation timing could not be observed.
    #[default]
    Unobservable,
}