mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +11:00
016f9de05f
This creates a new Renderer type that offers fairly simple render_to_texture and render_to_surface methods, the latter of which handles the final blit internally. Also adds a util module with some helpers for device and surface creation. There is a new winit example in piet-wgsl/examples/winit that shows how to make use of it all. This should be fairly trivial to adapt to glazier/xilem.
15 lines
333 B
TOML
15 lines
333 B
TOML
[package]
|
|
name = "winit"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
piet-wgsl = { path = "../../../piet-wgsl" }
|
|
piet-scene = { path = "../../../piet-scene" }
|
|
winit = "0.27.5"
|
|
pollster = "0.2.5"
|
|
# for picosvg
|
|
roxmltree = "0.13"
|