Expand description
GPUI’s browser platform uses one document-owned canvas and supports one top-level window.
Browser WebGPU is preferred by default, with an automatic WebGL2 fallback. Applications can
force either backend with WebBackendPreference. Opening a second top-level window, or
reopening one after it closes, returns WebWindowError.
Re-exports§
pub use canvas_fallback::CanvasFontFallback;
Modules§
- canvas_
fallback - Eligibility only for independent, horizontal Canvas fallback of a complete extended grapheme. Callers must still check whether bundled shaping supplies the requested glyph and presentation; eligibility alone does not override it.