Skip to content

Commit

Permalink
Revert "Lower the threshold to raster cache pictures (flutter#7687)" (f…
Browse files Browse the repository at this point in the history
…lutter#7701)

This reverts commit 2f18c32.
  • Loading branch information
liyuqian authored Feb 6, 2019
1 parent 3dbc375 commit 68d9ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/raster_cache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 68d9ac4

Please sign in to comment.