euv_core/app/prewarm/enum.rs
1/// Category of bounded speculative pre-warming work prepared ahead of route entry.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
3pub enum PrewarmWorkKind {
4 /// Pre-shape critical headline and body text runs for the target route.
5 #[default]
6 TextShaping = 0,
7 /// Pre-rasterize critical glyphs into the font atlas for the active DPR and AA mode.
8 GlyphRaster = 1,
9 /// Pre-decode hero images/thumbnails for the target route within bounded memory limits.
10 ImageDecode = 2,
11 /// Pre-warm graphics shader pipeline state objects for the target route.
12 PipelineWarmup = 3,
13}