aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-30 16:03:03 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-30 16:03:03 +0000
commit85ef9df586dfca22d16d04c9777dc38ff896223a (patch)
tree0cc74665440e259460bed9a4aff48c9c69b4bb12 /config.h
parentwip: initial multithreaded renderer (diff)
render: add a 'clean' bit to each cell; only render cells that aren't clean
This patch takes a bit from the foreground color value in a cell (todo: split up foreground/background into bitfields with a separate field for 'foreground/background' has been set), and only re-renders cells that aren't marked as clean. Note: we use a 'clean' bit rather than a 'dirty' bit to make it easy to erase cells - we can (keep doing) do that by simply memsetting a cell range to 0.
Diffstat (limited to 'config.h')
0 files changed, 0 insertions, 0 deletions