Skip to main content

par_term_render/
lib.rs

1//! GPU-accelerated rendering engine for par-term terminal emulator.
2//!
3//! This crate provides the rendering pipeline for the terminal emulator,
4//! including:
5//!
6//! - Cell-based GPU rendering with glyph atlas
7//! - Sixel/iTerm2/Kitty inline graphics rendering
8//! - Custom GLSL shader post-processing (Shadertoy/Ghostty compatible)
9//! - Scrollbar rendering with mark overlays
10//! - Background image rendering
11//! - GPU utility functions
12
13pub mod cell_renderer;
14pub mod custom_shader_renderer;
15pub mod gpu_utils;
16pub mod graphics_renderer;
17pub mod renderer;
18pub mod scrollbar;
19
20// Re-export main public types
21pub use cell_renderer::{Cell, CellRenderer, PaneViewport};
22pub use custom_shader_renderer::CustomShaderRenderer;
23pub use graphics_renderer::GraphicsRenderer;
24pub use renderer::{
25    DividerRenderInfo, PaneDividerSettings, PaneRenderInfo, PaneTitleInfo, Renderer,
26    compute_visible_separator_marks,
27};
28pub use scrollbar::Scrollbar;
29
30// Re-export shared types from dependencies for convenience
31pub use par_term_config::{ScrollbackMark, SeparatorMark};