Files
zed/crates/gpui_web/examples/hello_web/Cargo.toml
T
Cameron McloughlinandLukas Wirth e96c624624 gpui: Webgl backend (#62165)
Currently gpui only supports webgpu as a backend when compiling for the
web. However, webgpu support on Linux browsers is spotty (without
setting experimental flags):
- chromium has is enabled for nvidia and recent intel chips
- firefox does not enable it

This PR adds a WebGL backend, which is much more widely supported

---

Release Notes:

- N/A or Added/Fixed/Improved ...

---------

Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
2026-08-04 15:53:09 +00:00

18 lines
320 B
TOML

[workspace]
[package]
name = "hello_web"
version = "0.1.0"
edition = "2024"
publish = false
[[bin]]
name = "hello_web"
path = "main.rs"
[dependencies]
gpui = { path = "../../../gpui" }
gpui_platform = { path = "../../../gpui_platform" }
web-sys = { version = "0.3", features = ["Location", "Window"] }
web-time = "1"