euv-core 0.48.3

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
14
/// Maximum number of disjoint dirty rectangles tracked inline inside `DirtyRectSet`.
pub const DIRTY_RECT_SET_CAPACITY: usize = 16;

/// Default viewport coverage ratio above which `DirtyRectSet` promotes to `DirtyRectStrategy::FullFrame`.
pub const DIRTY_RECT_FULL_FRAME_THRESHOLD: f32 = 0.70;

/// Default union-area waste ratio below which multiple rects coalesce into `DirtyRectStrategy::MergedBbox`.
pub const DIRTY_RECT_MERGE_WASTE_RATIO: f32 = 0.35;

/// Default maximum pairwise waste factor allowed when compacting an overflowing `DirtyRectSet`.
pub const DIRTY_RECT_OVERLAP_PAD_PX: f32 = 1.0;

/// Multiplier applied to `blur_radius` when computing surgical backdrop/portal sampling halo (`ceil(2.0 * blur_radius)`).
pub const EFFECT_BLUR_HALO_MULTIPLIER: f32 = 2.0;