summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorreed <reed@google.com>2014-09-22 07:51:21 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-22 14:51:37 +0000
commit568777ccc9dd7259df3286917aaa1e8d3df5f7d6 (patch)
tree3478c9a8a07f047fea9f285f0866a6b7d00a9d7f /skia
parente275624158e664f5845047ad40ac0a07f5c06d7c (diff)
downloadchromium_src-568777ccc9dd7259df3286917aaa1e8d3df5f7d6.zip
chromium_src-568777ccc9dd7259df3286917aaa1e8d3df5f7d6.tar.gz
chromium_src-568777ccc9dd7259df3286917aaa1e8d3df5f7d6.tar.bz2
move build flags into chrome's SkUserConfig
BUG= Review URL: https://codereview.chromium.org/587173008 Cr-Commit-Position: refs/heads/master@{#295971}
Diffstat (limited to 'skia')
-rw-r--r--skia/config/SkUserConfig.h41
1 files changed, 37 insertions, 4 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index a8c2ffd..7268049 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -249,14 +249,47 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
//
// Remove these as we update our sites.
//
-#ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE
- #define SK_SUPPORT_LEGACY_GETTOPDEVICE
+#ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE
+# define SK_SUPPORT_LEGACY_GETTOPDEVICE
#endif
-#ifndef SK_SUPPORT_LEGACY_GETDEVICE
- #define SK_SUPPORT_LEGACY_GETDEVICE
+#ifndef SK_SUPPORT_LEGACY_GETDEVICE
+# define SK_SUPPORT_LEGACY_GETDEVICE
#endif
+#ifndef SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS
+# define SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS
+#endif
+
+#ifndef SK_IGNORE_PROPER_FRACTIONAL_SCALING
+# define SK_IGNORE_PROPER_FRACTIONAL_SCALING
+#endif
+
+#ifndef SK_SUPPORT_LEGACY_PICTURE_CLONE
+# define SK_SUPPORT_LEGACY_PICTURE_CLONE
+#endif
+
+#ifndef SK_IGNORE_ETC1_SUPPORT
+# define SK_IGNORE_ETC1_SUPPORT
+#endif
+
+#ifndef SK_IGNORE_GPU_DITHER
+# define SK_IGNORE_GPU_DITHER
+#endif
+
+#ifndef SK_SUPPORT_LEGACY_IMAGECACHE_NAME
+# define SK_SUPPORT_LEGACY_IMAGECACHE_NAME
+#endif
+
+#ifndef SK_LEGACY_PICTURE_SIZE_API
+# define SK_LEGACY_PICTURE_SIZE_API
+#endif
+
+#ifndef SK_LEGACY_PICTURE_DRAW_API
+# define SK_LEGACY_PICTURE_DRAW_API
+#endif
+
+
// Turns SkPicture::clone() into a simple "return SkRef(this);" as a way to
// test the threadsafety of SkPicture playback.
#define SK_PICTURE_CLONE_NOOP 1