aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-13 15:54:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-11-13 15:54:40 +0000
commit4b645376fd84abae9bab91b475daa7d356488e0a (patch)
treec1ea6eccbca63323dca515af10ea2b053a201f3b /doc
parentchangelog: fix link to readme#keypad (diff)
render: improve sixel rendering performance
Up until now, we’ve always re-rendered the entire image (the part of it that is visible at least), *every* time we render a frame. This is not really needed. In many cases, the cells covered by the image hasn’t been touched. Rewrite the sixel rendering code to only render the part of the sixel image that covers dirty cells. This is done on a per-row basis. I.e. Each *row* of the image that covers at least one dirty cell is re-rendered. For this to work, we now also dirty all cells covered by the image when we emit the image. Finally, for this to work, the sixels need to be rendered *before* we do the normal grid render pass (since that will clear all dirty bits).
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions