summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorfmalita <fmalita@chromium.org>2016-02-10 11:42:26 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-10 19:43:17 +0000
commit0c7e2f7bcee59d0f26ed86a0d87dce4e0800f2f2 (patch)
tree266980d9979261a1c0469352b72d41280a0a7d51 /skia
parent62c38d412f4501d5bf8411bf87ee1b81a3975cb8 (diff)
downloadchromium_src-0c7e2f7bcee59d0f26ed86a0d87dce4e0800f2f2.zip
chromium_src-0c7e2f7bcee59d0f26ed86a0d87dce4e0800f2f2.tar.gz
chromium_src-0c7e2f7bcee59d0f26ed86a0d87dce4e0800f2f2.tar.bz2
Remove SK_SUPPORT_LEGACY_HQ_DOWNSAMPLING
Switches Skia's software HQ downscaling algorithm from Mitchell to mipmaps. This is a good idea because 1) it aligns the results with Ganesh (which already uses mipmaps for downscaling) 2) mipmaps are cheaper/more efficient (to produce and to cache) 3) yields (arguably) sharper results, particularly when scaling to half size - which appears to be a common technique used for Retina-ready pages. BUG=583478,562162 R=reed@google.com,senorblanco@chromium.org Review URL: https://codereview.chromium.org/1511113004 Cr-Commit-Position: refs/heads/master@{#374703}
Diffstat (limited to 'skia')
-rw-r--r--skia/config/SkUserConfig.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index 16a392d..34564c9 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -228,10 +228,6 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_IGNORE_GPU_DITHER
#endif
-#ifndef SK_SUPPORT_LEGACY_HQ_DOWNSAMPLING
-# define SK_SUPPORT_LEGACY_HQ_DOWNSAMPLING
-#endif
-
#ifndef SK_SUPPORT_LEGACY_BITMAP_FILTER
# define SK_SUPPORT_LEGACY_BITMAP_FILTER
#endif