aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2012-01-21 23:14:41 +0100
committerAurélien Aptel <aurelien.aptel@gmail.com>2012-01-21 23:14:41 +0100
commit96c22e1604704504cef6786714191ed5ffb58725 (patch)
tree5f76ce8a7e3090c7e88edeb155f5e5755faebf4e /TODO
parent281174445ba2b6e1160b2b7b4490eebb0714eb37 (diff)
downloadst-96c22e1604704504cef6786714191ed5ffb58725.tar.gz
st-96c22e1604704504cef6786714191ed5ffb58725.tar.bz2
copy dirty lines to screen, add select() timeout & min time between draw() calls.
* add a timeout value (SELECT_TIMEOUT) of 20ms in the select() call * wait at least 20ms (DRAW_TIMEOUT) between draw() calls * only copy dirty lines from the buffer to the screen what draw() does: * clears dirty lines in the buffer * draws the longest same-attributes string of each dirty line to the buffer with multiple xdraws() call * copies the current dirty line from buffer to the screen with a single xcopy() call this changeset makes st run ~10x faster.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions