summaryrefslogtreecommitdiff
path: root/t_dstcoords.c
AgeCommit message (Collapse)AuthorFilesLines
2016-02-08Start using stdbool.h instead of Xlib or custom bools.Eric Anholt1-3/+3
I have a hard time typing anything else at this point. Signed-off-by: Eric Anholt <eric@anholt.net>
2010-12-01dstcoords: Sample result using a single GetImageChris Wilson1-1/+8
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-01Split out printing the results from eval_diff()Chris Wilson1-2/+5
Separate the evalation of two colors given a format and the printing of the result. This allows eval_diff() to be used elsewhere and also means that we do not need to waste cycles generating unused strings for eval_diff() [this accounts for as much time as composite_op!]. As part of this process pass in the expected accuracy of the operation to eval_diff(). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2007-02-02Unbreak the dstcoords test, and test it with PictOpOver, as well.Eric Anholt1-8/+11
Testing on dests[0] meant an a8 picture, which doesn't capture color very well. Use the window, instead. Also, make the code match the comment about it being a 3x3 picture (previously, we drew 1x1).
2006-10-26Reduce the size of the rendering done in many tests.Eric Anholt1-2/+5
This significantly improves test performance (~60% in blend).
2006-06-16Add an option "--minimalrendering" which suppresses the copying of offscreenEric Anholt1-3/+2
rendering results to the window, which reduces the runtime of the blend tests by 10.2% +/- 6.2% on my system. The copy remains on by default because I think it can be useful.
2006-04-19Respect --iter in a couple more tests.Eric Anholt1-5/+7
2006-04-19Remove useless $Id$ markers.Eric Anholt1-2/+0
2005-01-27- Split the tests out into separate files.Eric Anholt1-0/+64
- Split some of the test picture generation out into those files, too. - Add a helper function for filling things with a color. - Add -Wall to CFLAGS and clean up the ensuing carnage.