Increase maximum gpu resources from 1024 to 4096

Pictures with many drawn paths benefit from the increase of the
count. As an example, chalkboard testcase has ~2500 paths, tiger
has ~300.

Bigger objects, like textures, tend to be limited by the cache
byte limit, not item count.

Review URL: https://codereview.chromium.org/991783003
This commit is contained in:
kkinnunen 2015-03-09 22:12:29 -07:00 committed by Commit bot
parent 167eb17cd6
commit 732a92db49

View File

@ -56,7 +56,7 @@ private:
//////////////////////////////////////////////////////////////////////////////
static const int kDefaultMaxCount = 2 * (1 << 10);
static const int kDefaultMaxCount = 2 * (1 << 12);
static const size_t kDefaultMaxSize = 96 * (1 << 20);
GrResourceCache::GrResourceCache()