• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018 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 //! A crate for handling 2D and 3D virtio-gpu hypercalls, along with graphics
6 //! swapchain allocation and mapping.
7 
8 mod cross_domain;
9 mod generated;
10 mod gfxstream;
11 mod gfxstream_stub;
12 #[macro_use]
13 mod macros;
14 #[cfg(any(feature = "gfxstream", feature = "virgl_renderer"))]
15 mod renderer_utils;
16 mod rutabaga_2d;
17 mod rutabaga_core;
18 mod rutabaga_gralloc;
19 mod rutabaga_os;
20 mod rutabaga_utils;
21 mod virgl_renderer;
22 
23 pub use crate::rutabaga_core::calculate_capset_mask;
24 pub use crate::rutabaga_core::calculate_capset_names;
25 pub use crate::rutabaga_core::Rutabaga;
26 pub use crate::rutabaga_core::RutabagaBuilder;
27 pub use crate::rutabaga_gralloc::DrmFormat;
28 pub use crate::rutabaga_gralloc::ImageAllocationInfo;
29 pub use crate::rutabaga_gralloc::ImageMemoryRequirements;
30 pub use crate::rutabaga_gralloc::RutabagaGralloc;
31 pub use crate::rutabaga_gralloc::RutabagaGrallocFlags;
32 pub use crate::rutabaga_os::AsRawDescriptor;
33 pub use crate::rutabaga_os::FromRawDescriptor as RutabagaFromRawDescriptor;
34 pub use crate::rutabaga_os::IntoRawDescriptor as RutabagaIntoRawDescriptor;
35 pub use crate::rutabaga_os::MappedRegion as RutabagaMappedRegion;
36 pub use crate::rutabaga_os::SafeDescriptor as RutabagaDescriptor;
37 pub use crate::rutabaga_utils::*;
38