Age | Commit message (Collapse) | Author | Files | Lines |
|
I have a hard time typing anything else at this point.
Signed-off-by: Eric Anholt <eric@anholt.net>
|
|
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
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>
|
|
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).
|
|
This significantly improves test performance (~60% in blend).
|
|
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.
|
|
|
|
|
|
- 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.
|