Add PIXMAN_x8b8g8r8 and PIXMAN_a8b8g8r8 formats to scaling-test
authorSøren Sandmann Pedersen <ssp@redhat.com>
Wed, 19 Sep 2012 23:26:49 +0000 (19:26 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Sun, 23 Sep 2012 03:40:52 +0000 (23:40 -0400)
commit35be7acb660228d4e350b5806c81e55606352e0d
tree40fc1374d3b4f52e913fd4c919b1c370e943b6e1
parent9decb9a97975ae6bf25a42c0fd2eaa21b166c36d
Add PIXMAN_x8b8g8r8 and PIXMAN_a8b8g8r8 formats to scaling-test

Update the CRC values based on what the general implementation
reports. This reveals a bug in the fast implementation:

    % env PIXMAN_DISABLE="mmx sse2" ./test/scaling-test
    pixman: Disabled mmx implementation
    pixman: Disabled sse2 implementation
    scaling test failed! (checksum=AA722B06, expected 03A23E0C)

vs.

    % env PIXMAN_DISABLE="mmx sse2 fast" ./test/scaling-test
    pixman: Disabled fast implementation
    pixman: Disabled mmx implementation
    pixman: Disabled sse2 implementation
    scaling test passed (checksum=03A23E0C)

Reviewed-by: Matt Turner <mattst88@gmail.com>
test/scaling-test.c