aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-10 17:18:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-10 17:18:53 +0000
commite4a631f7f097426e70d24e3a2ec50f7626ae860f (patch)
tree62759dd3093e9851c6406f4fa2281c6066ebcd8a /render.c
parentterminal: scrolling: better debug log messages (diff)
terminal: scrolling: prefetch cells of scrolled in lines
Since newly scrolled in lines will be erased, we want them in the cache. So, allocate and prefetch new lines, then repair non-scrolling regions (to give the prefetch time to actually fetch the data). Finally, erase the newly scrolled in lines. This also fixes a bug where the fixup for the non-scrolling regions could crash on an unallocated row (we were accessing rows that would be, but hadn't yet been, scrolled in).
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions