Skip to content

jb55/egui_skia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skia backend for egui

This is a drawing backend for egui that uses skia-safe.

Usage

Have a look at the metal or cpu examples to get started.

Run the examples

cargo run --example metal --features winit,metal
cargo run --example cpu --features winit,cpu_fix
cargo run --example rasterize --features winit,cpu_fix

# Make sure sdl2 is installed
# Follow instructions here: https://github.com/Rust-SDL2/rust-sdl2
cargo run --example sdl2_opengl --features gl
cargo run --example sdl2_vulkan --features vulkan

Status

Rendering on the gpu works great, only the dancing strings example doesn't work for some reason.

For rendering on the cpu to look correct, the cpu_fix feature needs to be enabled. See lucasmerlin#1 for more information.

Preview:

Bildschirmaufnahme_2022-08-11_um_18.41.04.mov

About

Render egui with skia!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%