tor-browser

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

0003-SkUserConfig-for-Mozilla.patch (1181B)


      1 From ef53776c06cffc7607c3777702f93e04c0852981 Mon Sep 17 00:00:00 2001
      2 From: George Wright <gwright@mozilla.com>
      3 Date: Fri, 18 May 2012 14:13:49 -0400
      4 Subject: [PATCH 03/10]     Bug 755869 - [6] Re-apply SkUserConfig (no
      5 original bug) r=mattwoodrow
      6 
      7 ---
      8 gfx/skia/include/config/SkUserConfig.h |   10 ++++++++++
      9 1 files changed, 10 insertions(+), 0 deletions(-)
     10 
     11 diff --git a/gfx/skia/include/config/SkUserConfig.h b/gfx/skia/include/config/SkUserConfig.h
     12 index 9fdbd0a..f98ba85 100644
     13 --- a/gfx/skia/include/config/SkUserConfig.h
     14 +++ b/gfx/skia/include/config/SkUserConfig.h
     15 @@ -156,6 +156,10 @@
     16 //#define SK_SUPPORT_UNITTEST
     17 #endif
     18 
     19 +/*  Don't dither 32bit gradients, to match what the canvas test suite expects.
     20 + */
     21 +#define SK_DISABLE_DITHER_32BIT_GRADIENT
     22 +
     23 /* If your system embeds skia and has complex event logging, define this
     24    symbol to name a file that maps the following macros to your system's
     25    equivalents:
     26 @@ -177,4 +181,10 @@
     27         #define SK_A32_SHIFT    24
     28 #endif
     29 
     30 +/*  Don't include stdint.h on windows as it conflicts with our build system.
     31 + */
     32 +#ifdef SK_BUILD_FOR_WIN32 
     33 +    #define SK_IGNORE_STDINT_DOT_H 
     34 +#endif 
     35 +
     36 #endif
     37 -- 
     38 1.7.5.4