summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreed <reed@google.com>2015-05-06 12:56:20 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-06 19:57:55 +0000
commitd7c41c74cd78f5da5eea8a31c52ce3e587e28750 (patch)
treefc1b7c4752aa31f9bbe6dd265738846a349118e1
parent24bc6a1df2048ee8feeb1d837cdfddd2e9d0cde1 (diff)
downloadchromium_src-d7c41c74cd78f5da5eea8a31c52ce3e587e28750.zip
chromium_src-d7c41c74cd78f5da5eea8a31c52ce3e587e28750.tar.gz
chromium_src-d7c41c74cd78f5da5eea8a31c52ce3e587e28750.tar.bz2
add flag to guard new miplevel code
for skia change https://codereview.chromium.org/1131613002/ BUG= NOTRY=True win failure unrelated to this CL Review URL: https://codereview.chromium.org/1131663002 Cr-Commit-Position: refs/heads/master@{#328590}
-rw-r--r--skia/config/SkUserConfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index 84c28b8..e5acf00 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -249,6 +249,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_LEGACY_DRAWPICTURECALLBACK
#endif
+#ifndef SK_SUPPORT_LEGACY_ROUND_MIPMAP_LEVEL_CHOICE
+# define SK_SUPPORT_LEGACY_ROUND_MIPMAP_LEVEL_CHOICE
+#endif
+
#ifndef SK_SUPPORT_LEGACY_GETDEVICE
# define SK_SUPPORT_LEGACY_GETDEVICE
#endif