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 font_fallbacks;
15mod font_features;
16mod frame_session;
17mod layout;
18mod line_wrapper;
19mod render;
20mod renderer;
21mod scene;
22mod style;
23mod text;
24mod text_system;
25
26pub use atlas::*;
27pub use font_fallbacks::*;
28pub use font_features::*;
29pub use frame_session::*;
30pub use layout::*;
31pub use line_wrapper::*;
32pub use render::*;
33pub use renderer::*;
34pub use scene::*;
35pub use style::*;
36pub use text::*;
37pub use text_system::*;