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
This commit is contained in:
parent
eeebfff548
commit
8d30dae5a0
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user