Bug 777614 - Re-add our SkUserConfig.h r=nrc
authorGeorge Wright <gw@gwright.org.uk>
Thu, 13 Sep 2012 22:33:38 -0400
changeset 107518 e97b0f59229e451886e75b0a58dc4838ae0357cb
parent 107517 81b2a9d689799669d2635daff3ede4fccdd512a6
child 107519 a05f2097764cffbb564540df58bd681e74aa769c
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
reviewersnrc
bugs777614
milestone18.0a1
Bug 777614 - Re-add our SkUserConfig.h r=nrc
gfx/skia/include/config/SkUserConfig.h
--- a/gfx/skia/include/config/SkUserConfig.h
+++ b/gfx/skia/include/config/SkUserConfig.h
@@ -179,10 +179,21 @@
 
 /* Determines whether to build code that supports the GPU backend. Some classes
    that are not GPU-specific, such as SkShader subclasses, have optional code
    that is used allows them to interact with the GPU backend. If you'd like to
    omit this code set SK_SUPPORT_GPU to 0. This also allows you to omit the gpu
    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