Expand description
Buffer allocation and management.
Collection of common traits and implementations around buffer creation and handling from various sources.
Allocators provided:
- Dumb Buffers through
crate::backend::drm::DrmDevice
- Gbm Buffers through
::gbm::Device
Buffer types supported:
Helpers:
Swapchain
to help with buffer management for framebuffers
Modules§
- Module for dmabuf buffers.
- dumb
backend_drm
Module for DumbBuffer buffers - Format info tables for DRM formats.
- gbm
backend_gbm
Module for Buffers created using libgbm. - vulkan
backend_vulkan
Module for Buffers created using Vulkan.
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.