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::*;

/// Process-wide cached `libX11.so.6` dynamic symbol table (eliminates per-frame `dlsym` calls).
pub(crate) static LINUX_X11_SYMS: OnceLock<LinuxX11Syms> = OnceLock::new();

/// Process-wide cached `libXrandr.so.2` dynamic symbol table (eliminates repeated `dlopen` handle leaks).
pub(crate) static LINUX_XRANDR_SYMS: OnceLock<LinuxXRandrSyms> = OnceLock::new();

/// Process-wide cached `libXext.so.6` MIT-SHM dynamic symbol table.
pub(crate) static LINUX_XSHM_SYMS: OnceLock<LinuxXShmSyms> = OnceLock::new();

/// Process-wide cached `libwayland-client.so.0` + Vulkan WSI dynamic symbol table.
pub(crate) static LINUX_WAYLAND_SYMS: OnceLock<LinuxWaylandSyms> = OnceLock::new();

/// Monotonic sequence counter guaranteeing unique `/dev/shm` fallback filenames per process.
pub(crate) static LINUX_SHM_SEQ: AtomicU64 = AtomicU64::new(1);

/// Static `wl_registry_listener` binding `wl_compositor` and `wl_shm` globals during Wayland setup.
pub(crate) static WL_REGISTRY_LISTENER: WlRegistryListener = WlRegistryListener {
    global: linux_wl_registry_global,
    global_remove: linux_wl_registry_global_remove,
};

/// Static `wl_buffer_listener` clearing the slot's atomic busy flag when the compositor releases a buffer.
pub(crate) static WL_BUFFER_LISTENER: WlBufferListener = WlBufferListener {
    release: linux_wl_buffer_release,
};