DioxusLabs / blitz

High performance HTML and CSS renderer powered by WGPU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blitz: A wgpu renderer for Dioxus

Blitz is a native renderer for Dioxus that uses WGPU (via Vello) to draw the Dioxus VirtualDom to the screen.

Blitz Core can be used without Dioxus as a regular CSS + HTML renderer. We try to maintain an API similar to the browser's DOM API for general compatibility.

Because the default Dioxus elements rely on HTML, so does Blitz, meaning Blitz can be used as a partial replacement for the web rendering engine in modern browsers.

CSS is handled via lightningcss and layout is handled with Taffy.

Status

Blitz is in a very much WIP state right now. Lots of stuff works but even more doesn't.

  • Many CSS properties aren't supported
  • Many types of events aren't handled
  • No support for images/videos or multimedia

That being said....

Please contribute! There's a lot of solid foundations here:

  • Taffy is underpinning layout
  • Vello is underpinning drawing
  • Dioxus is underpinning state management

About

High performance HTML and CSS renderer powered by WGPU

License:Apache License 2.0


Languages

Language:Rust 99.5%Language:HTML 0.5%