Index: skia/config/SkUserConfig.h |
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h |
index 8b4046a602b582aed10d9e476ffe6464fdce16e9..cb19ff52efdaf7e257058eef13e7c8cc6353deeb 100644 |
--- a/skia/config/SkUserConfig.h |
+++ b/skia/config/SkUserConfig.h |
@@ -138,6 +138,16 @@ |
#define SK_SUPPORT_UNITTEST |
#endif |
+/* If cross process SkPictureImageFilters are not explicitly enabled then |
+ they are always disabled. |
+ */ |
+#ifndef SK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS |
+ #ifndef SK_DISALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS |
+ #define SK_DISALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS |
+ #endif |
+#endif |
+ |
+ |
/* If your system embeds skia and has complex event logging, define this |
symbol to name a file that maps the following macros to your system's |
equivalents: |
@@ -269,6 +279,26 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal, |
# define SK_IGNORE_GPU_DITHER |
#endif |
+#ifndef SK_SUPPORT_LEGACY_ADDOVAL |
+# define SK_SUPPORT_LEGACY_ADDOVAL |
+#endif |
+ |
+#ifndef SK_SUPPORT_LEGACY_ADDRRECT |
+# define SK_SUPPORT_LEGACY_ADDRRECT |
+#endif |
+ |
+#ifndef SK_IGNORE_GPU_LAYER_HOISTING |
+# define SK_IGNORE_GPU_LAYER_HOISTING |
+#endif |
+ |
+#ifndef SK_SUPPORT_LEGACY_DRAWDATA |
+# define SK_SUPPORT_LEGACY_DRAWDATA |
+#endif |
+ |
+#ifndef SK_SUPPORT_LEGACY_CANVAS_VIRTUAL |
+# define SK_SUPPORT_LEGACY_CANVAS_VIRTUAL |
+#endif |
+ |
// If this goes well, we can have Skia respect DYNAMIC_ANNOTATIONS_ENABLED directly. |
#if DYNAMIC_ANNOTATIONS_ENABLED |
# define SK_DYNAMIC_ANNOTATIONS_ENABLED 1 |