diff options
author | senorblanco <senorblanco@chromium.org> | 2016-01-12 12:12:56 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-12 12:12:56 -0800 |
commit | 8d30dae5a0beab5015620929ba29949e2ccba903 (patch) | |
tree | ce601af0c9b257f62c291c2743b9936aea28a894 | |
parent | eeebfff54877b24151570c4f02b2299e3f9ef967 (diff) |
Remove #ifdef SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION.
No longer enabled in Chrome.
BUG=569950
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1580843002
Review URL: https://codereview.chromium.org/1580843002
-rw-r--r-- | src/effects/SkTileImageFilter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/effects/SkTileImageFilter.cpp b/src/effects/SkTileImageFilter.cpp index 844895c6d8..6da572b3b8 100644 --- a/src/effects/SkTileImageFilter.cpp +++ b/src/effects/SkTileImageFilter.cpp @@ -46,12 +46,10 @@ bool SkTileImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src, SkRect dstRect; ctx.ctm().mapRect(&dstRect, fDstRect); -#ifndef SK_DISABLE_TILE_IMAGE_FILTER_DEST_OPTIMIZATION if (!dstRect.intersect(SkRect::Make(ctx.clipBounds()))) { offset->fX = offset->fY = 0; return true; } -#endif const SkIRect dstIRect = dstRect.roundOut(); int w = dstIRect.width(); int h = dstIRect.height(); |