mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 20:04:20 +00:00
This won't be functional at runtime, but does allow us to at least compile with gfxstream enabled. BUG=b:244618506 TEST=presubmit Change-Id: I72a63976310e635964645a1265a22518fc6cb694 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3967431 Reviewed-by: Kaiyi Li <kaiyili@google.com> Commit-Queue: Dennis Kempin <denniskempin@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
31 lines
1 KiB
Rust
31 lines
1 KiB
Rust
// Copyright 2018 The ChromiumOS Authors
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
//! A crate for handling 2D and 3D virtio-gpu hypercalls, along with graphics
|
|
//! swapchain allocation and mapping.
|
|
|
|
mod cross_domain;
|
|
mod generated;
|
|
mod gfxstream;
|
|
mod gfxstream_stub;
|
|
#[macro_use]
|
|
mod macros;
|
|
#[cfg(any(feature = "gfxstream", feature = "virgl_renderer"))]
|
|
mod renderer_utils;
|
|
mod rutabaga_2d;
|
|
mod rutabaga_core;
|
|
mod rutabaga_gralloc;
|
|
mod rutabaga_utils;
|
|
mod virgl_renderer;
|
|
|
|
pub use crate::rutabaga_core::calculate_context_mask;
|
|
pub use crate::rutabaga_core::calculate_context_types;
|
|
pub use crate::rutabaga_core::Rutabaga;
|
|
pub use crate::rutabaga_core::RutabagaBuilder;
|
|
pub use crate::rutabaga_gralloc::DrmFormat;
|
|
pub use crate::rutabaga_gralloc::ImageAllocationInfo;
|
|
pub use crate::rutabaga_gralloc::ImageMemoryRequirements;
|
|
pub use crate::rutabaga_gralloc::RutabagaGralloc;
|
|
pub use crate::rutabaga_gralloc::RutabagaGrallocFlags;
|
|
pub use crate::rutabaga_utils::*;
|