tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pixman-interp.patch (836B)


      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
      4 @@ -1,17 +1,26 @@
      5 #ifndef PIXMAN_PRIVATE_H
      6 #define PIXMAN_PRIVATE_H
      7 
      8 /*
      9  * The defines which are shared between C and assembly code
     10  */
     11 
     12 -/* bilinear interpolation precision (must be < 8) */
     13 +/* bilinear interpolation precision (must be <= 8) */
     14 +#ifndef MOZILLA_VERSION
     15 +#error "Need mozilla headers"
     16 +#endif
     17 +#ifdef MOZ_GFX_OPTIMIZE_MOBILE
     18 +#define LOW_QUALITY_INTERPOLATION
     19 +#define LOWER_QUALITY_INTERPOLATION
     20 +#define BILINEAR_INTERPOLATION_BITS 4
     21 +#else
     22 #define BILINEAR_INTERPOLATION_BITS 7
     23 +#endif
     24 #define BILINEAR_INTERPOLATION_RANGE (1 << BILINEAR_INTERPOLATION_BITS)
     25 
     26 /*
     27  * C specific part
     28  */
     29 
     30 #ifndef __ASSEMBLER__