xgpui-wgpu
wgpu rendering backend for xgpui, including GPU context management, texture atlases, text and headless rendering support.
When to use this crate
Platform backends use this renderer; it does not create an application window on its own. Depend on it directly when implementing renderer integration or working with its backend-specific APIs.
For application setup, use the matching framework packages:
[]
= { = "xgpui", = "5.0.0" }
= { = "xgpui-platform", = "4.0.0" }
The registry package is xgpui-wgpu; its Rust library name is
gpui_wgpu. Keep framework packages on a compatible xgpui release.
Cosmic font inspection
Version 2.1.0 exposes resolved-face OpenType features and variable-axis metadata
through GPUI's font_capabilities, font_axes and opentype_features queries.
Cosmic obtains table bytes from the actual resolved font and collection face;
core parses the metadata privately. Missing tables remain distinct from errors.
Arbitrary explicit axis application is not enabled: static_variations is false
and nonempty settings are rejected. Applications can select xgpui-parley for
static axes on Linux. See the font-controls guide.
Features
| Feature | Purpose |
|---|---|
font-kit |
Optional font discovery. |
dma-buf |
Linux Vulkan DMA-BUF import support. |
test-support |
Rendering test helpers. |
Documentation
Versioning and provenance
This backend uses version 2.1.0 with core 3.0.0, independently of the upstream
release.
This maintained downstream package derives from Zed's gpui_wgpu crate via
gpui-unofficial.
The accepted source capture and Zed provenance are recorded in
upstream.json.
Licensed under Apache-2.0. xgpui is independent of Zed Industries.