summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorcaryclark <caryclark@google.com>2016-01-12 11:06:15 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-12 19:07:11 +0000
commit2b1553885ea734afa886e19f0545a4814b66651f (patch)
tree2b246d7388c507bf3bda9c9b73b7adaec7bf59e5 /skia
parentdc99c3d319fb3efa784dc34b252d7993ef1de641 (diff)
downloadchromium_src-2b1553885ea734afa886e19f0545a4814b66651f.zip
chromium_src-2b1553885ea734afa886e19f0545a4814b66651f.tar.gz
chromium_src-2b1553885ea734afa886e19f0545a4814b66651f.tar.bz2
add legacy bitmap filter flag for skia
An upcoming Skia CL improves the performance for filtered bitmaps. Rearranging some expressions that compute the filter kernel causes 0.01% - 0.02% of the pixels to differ by (1,1,1). This changes around 240 layout test results. Suppress the Skia CL with this guard until the tests can be rebaselined. R=fmalita@chromium.org BUG=skia:2261 Review URL: https://codereview.chromium.org/1583533002 Cr-Commit-Position: refs/heads/master@{#368932}
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 28c2cea..741f73d 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -234,6 +234,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_SUPPORT_LEGACY_PATH_MEASURE_TVALUE
#endif
+#ifndef SK_SUPPORT_LEGACY_BITMAP_FILTER
+# define SK_SUPPORT_LEGACY_BITMAP_FILTER
+#endif
+
///////////////////////// Imported from BUILD.gn and skia_common.gypi
/* In some places Skia can use static initializers for global initialization,