Scroll damage is currently applied by memmoving the backing memory for the grid surface.
This is slow; a 1920x1080 surface is almost 8MB and many applications scroll a single line a time meaning we need to memmove almost all of those 8MB.
Note that re-rendering all the scrolled lines/cells is even slower so that is not an option.
Scroll damage is currently applied by memmoving the backing memory for the grid surface.
This is slow; a 1920x1080 surface is almost 8MB and many applications scroll a single line a time meaning we need to memmove almost all of those 8MB.
Note that re-rendering all the scrolled lines/cells is even slower so that is not an option.