1 diff --git a/gfx/cairo/libpixman/src/pixman-private.h b/gfx/cairo/libpixman/src/pixman-private.h
2 --- a/gfx/cairo/libpixman/src/pixman-private.h
3 +++ b/gfx/cairo/libpixman/src/pixman-private.h
5 #ifndef PIXMAN_PRIVATE_H
6 #define PIXMAN_PRIVATE_H
9 * The defines which are shared between C and assembly code
12 -/* bilinear interpolation precision (must be < 8) */
13 +/* bilinear interpolation precision (must be <= 8) */
14 +#ifndef MOZILLA_VERSION
15 +#error "Need mozilla headers"
17 +#ifdef MOZ_GFX_OPTIMIZE_MOBILE
18 +#define LOW_QUALITY_INTERPOLATION
19 +#define LOWER_QUALITY_INTERPOLATION
20 +#define BILINEAR_INTERPOLATION_BITS 4
22 #define BILINEAR_INTERPOLATION_BITS 7
24 #define BILINEAR_INTERPOLATION_RANGE (1 << BILINEAR_INTERPOLATION_BITS)