summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorsenorblanco <senorblanco@chromium.org>2015-12-08 17:58:47 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-09 01:59:54 +0000
commit1dcc86d3f883d7d86226f9fc7b5cae1b44185340 (patch)
treecbdd48f574c3daad3e471162376058cb9a31133f /skia
parentd5b724e4859e5d472cd885d912c93a682b6ec17b (diff)
downloadchromium_src-1dcc86d3f883d7d86226f9fc7b5cae1b44185340.zip
chromium_src-1dcc86d3f883d7d86226f9fc7b5cae1b44185340.tar.gz
chromium_src-1dcc86d3f883d7d86226f9fc7b5cae1b44185340.tar.bz2
Add SK_SUPPORT_SRC_BOUNDS_BLOAT_FOR_IMAGEFILTERS to SkUserConfig.h
An upcoming Skia change will obviate the need for this #define, and we'll remove it and rebaseline. TBR=robertphillips@google.com BUG=skia:3194 Review URL: https://codereview.chromium.org/1513593002 Cr-Commit-Position: refs/heads/master@{#363900}
Diffstat (limited to 'skia')
-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 73a9284..1d5d21d 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -241,6 +241,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
*/
#define SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION
+/* Disable tight bounds for saveLayer offscreens in Skia until rebaselining is done.
+ */
+#define SK_SUPPORT_SRC_BOUNDS_BLOAT_FOR_IMAGEFILTERS
+
/* This flag forces Skia not to use typographic metrics with GDI.
*/
#define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS