gfx/skia/patches/archive/0001-Bug-777614-Re-add-our-SkUserConfig.h-r-nrc.patch

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:b4acabfa67a2
1 From 2dd8c789fc4ad3b5323c2c29f3e982d185f5b5d9 Mon Sep 17 00:00:00 2001
2 From: George Wright <gw@gwright.org.uk>
3 Date: Thu, 13 Sep 2012 22:33:38 -0400
4 Subject: [PATCH 1/9] Bug 777614 - Re-add our SkUserConfig.h r=nrc
5
6 ---
7 gfx/skia/include/config/SkUserConfig.h | 13 ++++++++++++-
8 1 file changed, 12 insertions(+), 1 deletion(-)
9
10 diff --git a/gfx/skia/include/config/SkUserConfig.h b/gfx/skia/include/config/SkUserConfig.h
11 index 353272c..fbfbfe0 100644
12 --- a/gfx/skia/include/config/SkUserConfig.h
13 +++ b/gfx/skia/include/config/SkUserConfig.h
14 @@ -184,5 +184,16 @@
15 directories from your include search path when you're not building the GPU
16 backend. Defaults to 1 (build the GPU code).
17 */
18 -//#define SK_SUPPORT_GPU 1
19 +#define SK_SUPPORT_GPU 0
20 +
21 +/* Don't dither 32bit gradients, to match what the canvas test suite expects.
22 + */
23 +#define SK_DISABLE_DITHER_32BIT_GRADIENT
24 +
25 +/* Don't include stdint.h on windows as it conflicts with our build system.
26 + */
27 +#ifdef SK_BUILD_FOR_WIN32
28 + #define SK_IGNORE_STDINT_DOT_H
29 +#endif
30 +
31 #endif
32 --
33 1.7.11.4
34

mercurial