Second attempt to land the integral image scaling change.
authorhumper <humper@google.com>
Thu, 28 Aug 2014 21:27:42 +0000 (14:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 28 Aug 2014 21:27:42 +0000 (14:27 -0700)
commitd73c169637f1ab0b96bae43269da7216bb93a7e1
tree673a5affaf7d1db167e8f759b10b16bf3ecf9d35
parent0209e95cc2625a445c1cb6c4213d2182e5c832d7
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
expectations/gm/ignored-tests.txt
gm/downsamplebitmap.cpp
gyp/skia_for_chromium_defines.gypi
src/core/SkBitmapProcState.cpp
src/core/SkBitmapProcState.h
tests/ScaledImageCache.cpp