]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[fbcon] Avoid redrawing unchanged characters when scrolling
authorMichael Brown <mcb30@ipxe.org>
Fri, 25 Apr 2025 12:24:21 +0000 (13:24 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 25 Apr 2025 12:44:18 +0000 (13:44 +0100)
commit76a17b0986250117e15c2c64cccd0694acf8142b
treee85506aee6e80c416c253249cb657932a7352c31
parentaa3cc56ab20763eb1d8e04085ee6013636760606
[fbcon] Avoid redrawing unchanged characters when scrolling

Scrolling currently involves redrawing every character cell, which can
be frustratingly slow on large framebuffer consoles.  Accelerate this
operation by skipping the redraw for any unchanged character cells.

In the common case that large areas of the screen contain whitespace,
this optimises away the vast majority of the redrawing operations.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/fbcon.c