Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 diff --git a/gfx/skia/include/config/SkUserConfig.h b/gfx/skia/include/config/SkUserConfig.h
2 --- a/gfx/skia/include/config/SkUserConfig.h
3 +++ b/gfx/skia/include/config/SkUserConfig.h
4 @@ -140,16 +140,20 @@
5 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST
6 which will run additional self-tests at startup. These can take a long time,
7 so this flag is optional.
8 */
9 #ifdef SK_DEBUG
10 //#define SK_SUPPORT_UNITTEST
11 #endif
13 +/* Don't dither 32bit gradients, to match what the canvas test suite expects.
14 + */
15 +#define SK_DISABLE_DITHER_32BIT_GRADIENT
16 +
17 /* If your system embeds skia and has complex event logging, define this
18 symbol to name a file that maps the following macros to your system's
19 equivalents:
20 SK_TRACE_EVENT0(event)
21 SK_TRACE_EVENT1(event, name1, value1)
22 SK_TRACE_EVENT2(event, name1, value1, name2, value2)
23 src/utils/SkDebugTrace.h has a trivial implementation that writes to
24 the debug output stream. If SK_USER_TRACE_INCLUDE_FILE is not defined,
25 @@ -161,9 +165,15 @@
26 */
27 #ifdef SK_SAMPLES_FOR_X
28 #define SK_R32_SHIFT 16
29 #define SK_G32_SHIFT 8
30 #define SK_B32_SHIFT 0
31 #define SK_A32_SHIFT 24
32 #endif
34 +/* Don't include stdint.h on windows as it conflicts with our build system.
35 + */
36 +#ifdef SK_BUILD_FOR_WIN32
37 + #define SK_IGNORE_STDINT_DOT_H
38 +#endif
39 +
40 #endif