summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-10-15 18:03:46 +1000
committerPaul Mackerras <paulus@samba.org>2007-06-23 20:55:57 +1000
commit322a8cc9b31217c883c42b9babbbdea7f522eeb7 (patch)
treea2d0388ac677d2dd86f21afac1cc106f02de59eb /commit.c
parent66e46f37de3ed3211a8ae0e8fc09c063bc3a1e08 (diff)
downloadgit-322a8cc9b31217c883c42b9babbbdea7f522eeb7.tar.gz
gitk: New algorithm for drawing the graph lines
This only draws as much of the graph lines as is visible. This can happen by adding coordinates on to an existing graph line or by creating a new line. This means that we only need to have laid out and optimized as much of the graph as is actually visible in order to draw it, including the lines (previously we didn't draw a graph line until we had laid out and optimized to the end of a segment of the line, i.e. down to a down-arrow or to the row where the line's commit is displayed). This also lets us get rid of the linesegends list, and gives us an easy workaround for the X server bug that causes long lines to be misdrawn. This also gets rid of the use of rowoffsets in drawlineseg et al. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions