euv-core 0.50.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
use super::*;

/// Monotonic hardware VSync tick counter incremented by macOS `CVDisplayLink` callbacks.
pub(crate) static MACOS_CV_DISPLAY_LINK_TICKS: AtomicU64 = AtomicU64::new(0);

/// Latest measured macOS `CVDisplayLink` display refresh rate stored as `f32::to_bits() as u64`.
pub(crate) static MACOS_CV_DISPLAY_LINK_HZ_BITS: AtomicU64 = AtomicU64::new(0);

/// Raw `NSView*` content view pointer of the primary macOS host window for embedded `WKWebView` overlays.
pub(crate) static MACOS_PRIMARY_CONTENT_VIEW: AtomicPtr<c_void> = AtomicPtr::new(null_mut());

/// Retained `WKWebView*` instance currently attached to `MACOS_PRIMARY_CONTENT_VIEW`, or null when closed.
pub(crate) static MACOS_ACTIVE_WEBVIEW: AtomicPtr<c_void> = AtomicPtr::new(null_mut());