Module smithay::backend::allocator

source ·
Expand description

Buffer allocation and management.

Collection of common traits and implementations around buffer creation and handling from various sources.

Allocators provided:

Buffer types supported:

Helpers:

  • Swapchain to help with buffer management for framebuffers

Modules§

Structs§

  • Slot of a swapchain containing an allocated buffer and its userdata.
  • Swapchain handling a fixed set of re-usable buffers e.g. for scan-out.
  • Wraps some u32 that isn’t a DRM fourcc we recognize
  • Wraps some u8 that isn’t a DRM vendor we recognize

Enums§

Traits§

  • Interface to create Buffers
  • Common trait describing common properties of most types of buffers.