gfx/skia/patches/0006-Bug-848491-Re-apply-Bug-777614-Add-our-SkUserConfig..patch

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/patches/0006-Bug-848491-Re-apply-Bug-777614-Add-our-SkUserConfig..patch	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +From: George Wright <gw@gwright.org.uk>
     1.5 +Date: Thu, 25 Apr 2013 20:40:12 -0400
     1.6 +Subject: Bug 848491 - Re-apply Bug 777614 - Add our SkUserConfig.h
     1.7 +
     1.8 +
     1.9 +diff --git a/gfx/skia/include/config/SkUserConfig.h b/gfx/skia/include/config/SkUserConfig.h
    1.10 +index 63fc90d..c965e91 100644
    1.11 +--- a/gfx/skia/include/config/SkUserConfig.h
    1.12 ++++ b/gfx/skia/include/config/SkUserConfig.h
    1.13 +@@ -201,4 +201,14 @@
    1.14 +  */
    1.15 + //#define SK_SUPPORT_GPU 1
    1.16 + 
    1.17 ++/*  Don't dither 32bit gradients, to match what the canvas test suite expects.
    1.18 ++ */
    1.19 ++#define SK_DISABLE_DITHER_32BIT_GRADIENT
    1.20 ++
    1.21 ++/*  Don't include stdint.h on windows as it conflicts with our build system.
    1.22 ++ */
    1.23 ++#ifdef SK_BUILD_FOR_WIN32 
    1.24 ++    #define SK_IGNORE_STDINT_DOT_H 
    1.25 ++#endif 
    1.26 ++
    1.27 + #endif
    1.28 +-- 
    1.29 +1.7.11.7
    1.30 +

mercurial