1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/patches/archive/0003-SkUserConfig-for-Mozilla.patch Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +From ef53776c06cffc7607c3777702f93e04c0852981 Mon Sep 17 00:00:00 2001 1.5 +From: George Wright <gwright@mozilla.com> 1.6 +Date: Fri, 18 May 2012 14:13:49 -0400 1.7 +Subject: [PATCH 03/10] Bug 755869 - [6] Re-apply SkUserConfig (no 1.8 + original bug) r=mattwoodrow 1.9 + 1.10 +--- 1.11 + gfx/skia/include/config/SkUserConfig.h | 10 ++++++++++ 1.12 + 1 files changed, 10 insertions(+), 0 deletions(-) 1.13 + 1.14 +diff --git a/gfx/skia/include/config/SkUserConfig.h b/gfx/skia/include/config/SkUserConfig.h 1.15 +index 9fdbd0a..f98ba85 100644 1.16 +--- a/gfx/skia/include/config/SkUserConfig.h 1.17 ++++ b/gfx/skia/include/config/SkUserConfig.h 1.18 +@@ -156,6 +156,10 @@ 1.19 + //#define SK_SUPPORT_UNITTEST 1.20 + #endif 1.21 + 1.22 ++/* Don't dither 32bit gradients, to match what the canvas test suite expects. 1.23 ++ */ 1.24 ++#define SK_DISABLE_DITHER_32BIT_GRADIENT 1.25 ++ 1.26 + /* If your system embeds skia and has complex event logging, define this 1.27 + symbol to name a file that maps the following macros to your system's 1.28 + equivalents: 1.29 +@@ -177,4 +181,10 @@ 1.30 + #define SK_A32_SHIFT 24 1.31 + #endif 1.32 + 1.33 ++/* Don't include stdint.h on windows as it conflicts with our build system. 1.34 ++ */ 1.35 ++#ifdef SK_BUILD_FOR_WIN32 1.36 ++ #define SK_IGNORE_STDINT_DOT_H 1.37 ++#endif 1.38 ++ 1.39 + #endif 1.40 +-- 1.41 +1.7.5.4 1.42 +