Bug 829035. Reduce pixman bilinear precision to match upstream.
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Thu, 10 Jan 2013 10:40:40 -0500
changeset 118412 9da8f50d3750fa79853cdacd5b9aa7cdd6196576
parent 118411 4e1fe4baad60a7cf90b03cca3a91dc23aaf8d5c2
child 118413 f3d89d6870e69563af14e0d97ef80f0528c09d78
push id24166
push userMs2ger@gmail.com
push dateFri, 11 Jan 2013 13:57:41 +0000
treeherdermozilla-central@63c4b0f66a0c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs829035
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 829035. Reduce pixman bilinear precision to match upstream.
gfx/cairo/libpixman/src/pixman-private.h
--- a/gfx/cairo/libpixman/src/pixman-private.h
+++ b/gfx/cairo/libpixman/src/pixman-private.h
@@ -6,17 +6,17 @@
  */
 
 /* bilinear interpolation precision (must be <= 8) */
 #ifdef MOZ_GFX_OPTIMIZE_MOBILE
 #define LOW_QUALITY_INTERPOLATION
 #define LOWER_QUALITY_INTERPOLATION
 #define BILINEAR_INTERPOLATION_BITS 4
 #else
-#define BILINEAR_INTERPOLATION_BITS 8
+#define BILINEAR_INTERPOLATION_BITS 7
 #endif
 #define BILINEAR_INTERPOLATION_RANGE (1 << BILINEAR_INTERPOLATION_BITS)
 
 /*
  * C specific part
  */
 
 #ifndef __ASSEMBLER__