Unofficial Android fork. This repository is a community fork of sonorahq/gpui, Sonora's GPUI fork, that adds the experimental gpui_android backend. It is not affiliated with or endorsed by SonoraHQ or Zed Industries. Upstream changes are merged on a best-effort basis, so this fork may lag behind, diverge from, or break relative to upstream. For the official project, use upstream.
- Rust 96.5%
- WGSL 1.3%
- Metal 0.9%
- HLSL 0.9%
- Kotlin 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Brings in the upstream text shaping, styling, shader, and platform updates. Keeps the fork's README notice and Android backend; upstream workflow files that arrived with the merge are removed again so the fork stays workflow-free. |
||
| .github | ||
| assets/fonts | ||
| crates | ||
| tooling/perf | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| NOTICE | ||
| README.md | ||
| rust-toolchain.toml | ||
Warning
Unofficial Android fork. This repository is a community fork of sonorahq/gpui, Sonora's GPUI fork, that adds the experimental
gpui_androidbackend. It is not affiliated with or endorsed by SonoraHQ or Zed Industries. Upstream changes are merged on a best-effort basis, so this fork may lag behind, diverge from, or break relative to upstream. For the official project, use upstream.
gpui
Sonora's fork of GPUI, the GPU-accelerated UI framework behind Zed. Everything below works on wgpu, Metal and DirectX.
What the fork adds
-
Shapes and shadows
Styled::corner_smoothingandStyled::squirclefor squircle cornersStyled::text_shadowfor CSS-style text shadows- Box shadows clipped to outside their element
-
Blur and layers
Styled::blurblurs an element and its subtree as a layerStyled::backdrop_blur, like CSSbackdrop-filter: blur()Styled::fade_edgesandStyled::fade_sidesfade a layer at its edges- Dual Kawase blur, with a Gaussian for small radii
- Neighbouring layers with the same filter merge into one pass
GPUI_FILTERS=0turns layer filters off
-
Paint-only transforms
Styled::layer_scaleandStyled::layer_scale_originStyled::layer_translate, which leaves layout and hitboxes alone- Fractional values for smooth spring animations
-
Pixel snapping
Window::with_pixel_snappingkeeps a subtree off the pixel grid
-
Text
Styled::letter_spacing, like CSSletter-spacing, in ems- Requested font weights honoured in cosmic-text
- Variable-font
wghtaxis - Weight-aware font fallback
- Colour emoji detection and rendering
- ClearType text inside layers on Windows and wgpu
-
Memory
- Offscreen targets allocated on first use and freed when idle
- Instance buffers shrink after a quiet period on wgpu and Metal
- Atlas tiles written straight to the wgpu queue
-
App and windows
App::hide_cursorhides the cursor until the mouse moves- Window controls keep their hitboxes in cached views
- Explicitly sized images keep their size
- Wayland edges kept off half device pixels, and better fractional scaling
-
Profiling and debugging
GPUI_DEBUG_OVERLAY=minimal|fullfor frame timings and view statisticsGPUI_SHOW_REPAINTS=1highlights what each frame redrawsGPUI_LOG_NOTIFIES=1logs notifies and re-renders
Licence
Apache-2.0, inherited from Zed. See LICENSE and NOTICE.