enum PixelFormat
Control plane
enum PixelFormat : u32
Byte order of one pixel in a pixel arena, named in memory order.
The four that real rasterisers write, so the client never swizzles:
poppler's Splash writes bgrx8, cairo's ARGB32 is bgra8 on a
little-endian machine. Encoded sRGB like every other colour here
(docs/colour-and-blending.md). The a formats are straight alpha; the
x formats are opaque, and the fourth byte is ignored rather than trusted
to be 0xff.
idl/lava.npidl:85
Cases
bgra8 = 1
Not documented.
idl/lava.npidl
bgrx8 = 3
Not documented.
idl/lava.npidl
rgba8 = 0
Not documented.
idl/lava.npidl
rgbx8 = 2
Not documented.
idl/lava.npidl