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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Default number of bounded staging buffer slots in `GpuResourceRing` (triple-buffered in-flight ring).
pub const GPU_RING_DEFAULT_SLOTS: usize = 3;

/// Default initial capacity in bytes per reusable staging buffer slot (256 KiB).
pub const GPU_RING_DEFAULT_SLOT_BYTES: usize = 256 * 1024;

/// Default maximum aggregate staging memory ceiling in bytes across all ring slots (4 MiB).
pub const GPU_RING_DEFAULT_MAX_TOTAL_BYTES: usize = 4 * 1024 * 1024;

/// Default resident VRAM budget in bytes for persistent GPU scroll tile textures (16 MiB).
pub const GPU_TILE_CACHE_DEFAULT_BUDGET_BYTES: usize = 16 * 1024 * 1024;

/// Minimum configurable GPU scroll tile cache budget in bytes (64 KiB).
pub const GPU_TILE_CACHE_MIN_BUDGET_BYTES: usize = 64 * 1024;