062d2d9a5d
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> |
||
---|---|---|
.. | ||
canvaskit | ||
particles | ||
pathkit | ||
skottie | ||
skparagraph | ||
skplaintexteditor | ||
skresources | ||
sksg | ||
skshaper |