forked from firka/flutter
Revert "Lower the threshold to raster cache pictures (#7687)" (flutter/engine#7701)
This reverts commit bea2385879.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user