summaryrefslogtreecommitdiff
path: root/t_repeat.c
AgeCommit message (Collapse)AuthorFilesLines
2016-02-08Start using stdbool.h instead of Xlib or custom bools.Eric Anholt1-11/+11
I have a hard time typing anything else at this point. Signed-off-by: Eric Anholt <eric@anholt.net>
2014-04-22Shut up some const assignment warnings.Eric Anholt1-1/+1
Trying to make all the callchain related to these const is too hard, and it's not like marking things const helps either the developer or the compiler. Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Keith Packard <keithp@keithp.com>
2014-01-21fix compiler warningsMatt Craighead1-1/+1
Removed redundant declarations. Removed an unused variable. Fixed the sign of some loop variables. Signed-off-by: Matt Craighead <mcraighead@nvidia.com> Signed-off-by: Robert Morell <rmorell@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2011-08-01Use the right screen from $DISPLAYAaron Plattner1-1/+1
RootWindow(dpy, 0) always uses screen 0, even if a different screen is specified in the $DISPLAY environment variable. Use DefaultRootWindow(dpy) instead to use the right one. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-12-01repeat: Only call GetImage once for each test.Chris Wilson1-6/+18
Sample the entire result with a single call to GetImage in order to batch up the transfers when checking the result. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-01Split out printing the results from eval_diff()Chris Wilson1-4/+14
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>
2010-12-01repeat: Specify test width/height rather than relying on win_width/heightChris Wilson1-12/+19
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-9/+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-20Add a test for various-sized repeating sources. Reveals issues with EXA RadeonEric Anholt1-0/+150
render acceleration. Thanks to frederikh for the testcase that suggested the necessity here.