gpui_runtime/gpui_runtime.rs
1//! GPUI's process harness: how an application is built, configured and started.
2//!
3//! [`Application`] is what a host program holds in order to bring GPUI up — the
4//! `main` function of a desktop app, or an embedder driving its own run loop.
5//! Everything an application *is* once it is running lives in
6//! [`gpui_authoring`], which this crate drives rather than contains. So do the
7//! test and bench harnesses: they build a real [`gpui_authoring::App`] and drive
8//! real frames, so they stay beside the code they exercise.
9//!
10//! The `gpui` crate is a thin facade over both, so applications keep importing
11//! `gpui`.
12
13#![warn(missing_docs)]
14
15mod application;
16mod pipeline;
17
18pub use application::{Application, ApplicationHandle};
19pub use pipeline::{FramePipelineExt, InstrumentedPipeline, PhaseMetrics, ThrottledPipeline};