affine-bench: remove 8e margin from COVER area
authorBen Avison <bavison@riscosopen.org>
Fri, 4 Sep 2015 02:09:20 +0000 (03:09 +0100)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 25 Sep 2015 11:26:04 +0000 (14:26 +0300)
commit2876d8d3dd6a71cb9eb3ac93e5b9c18b71a452da
tree8177094b6196874e5c746c7e2061f30646e455fc
parent0e2e9751282b19280c92be4a80c5ae476bae0ce4
affine-bench: remove 8e margin from COVER area

Patch "Remove the 8e extra safety margin in COVER_CLIP analysis" reduced
the required image area for setting the COVER flags in
pixman.c:analyze_extent(). Do the same reduction in affine-bench.

Leaving the old calculations in place would be very confusing for anyone
reading the code.

Also add a comment that explains how affine-bench wants to hit the COVER
paths. This explains why the intricate extent calculations are copied
from pixman.c.

[Pekka: split patch, change comments, write commit message]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Ben Avison <bavison@riscosopen.org>
test/affine-bench.c