Skip to main content

Module damage

Module damage 

Source

Structsยง

DamageTracker
State of the damage tracking for the Display.
FrameDamage
Damage state for the rendering frame.
RenderDamageIterator ๐Ÿ”’
Iterator which converts alacritty_terminal damage information into renderer damaged rects.

Functionsยง

damage_y_to_viewport_y
Convert viewport y coordinate to Rect damage coordinate.
merge_rects ๐Ÿ”’
Merge two glutin::surface::Rect by producing the smallest rectangle that contains both.
rects_overlap ๐Ÿ”’
Check if two given glutin::surface::Rect overlap.
viewport_y_to_damage_y
Convert viewport y coordinate to Rect damage coordinate.