summaryrefslogtreecommitdiff
path: root/devices/gdevbit.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-03-29 19:26:50 +0100
committerRobin Watts <robin.watts@artifex.com>2017-03-30 16:02:59 +0100
commitedba51f4647f56b3559451f5fdbfbde04bc87828 (patch)
treee45e779ac9c97589ee0efc8718879568b02d13b7 /devices/gdevbit.c
parent0fe78bcd5eb6cc919e6b0a97aadb6f9259176bc8 (diff)
downloadghostpdl-edba51f4647f56b3559451f5fdbfbde04bc87828.tar.gz
Bug 697678: Scan converter performance (out of range lines).
This significantly improves the timings. Essentially, if we were rendering just a band of a page (say from Y1 to Y2) and the line extended beyond that (say from Y0 to Y3, where Y0 < Y1 or Y2 < Y3), we'd have run the bresenham for the entire range rather than for just the section we needed to. This was particularly problematic in the example file due to the use of a clipping device, meaning that we were repeatedly scan converting lines in 1 pixel high regions.
Diffstat (limited to 'devices/gdevbit.c')
0 files changed, 0 insertions, 0 deletions