Skip to main content

Crate gpui_web

Crate gpui_web 

Source
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.