summaryrefslogtreecommitdiff
path: root/t_fill.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>
2014-04-22Convert to using asprintf for describe_format.Eric Anholt1-3/+4
This simplifies the manual strcatting mess and avoids potential overflow issues. Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Keith Packard <keithp@keithp.com>
2010-12-01Split out printing the results from eval_diff()Chris Wilson1-4/+9
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>
2006-10-26Reduce the size of the rendering done in many tests.Eric Anholt1-1/+1
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-05-01Include the format of the picture in the fill test failure output.Eric Anholt1-1/+5
2006-05-01Correct the comment describing what fill_test does (test the filling of theEric Anholt1-2/+2
pictures, not filling from the pictures).
2006-04-19Remove useless $Id$ markers.Eric Anholt1-2/+0
2005-01-27- Split the tests out into separate files.Eric Anholt1-0/+43
- 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.