diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2011-03-11 07:52:57 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2011-04-18 16:27:29 -0400 |
commit | b455496890f7f941d561c284aca14783300bedd6 (patch) | |
tree | 49141f7f5ba4f615564e4385e87003f934829c65 /test | |
parent | e75e6a4ef5c5a8ac8b0e8464f08f83fd2b6e86ed (diff) |
Offset rendering in pixman_composite_trapezoids() by (x_dst, y_dst)
Previously, this function would do coordinate calculations in such a
way that (x_dst, y_dst) would only affect the alignment of the source
image, but not of the traps, which would always be considered to be in
absolute destination coordinates. This is unlike the
pixman_image_composite() function which also registers the mask to the
destination.
This patch makes it so that traps are also offset by (x_dst, y_dst).
Also add a comment explaining how this function is supposed to
operate, and update tri-test.c and composite-trap-test.c to deal with
the new semantics.
Diffstat (limited to 'test')
-rw-r--r-- | test/composite-traps-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/composite-traps-test.c b/test/composite-traps-test.c index cf30281..fa6d8a9 100644 --- a/test/composite-traps-test.c +++ b/test/composite-traps-test.c @@ -252,6 +252,6 @@ test_composite (int testnum, int main (int argc, const char *argv[]) { - return fuzzer_test_main("composite traps", 40000, 0xA34F95C7, + return fuzzer_test_main("composite traps", 40000, 0xE3112106, test_composite, argc, argv); } |