Revert "Lower the threshold to raster cache pictures (#7687)" (flutter/engine#7701)

This reverts commit bea2385879.
This commit is contained in:
liyuqian
2019-02-05 16:02:44 -08:00
committed by GitHub
parent 8179839995
commit f2d2383aee

View File

@@ -84,7 +84,7 @@ static bool IsPictureWorthRasterizing(SkPicture* picture,
// TODO(abarth): We should find a better heuristic here that lets us avoid
// wasting memory on trivial layers that are easy to re-rasterize every frame.
return picture->approximateOpCount() > 5;
return picture->approximateOpCount() > 10;
}
static RasterCacheResult Rasterize(