Expand description
Garasu (硝子) — GPU rendering engine for pleme-io applications.
Provides a reusable wgpu + winit + glyphon rendering stack:
GpuContext: wgpu device, queue, surface lifecycleTextRenderer: glyphon-backed text layout and rasterizationTextConfig/TextLayout: pure-data text configuration (testable without GPU)ShaderPipeline: WGSL shader loading and management (testable without GPU)AppWindow/WindowConfig: winit window creation with sensible defaultsadaptive: runtime posture detection + recommendation (fps, vsync, display refresh, GPU caps) — consumed as a typed default layer between hardcoded fallbacks and user configGarasuError: unified error type
Re-exports§
pub use adaptive::Display as AdaptiveDisplay;pub use adaptive::GpuPosture;pub use adaptive::Platform;pub use adaptive::RecommendationProfile;pub use adaptive::RuntimeBudget;pub use adaptive::RuntimePosture;pub use context::GpuContext;pub use error::GarasuError;pub use quad::QuadInstance;pub use quad::QuadPipeline;pub use shader::BLUR_SHADER;pub use shader::ShaderConfig;pub use shader::ShaderPipeline;pub use shader::ShaderSource;pub use text::preload_fonts;pub use text::TextConfig;pub use text::TextLayout;pub use text::TextRenderer;pub use window::AppWindow;pub use window::WindowConfig;