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 error;
16pub mod gpu_utils;
17pub mod graphics_renderer;
18pub mod renderer;
19pub mod scrollbar;
20
21// Re-export main public types
22pub use cell_renderer::{Cell, CellRenderer, PaneViewport};
23pub use custom_shader_renderer::CustomShaderRenderer;
24pub use error::RenderError;
25pub use graphics_renderer::{GraphicRenderInfo, GraphicsRenderer};
26pub use renderer::{
27    DividerRenderInfo, PaneDividerSettings, PaneRenderInfo, PaneTitleInfo, Renderer,
28    RendererParams, compute_visible_separator_marks,
29};
30pub use scrollbar::Scrollbar;
31
32// Re-export shared types from dependencies for convenience
33pub use par_term_config::{ScrollbackMark, SeparatorMark};