Skip to main content

gpui_wgpu/
gpui_wgpu.rs

1mod cosmic_text_system;
2#[cfg(target_os = "linux")]
3mod dmabuf;
4mod imported_texture;
5#[cfg(not(any(target_family = "wasm", target_os = "macos")))]
6mod platform_renderer;
7mod wgpu_atlas;
8mod wgpu_context;
9mod wgpu_renderer;
10
11pub use cosmic_text_system::*;
12#[cfg(target_os = "linux")]
13pub use dmabuf::dmabuf_capabilities;
14#[cfg(target_os = "linux")]
15pub(crate) use dmabuf::*;
16pub use imported_texture::*;
17pub use wgpu;
18pub use wgpu_atlas::*;
19pub use wgpu_context::*;
20pub use wgpu_renderer::{WgpuContextSlot, WgpuRenderer, WgpuSurfaceConfig};
21#[cfg(all(
22    not(target_family = "wasm"),
23    any(
24        test,
25        feature = "bench-support",
26        feature = "test-support",
27        feature = "headless"
28    )
29))]
30pub use wgpu_renderer::{WgpuHeadlessRenderer, WgpuOffscreenSurface};