Expand description
Filter effects implementation for vello_cpu.
This module provides CPU-based implementations of SVG filter effects, supporting both low-precision (u8) and high-precision (f32) rendering paths. Filters are applied to rendered layer pixmaps and may use scratch storage for intermediate buffers.
Modulesยง
- context ๐
- drop_
shadow ๐ - Drop shadow filter implementation.
- flood ๐
- Flood filter implementation.
- gaussian_
blur ๐ - Gaussian blur filter implementation using multi-scale separable convolution.
- offset ๐
feOffsetfilter primitive implementation.- shift ๐
- Shared helpers for pixel-space filter operations.
Traitsยง
- Filter
Effect ๐ - Trait for filter effects that can be applied to layers.
Functionsยง
- filter_
highp ๐ - Apply the high-precision (f32) version of a filter effect to a layer.
- filter_
lowp ๐ - Apply the low-precision (u8) version of a filter effect to a layer.