aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ImageTest.cpp
diff options
context:
space:
mode:
authorGravatar senorblanco <senorblanco@chromium.org>2016-01-06 09:46:24 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-06 09:46:24 -0800
commitb50b97d70a62d90f5266113c9a5ba6cd1b912edd (patch)
tree79106c2d25862fbf98e8996786e263d154da3dd4 /tests/ImageTest.cpp
parent5b1dec7cde2fae7b48618407cb4ff5a644ca28d2 (diff)
Optimize SkTileImageFilter destination bitmap size.
The destination bitmap size was not being clipped by the clip bounds, so tiled rendering (ie., clipping to a small region and rendering a SkTileImageFilter with a large dstRect) was much slower than non-tiled rendering. Correctness is covered by unit test ImageFilterDrawTiled, and performance by TileImageFilterBench. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1563873002 Review URL: https://codereview.chromium.org/1563873002
Diffstat (limited to 'tests/ImageTest.cpp')
0 files changed, 0 insertions, 0 deletions