Crate simd_blit

Source
Expand description

Alpha Compositing & SSAA, optionally using SIMD

If you want this crate to use SIMD, activate the simd feature; You will need a nightly toolchain for this to work, however.

If the feature is disabled, a sequential implementation is also provided.

Structs§

EightPixels
A pack of 8 pixels (SIMD alignment)
SsaaCoords
An aligned structure storing SSAA_SQ (x, y) subpixel coordinates for up to eight pixels

Enums§

AlphaConfig
Supported Alpha configurations

Traits§

PixelArray
Trait for 2D-sized & indexed pixel storage

Functions§

blend8
Perform alpha compositing on up to eight pixels
ssaa8
Performs SSAA on up to 8 pixels