Module rutabaga_gfx::rutabaga_gralloc
source · Expand description
This module implements cross-platform allocation of window system buffers. In addition, it may perform mappings of GPU buffers. This is based on “gralloc”, a well-known Android hardware abstaction layer (HAL).
Re-exports§
pub use formats::DrmFormat;
pub use gralloc::ImageAllocationInfo;
pub use gralloc::ImageMemoryRequirements;
pub use gralloc::RutabagaGralloc;
pub use gralloc::RutabagaGrallocBackendFlags;
pub use gralloc::RutabagaGrallocFlags;
Modules§
- formats 🔒formats: Utility file for dealing with DRM and VK formats, and canonical size calculations.
- gralloc 🔒gralloc: Cross-platform, Rust-based, Vulkan centric GPU allocation and mapping.
- minigbm 🔒minigbm: implements swapchain allocation using ChromeOS’s minigbm library.
- Utility file for allocating exportable system memory. On Linux systems, this is is often done with memfd.