gecko-dev/gfx/skia/patches/archive/0001-Bug-777614-Re-add-our-...

35 строки
1.0 KiB
Diff

From 2dd8c789fc4ad3b5323c2c29f3e982d185f5b5d9 Mon Sep 17 00:00:00 2001
From: George Wright <gw@gwright.org.uk>
Date: Thu, 13 Sep 2012 22:33:38 -0400
Subject: [PATCH 1/9] Bug 777614 - Re-add our SkUserConfig.h r=nrc
---
gfx/skia/include/config/SkUserConfig.h | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gfx/skia/include/config/SkUserConfig.h b/gfx/skia/include/config/SkUserConfig.h
index 353272c..fbfbfe0 100644
--- a/gfx/skia/include/config/SkUserConfig.h
+++ b/gfx/skia/include/config/SkUserConfig.h
@@ -184,5 +184,16 @@
directories from your include search path when you're not building the GPU
backend. Defaults to 1 (build the GPU code).
*/
-//#define SK_SUPPORT_GPU 1
+#define SK_SUPPORT_GPU 0
+
+/* Don't dither 32bit gradients, to match what the canvas test suite expects.
+ */
+#define SK_DISABLE_DITHER_32BIT_GRADIENT
+
+/* Don't include stdint.h on windows as it conflicts with our build system.
+ */
+#ifdef SK_BUILD_FOR_WIN32
+ #define SK_IGNORE_STDINT_DOT_H
+#endif
+
#endif
--
1.7.11.4