Commit Graph

4 Commits

Author SHA1 Message Date
Nicholas Cameron
1fdec21677 Bug 897787. Test changes. r=roc 2013-08-01 16:22:48 +12:00
Nicholas Cameron
7ad13a17b8 Bug 700926. Refactor image sizing to be closer to the spec and not tied to backgrounds. r=roc 2013-07-19 20:39:58 +12:00
Jeff Muizelaar
2f5526f4c1 Bug 689707. Use lower precision bilinear interpolation. r=joe
This takes the bilinear interpolation code from Skia. It
uses 4 bits of precision instead of 8. This lets it interpolate
two components at a time because the results fit in 16 bits.

The lower precision code is only used in the fallback code
and not in any of the specialized code for NEON. This means
pixman gives different results depending on the cpu which isn't
great. However, this was easiest and the NEON code doesn't
gain as much from using lower precision.

Skia actually uses even lower interpolation when working with
565 but that's harder to plug in right now, and this gives
a reasonable improvement.
2012-05-10 22:12:52 -04:00
Markus Stange
18b33849f1 Bug 506826 - Tests. 2010-08-13 15:36:19 +02:00