Skip to main content

Module format

Module format 

Source
Expand description

Geometry and pixel format types shared by the rendering and presentation axes.

DRM fourcc codes and format modifiers live here rather than in the presentation layer because format negotiation runs between the two axes: a presentation target advertises what it can scan out, the HAL context advertises what it can render to and export, and the intersection is what gets allocated.

Structs§

Extent2D
A 2D extent in pixels.
FormatModifierSet
A format paired with the layouts a device will accept for it.
Fourcc
A DRM fourcc format code.
Modifier
A DRM format modifier describing the memory layout of a buffer.

Enums§

PixelFormat
Pixel formats the renderer can target.