1 2 3 4 5 6 7 8 9 10
use super::*; /// Process-wide cached RGBA8 `ImageBuffer` decoded from the canonical `euv.png` brand logo. pub(crate) static EUV_BRAND_LOGO_CACHE: OnceLock<ImageBuffer> = OnceLock::new(); thread_local! { /// Bounded thread-local cache of live-DPR supersampled RGBA8 brand logo buffers keyed by exact physical pixel size. pub(crate) static EUV_BRAND_LOGO_SCALED_CACHE: RefCell<Vec<(u32, ImageBuffer)>> = const { RefCell::new(Vec::new()) }; }