1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/patches/archive/user-config.patch Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +diff --git a/gfx/skia/include/config/SkUserConfig.h b/gfx/skia/include/config/SkUserConfig.h 1.5 +--- a/gfx/skia/include/config/SkUserConfig.h 1.6 ++++ b/gfx/skia/include/config/SkUserConfig.h 1.7 +@@ -140,16 +140,20 @@ 1.8 + /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST 1.9 + which will run additional self-tests at startup. These can take a long time, 1.10 + so this flag is optional. 1.11 + */ 1.12 + #ifdef SK_DEBUG 1.13 + //#define SK_SUPPORT_UNITTEST 1.14 + #endif 1.15 + 1.16 ++/* Don't dither 32bit gradients, to match what the canvas test suite expects. 1.17 ++ */ 1.18 ++#define SK_DISABLE_DITHER_32BIT_GRADIENT 1.19 ++ 1.20 + /* If your system embeds skia and has complex event logging, define this 1.21 + symbol to name a file that maps the following macros to your system's 1.22 + equivalents: 1.23 + SK_TRACE_EVENT0(event) 1.24 + SK_TRACE_EVENT1(event, name1, value1) 1.25 + SK_TRACE_EVENT2(event, name1, value1, name2, value2) 1.26 + src/utils/SkDebugTrace.h has a trivial implementation that writes to 1.27 + the debug output stream. If SK_USER_TRACE_INCLUDE_FILE is not defined, 1.28 +@@ -161,9 +165,15 @@ 1.29 + */ 1.30 + #ifdef SK_SAMPLES_FOR_X 1.31 + #define SK_R32_SHIFT 16 1.32 + #define SK_G32_SHIFT 8 1.33 + #define SK_B32_SHIFT 0 1.34 + #define SK_A32_SHIFT 24 1.35 + #endif 1.36 + 1.37 ++/* Don't include stdint.h on windows as it conflicts with our build system. 1.38 ++ */ 1.39 ++#ifdef SK_BUILD_FOR_WIN32 1.40 ++ #define SK_IGNORE_STDINT_DOT_H 1.41 ++#endif 1.42 ++ 1.43 + #endif