Set maximum output size for scaled-image-cache images
authorhalcanary <halcanary@google.com>
Thu, 17 Jul 2014 13:58:01 +0000 (06:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 17 Jul 2014 13:58:01 +0000 (06:58 -0700)
commit805ef159d197007b9529e60e5b918ee0f9d3802d
tree251ff1b8317b3a77752020252f119385e3f5b413
parent3f376a55002c205aacacc4cb16ed745e3afbad31
Set maximum output size for scaled-image-cache images

Accessable via:
  SkScaledImageCache::{G,S}etMaximumOutputSizeForHighQualityFilter

Also, a unit test.

BUG=389439
R=humper@google.com, tomhudson@google.com, reveman@chromium.org, vangelis@chromium.org, reed@google.com

Author: halcanary@google.com

Review URL: https://codereview.chromium.org/394003003
bench/ImageCacheBench.cpp
gyp/tests.gypi
include/core/SkGraphics.h
src/core/SkBitmapProcState.cpp
src/core/SkScaledImageCache.cpp
src/core/SkScaledImageCache.h
tests/ImageCacheTest.cpp
tests/ScaledImageCache.cpp [new file with mode: 0644]