summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAurélien Aptel2012-01-21 23:14:41 +0100
committerAurélien Aptel2012-01-21 23:14:41 +0100
commit896310e5928b6daab5f594acd9648ffe8233022e (patch)
tree5f76ce8a7e3090c7e88edeb155f5e5755faebf4e /Makefile
parent13a8eeb810ccfdaefd58c52328dd0ec867e3ae8d (diff)
downloadst-896310e5928b6daab5f594acd9648ffe8233022e.tar.gz
st-896310e5928b6daab5f594acd9648ffe8233022e.tar.xz
st-896310e5928b6daab5f594acd9648ffe8233022e.zip
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 'Makefile')
0 files changed, 0 insertions, 0 deletions