Skip to main content

gpui_apple/
gpui_apple.rs

1#![cfg(any(target_os = "macos", target_os = "ios"))]
2//! Shared Apple rendering, task dispatch, and system services for GPUI.
3//!
4//! This crate renders GPUI scenes directly with Metal on Apple platforms. It
5//! owns GPU resources, text rendering, Keychain access, and thermal notifications
6//! while leaving application lifecycle, windowing, and input to each platform backend.
7
8mod dispatcher;
9pub mod imported_texture;
10pub mod keychain;
11mod metal_atlas;
12pub mod metal_renderer;
13pub mod thermal;
14
15#[cfg(feature = "font-kit")]
16mod open_type;
17#[cfg(feature = "font-kit")]
18mod text_system;
19
20pub use dispatcher::{AppleActivity, AppleDispatcher};
21#[cfg(feature = "font-kit")]
22pub use text_system::AppleTextSystem;