Skip to main content

gpui_engine/
gpui_engine.rs

1//! GPUI's engine contract: the scene representation that `gpui` builds and the
2//! platform backends present.
3//!
4//! This crate holds the intermediate representation (the [`Scene`] and its draw
5//! primitives) together with the interfaces its collaborators implement. It
6//! deliberately has no dependency on the windowing layer, on `taffy`, or on any
7//! GPU driver, so alternative renderers and engines can reuse or replace the
8//! scene representation without depending on those implementations.
9
10#![warn(missing_docs)]
11
12mod atlas;
13mod bounds_tree;
14mod custom_render;
15#[cfg(target_os = "linux")]
16mod dmabuf;
17mod font_fallbacks;
18mod font_features;
19mod frame_session;
20mod layout;
21mod line_wrapper;
22mod render;
23mod renderer;
24mod scene;
25mod style;
26mod surface_format;
27mod text;
28mod text_system;
29
30pub use atlas::*;
31pub use custom_render::*;
32#[cfg(target_os = "linux")]
33pub use dmabuf::*;
34pub use font_fallbacks::*;
35pub use font_features::*;
36pub use frame_session::*;
37pub use layout::*;
38pub use line_wrapper::*;
39pub use render::*;
40pub use renderer::*;
41pub use scene::*;
42pub use style::*;
43pub use surface_format::*;
44pub use text::*;
45pub use text_system::*;