skia2/modules
Chris Dalton 062d2d9a5d Bump default GrResourceCache size to 256MB
Consider rendering an SkPicture to a 1080p, 4x msaa render target:

  1920 * 1080 * (4 color bytes + 1 stencil byte) * 4 samples = 40Mb!

But SkCanvas::drawPicture calls saveLayer, which allocates a duplicate
render target:

  40Mb * 2 = 80Mb!!

So with the original 96MB, a quite conservative msaa render target
almost blows out the entire resource cache just on the backing. This
CL bumps up the default cache size to 256MB.

Change-Id: I756c62f4ee6b9c62b1a3e535f31e15a1ecc3d63f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/292265
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
2020-05-27 20:38:08 +00:00
..
canvaskit Bump default GrResourceCache size to 256MB 2020-05-27 20:38:08 +00:00
particles Pure SkSL RNG for particles 2020-04-10 17:20:07 +00:00
pathkit Upgrade CanvasKit emscripten to version 1.39.16. 2020-05-21 14:18:48 +00:00
skottie SkMatrix::Rotate() 2020-05-25 17:58:54 +00:00
skparagraph prealloc space for a simple fRunsInVisualOrder 2020-05-27 15:38:57 +00:00
skplaintexteditor update skstd 2020-04-30 15:05:43 +00:00
skresources [skottie/tools] Video playback support 2020-04-24 15:56:50 +00:00
sksg Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
skshaper Reland "Cache hb_face." 2020-05-19 17:42:14 +00:00