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

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 From: George Wright <gw@gwright.org.uk>
michael@0 2 Date: Thu, 25 Apr 2013 20:40:12 -0400
michael@0 3 Subject: Bug 848491 - Re-apply Bug 777614 - Add our SkUserConfig.h
michael@0 4
michael@0 5
michael@0 6 diff --git a/gfx/skia/include/config/SkUserConfig.h b/gfx/skia/include/config/SkUserConfig.h
michael@0 7 index 63fc90d..c965e91 100644
michael@0 8 --- a/gfx/skia/include/config/SkUserConfig.h
michael@0 9 +++ b/gfx/skia/include/config/SkUserConfig.h
michael@0 10 @@ -201,4 +201,14 @@
michael@0 11 */
michael@0 12 //#define SK_SUPPORT_GPU 1
michael@0 13
michael@0 14 +/* Don't dither 32bit gradients, to match what the canvas test suite expects.
michael@0 15 + */
michael@0 16 +#define SK_DISABLE_DITHER_32BIT_GRADIENT
michael@0 17 +
michael@0 18 +/* Don't include stdint.h on windows as it conflicts with our build system.
michael@0 19 + */
michael@0 20 +#ifdef SK_BUILD_FOR_WIN32
michael@0 21 + #define SK_IGNORE_STDINT_DOT_H
michael@0 22 +#endif
michael@0 23 +
michael@0 24 #endif
michael@0 25 --
michael@0 26 1.7.11.7
michael@0 27

mercurial