[Pixman] [PATCH] test: Add cover-test
ppaalanen at gmail.com
Wed May 27 01:24:27 PDT 2015
On Tue, 26 May 2015 18:09:21 -0700
Matt Turner <mattst88 at gmail.com> wrote:
> On Tue, May 26, 2015 at 3:58 PM, Ben Avison <bavison at riscosopen.org> wrote:
> > This test aims to verify both numerical correctness and the honouring of
> > array bounds for scaled plots (both nearest-neighbour and bilinear) at or
> > close to the boundary conditions for applicability of "cover" type fast paths
> > and iter fetch routines.
> > It has a secondary purpose: by setting the env var EXACT (to any value) it
> > will only test plots that are exactly on the boundary condition. This makes
> > it possible to ensure that "cover" routines are being used to the maximum,
> > although this requires the use of a debugger or code instrumentation to
> > verify.
> > ---
> > Note that this must be pushed after Pekka's fence-image patches.
> > test/Makefile.sources | 1 +
> > test/cover-test.c | 376 +++++++++++++++++++++++++++++++++++++++++++++++++
> > 2 files changed, 377 insertions(+), 0 deletions(-)
> > create mode 100644 test/cover-test.c
> > diff --git a/test/Makefile.sources b/test/Makefile.sources
> > index 14a3710..5b901db 100644
> > --- a/test/Makefile.sources
> > +++ b/test/Makefile.sources
> > @@ -26,6 +26,7 @@ TESTPROGRAMS = \
> > glyph-test \
> > solid-test \
> > stress-test \
> > + cover-test \
> Remember to add cover-test to .gitignore.
No need, there is a test/*-test already.
More information about the Pixman