1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/patches/archive/0001-Bug-777614-Re-add-our-SkUserConfig.h-r-nrc.patch Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +From 2dd8c789fc4ad3b5323c2c29f3e982d185f5b5d9 Mon Sep 17 00:00:00 2001 1.5 +From: George Wright <gw@gwright.org.uk> 1.6 +Date: Thu, 13 Sep 2012 22:33:38 -0400 1.7 +Subject: [PATCH 1/9] Bug 777614 - Re-add our SkUserConfig.h r=nrc 1.8 + 1.9 +--- 1.10 + gfx/skia/include/config/SkUserConfig.h | 13 ++++++++++++- 1.11 + 1 file changed, 12 insertions(+), 1 deletion(-) 1.12 + 1.13 +diff --git a/gfx/skia/include/config/SkUserConfig.h b/gfx/skia/include/config/SkUserConfig.h 1.14 +index 353272c..fbfbfe0 100644 1.15 +--- a/gfx/skia/include/config/SkUserConfig.h 1.16 ++++ b/gfx/skia/include/config/SkUserConfig.h 1.17 +@@ -184,5 +184,16 @@ 1.18 + directories from your include search path when you're not building the GPU 1.19 + backend. Defaults to 1 (build the GPU code). 1.20 + */ 1.21 +-//#define SK_SUPPORT_GPU 1 1.22 ++#define SK_SUPPORT_GPU 0 1.23 ++ 1.24 ++/* Don't dither 32bit gradients, to match what the canvas test suite expects. 1.25 ++ */ 1.26 ++#define SK_DISABLE_DITHER_32BIT_GRADIENT 1.27 ++ 1.28 ++/* Don't include stdint.h on windows as it conflicts with our build system. 1.29 ++ */ 1.30 ++#ifdef SK_BUILD_FOR_WIN32 1.31 ++ #define SK_IGNORE_STDINT_DOT_H 1.32 ++#endif 1.33 ++ 1.34 + #endif 1.35 +-- 1.36 +1.7.11.4 1.37 +