rutabaga_gfx/rutabaga_gralloc/mod.rs
1// Copyright 2021 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5//! This module implements cross-platform allocation of window system buffers.
6//! In addition, it may perform mappings of GPU buffers. This is based on
7//! "gralloc", a well-known Android hardware abstaction layer (HAL).
8//!
9//! <https://source.android.com/devices/graphics/arch-bq-gralloc>
10
11mod formats;
12mod gralloc;
13mod minigbm;
14mod minigbm_bindings;
15mod system_gralloc;
16mod vulkano_gralloc;
17
18pub use formats::DrmFormat;
19pub use gralloc::ImageAllocationInfo;
20pub use gralloc::ImageMemoryRequirements;
21pub use gralloc::RutabagaGralloc;
22pub use gralloc::RutabagaGrallocFlags;