test: Add a new benchmarker targeting affine operations
authorBen Avison <bavison@riscosopen.org>
Wed, 8 Apr 2015 13:20:09 +0000 (14:20 +0100)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 24 Apr 2015 07:25:42 +0000 (10:25 +0300)
commite0c0153d8e5d42c08c2b9bd2cf2123bff2c48d75
treec8f45003dd72f6e1657611195b87958f47069589
parent58e21d3e45c5227c2ca9ac00cf044f22a7975180
test: Add a new benchmarker targeting affine operations

Affine-bench is written by following the example of lowlevel-blt-bench.

Affine-bench differs from lowlevel-blt-bench in the following:
- does not test different sized operations fitting to specific caches,
  destination is always 1920x1080
- allows defining the affine transformation parameters
- carefully computes operation extents to hit the COVER_CLIP fast paths

Original version by Ben Avison. Changes by Pekka in v3:
- commit message
- style fixes
- more comments
- refactoring (e.g. bench_info_t)
- help output tweak

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Ben Avison <bavison@riscosopen.org>
.gitignore
test/Makefile.sources
test/affine-bench.c [new file with mode: 0644]