Revert "[canvaskit] Bump GPU resource cache to 256MB"

This reverts commit a93aa74a39.

Reason for revert: Busted skottie.skia.org

Original change's description:
> [canvaskit] Bump GPU resource cache to 256MB
> 
> Bug: skia:
> Change-Id: I398ef2e79076018f3f62e62a2040052eeaf60784
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/206066
> Commit-Queue: Florin Malita <fmalita@chromium.org>
> Reviewed-by: Kevin Lubick <kjlubick@google.com>

TBR=kjlubick@google.com,fmalita@chromium.org

Change-Id: I0e6181a6ded0adc40531f936fc495f89400516a1
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/206077
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
This commit is contained in:
Florin Malita 2019-04-04 16:53:29 +00:00 committed by Skia Commit-Bot
parent b161a7d965
commit e797dfba63

View File

@ -67,10 +67,6 @@
throw 'failed to create webgl context: err ' + ctx;
}
// Bump the default resource cache limit.
var RESOURCE_CACHE_BYTES = 256 * 1024 * 1024;
ctx.setResourceCacheLimitBytes(RESOURCE_CACHE_BYTES);
if (!canvas && (!width || !height)) {
throw 'height and width must be provided with context';
}