test: Composite with solid images instead of using pixman_image_fill_*
authorSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 24 May 2012 19:30:41 +0000 (15:30 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 24 May 2012 19:30:41 +0000 (15:30 -0400)
commit1e59e18d73a6e45729a99fe6ccc74d61631ff5f0
tree2652e85d763cabc4a0a91c79f110f47cbf52b4c3
parent30816e3068bccf7c78c78f916b54971d24873bdc
test: Composite with solid images instead of using pixman_image_fill_*

There is a couple of places where the test suite uses the
pixman_image_fill_* functions to initialize images. These functions
can fail, and will do so if the "fast" implementation is disabled.

So to make sure the test suite passes even using
PIXMAN_DISABLE="fast", use pixman_image_composite32() with a solid
image instead of pixman_image_fill_*.
test/composite.c
test/scaling-crash-test.c