speed up scrolling by agglomerating one-line scrolls
PATCH 1/1 speed up scrolling by agglomerating one-line scrolls
Available in experimental
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
=== added file 'ChangeLog.gfxtermscroll'
ChangeLog.gfxtermscroll +18 -0
@@ -0,0 +1,18 @@ +2009-11-30 Vladimir Serbinenko <[email protected]> + + Agglomerate scrolling in gfxterm. + + * term/gfxterm.c (grub_virtual_screen): New member 'total_screen'. + (grub_virtual_screen_setup): Initialise 'total_screen'. + (write_char): Split to ... + (paint_char): ... this ... + (write_char): ... and this. + (paint_char): Handle delayed scrolling. + (draw_cursor): Likewise. + (scroll_up): Split to ... + (real_scroll): ... this ... + (scroll_up): ... and this. + (real_scroll): Handle multi-line scroll and draw below-the-bottom + characters. + (grub_gfxterm_refresh): Call real_scroll. +
=== modified file 'term/gfxterm.c'
gfxterm.c +100 -61
257 lines not on this page · raw message