euv-core 0.48.0

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
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Adaptive dirty-region submission strategy selected from disjoint rect count, coverage, and merge waste ratio.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum DirtyRectStrategy {
    /// No damaged pixels exist in the viewport.
    #[default]
    Empty,
    /// Upload or rasterize each disjoint rectangle independently to avoid merging distant regions.
    MultiRect,
    /// Coalesce dirty rectangles into a single tight bounding box because union waste is low.
    MergedBbox,
    /// Redraw or upload the full viewport because coverage exceeded the threshold or full damage was requested.
    FullFrame,
}