1#[cfg(any(target_os = "macos", target_os = "windows", feature = "wgpu"))]
3mod mesh;
4#[cfg(any(target_os = "macos", target_os = "windows", feature = "wgpu"))]
5pub use mesh::{ControlPoint, MeshGradient, MeshGrid, MeshStats};
6
7#[cfg(any(target_os = "macos", target_os = "windows", feature = "wgpu"))]
8mod solid;
9#[cfg(any(target_os = "macos", target_os = "windows", feature = "wgpu"))]
10pub use solid::SolidColor;
11
12#[cfg(any(target_os = "macos", target_os = "windows", feature = "wgpu"))]
13mod gradient;
14#[cfg(any(target_os = "macos", target_os = "windows", feature = "wgpu"))]
15pub use gradient::{Gradient, GradientKind, GradientStop};
16
17mod paint;
18pub use paint::{Paint, WindowPaintExt};
19mod surface;
20pub use surface::{Painted, PaintedElement, Shader, painted, shader};
21
22#[cfg(feature = "wgpu")]
23mod wgpu;
24
25#[cfg(feature = "portable-shaders")]
27pub mod shader_paint;
28
29#[cfg(target_os = "windows")]
30mod dx11;
31
32#[cfg(any(target_os = "windows", feature = "wgpu"))]
33mod effect_params;
34#[cfg(any(target_os = "windows", test))]
35mod hlsl;
36
37#[cfg(target_os = "macos")]
38mod metal_cache;
39
40#[cfg(feature = "portable-shaders")]
42pub mod instanced;
43#[cfg(feature = "portable-shaders")]
44pub use instanced::WindowShaderExt;
45
46#[cfg(feature = "portable-shaders")]
48pub mod brush;
49#[cfg(feature = "portable-shaders")]
50pub use brush::{
51 BlendMode, Brush, BrushMeshPoint, BrushPoint, BrushStop, DirectPath, MAX_DIRECT_PATH_EDGES,
52 MAX_DIRECT_PATH_EXTENT, MAX_DIRECT_PATH_TRIANGLES, Noise, NoiseKind,
53};
54
55#[cfg(feature = "portable-shaders")]
56mod backdrop;
57#[cfg(feature = "portable-shaders")]
58pub use backdrop::BackdropBlur;
59
60#[cfg(feature = "portable-shaders")]
61mod layer_effect;
62#[cfg(feature = "portable-shaders")]
63pub use gpui::LayerBlurQuality;
64#[cfg(feature = "portable-shaders")]
65pub use layer_effect::LayerEffect;
66
67pub mod typography;