diff options
author | 2014-08-28 14:27:42 -0700 | |
---|---|---|
committer | 2014-08-28 14:27:42 -0700 | |
commit | d73c169637f1ab0b96bae43269da7216bb93a7e1 (patch) | |
tree | 673a5affaf7d1db167e8f759b10b16bf3ecf9d35 /gyp | |
parent | 0209e95cc2625a445c1cb6c4213d2182e5c832d7 (diff) |
Second attempt to land the integral image scaling change.
Scale all images to the nearest rounded integer, and if there's still
any scaling factor left over, pass it on to the subsequent bilerp code.
Should avoid artifacts when tiling scaled images.
Original CL received an LGTM from reed; new version disabled tiling
in the downsamplebitmap GM; I verified that this fixes the issue
we were seeing there on non-neon androids.
BUG=skia:2888
R=reed@android.com
TBR=reed
Author: humper@google.com
Review URL: https://codereview.chromium.org/514383003
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/skia_for_chromium_defines.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/skia_for_chromium_defines.gypi b/gyp/skia_for_chromium_defines.gypi index 25c44804df..7d21666fce 100644 --- a/gyp/skia_for_chromium_defines.gypi +++ b/gyp/skia_for_chromium_defines.gypi @@ -13,6 +13,7 @@ # If these become 'permanent', they should be moved into skia_common.gypi # 'skia_for_chromium_defines': [ + 'SK_IGNORE_PROPER_FRACTIONAL_SCALING', 'SK_SUPPORT_LEGACY_PICTURE_CLONE', 'SK_SUPPORT_LEGACY_GETDEVICE', 'SK_IGNORE_ETC1_SUPPORT', |