Make pix_add_mul() in pixman-mmx.c produce exact results.
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Fri, 7 Aug 2009 02:42:25 +0000 (22:42 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Sat, 8 Aug 2009 22:50:17 +0000 (18:50 -0400)
commita075a870fd7e1fa70ae176d5089c695011667388
tree975f8ad095751b94cff6f032107a4135a6e61874
parentf7463ffafb8876c1f47ed9c527df33d45255e16c
Make pix_add_mul() in pixman-mmx.c produce exact results.

Previously this routine would compute (x * a + y * b) / 255. Now it
computes (x * a) / 255 + (y * b) / 255, so that the results are
bitwise equivalent to the non-mmx versions.
pixman/pixman-mmx.c