Home
last modified time | relevance | path

Searched refs:display_redraw (Results 1 – 1 of 1) sorted by relevance

/StarryEngine/starry_server/src/core/
H A Dcompositor.rs116 let display_redraw = total_redraw_rect.intersection(&display.screen_rect()); in redraw_all() localVariable
117 if !display_redraw.is_empty() { in redraw_all()
118 for y in 0..display_redraw.height() { in redraw_all()
119 for x in 0..display_redraw.width() { in redraw_all()
121 x + display_redraw.left() - display.x, in redraw_all()
122 y + display_redraw.top() - display.y, in redraw_all()
124 let offset = (((y + display_redraw.top()) * SCREEN_WIDTH as i32) in redraw_all()
126 + display_redraw.left()) in redraw_all()