Expand description
Tier-1 buffer sources for drmkit scenes.
Port of the tier-1 sources from src/scene/ — the ones that need no GPU,
no EGL, and no external media stack. Everything here implements
LayerBufferSource, so a scene consumes
them without knowing which it has.
Structs§
- Acquired
- The commit thread’s decision.
- Cursor
Source - A cursor presented as a scene layer.
- DmaBuf
Source Cache - Caches one
ExternalDmaBufSourceper buffer identity. - Dumb
Buffer Source - The simplest source: one CPU-writable linear buffer, created once and reused every frame.
- External
DmaBuf Pool - A pool of externally allocated DMA-BUFs, imported on first sight.
- External
DmaBuf Ring - A rotating ring of externally allocated DMA-BUFs.
- External
DmaBuf Source - A caller-owned DMA-BUF wrapped as a scanout-ready KMS framebuffer.
- External
Plane - One plane of an externally allocated buffer.
- GbmBuffer
Source - One GPU-allocated buffer, created once and scanned out every frame.
- Ring
Presenter - Tracks pending, scanning and in-flight buffers across frames.
Enums§
- External
Error - Why wrapping an external buffer failed.
- GbmSource
Error - Why a GBM-backed source could not be built.
- Present
- What the commit thread should do this vblank.
Constants§
- MAX_
DAMAGE - How many damage rectangles a submit can carry.