ferroui_vello
module · ferroui-vello · v0.5.0
module ferroui_vello
The Vello rendering backend.
Implements the render contracts of ferroui_base::platform on top of
the crates of the Vello project: geometries on kurbo, brushes and
blending on peniko, and the drawing context on a scene that one of the
renderers of the project draws (scene::IVelloSceneSink): vello_cpu
on the processor, and with the features hybrid and gpu of the crate
the sparse-strips renderer on the GPU (vello_gpu) and the compute
renderer (vello), into memory and into the window of a platform that
renders on a graphics device (gpu). In a web page the hybrid mode
draws with the WebGL2 renderer of vello_gpu into the canvas of a view
(the feature hybrid-webgl, web_gl).
The backend is an addition of the port (the original has no such
backend): its files follow the Skia backend's, name by name, so that the
two stay comparable. The design, the facts about the renderers it rests
on and what is built are in docs/porting/vello-backend.md.
Contents
VelloOptions— structVelloRenderingMode— enum
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.