VelloSharp.Skia.Cpu
VelloSharp.Skia.Cpu
provides a CPU-bound integration path between Vello and Skia, ideal for environments without GPU acceleration.
Getting Started
- Install with
dotnet add package VelloSharp.Skia.Cpu
. - Add
using VelloSharp.Skia.Cpu;
when configuring your rendering host. - Create the CPU surface bridge from this package and feed it with scenes generated by
VelloSharp
or higher-level components. - Tune the surface size, pixel format, and update cadence according to your application’s performance targets.
Usage Example
using SkiaSharp;
var cpuSurface = SKSurface.Create(new SKImageInfo(400, 200));
cpuSurface.Canvas.DrawText("CPU sparse", 20, 120, new SKPaint { Color = SKColors.Black, TextSize = 48 });
cpuSurface.Flush();
Next Steps
- Consult the API reference for the available surface adapters and tuning options.
- Combine the package with
VelloSharp.Charting
orVelloSharp.Composition
to unlock CPU-only deployments.