Wayland-drm pixel formats

The wayland-drm pixel formats follow the scheme:

WL_DRM_FORMAT_{component-format}

The component-format part specifies the order and sizes of the components. All the components are listed first, optionally followed by their corresponding sizes in bits (e.g., RGB888, YUVY).

The wayland-drm formats are a subset of the drm fourcc formats.

There are a few categories of wayland-drm formats: