diff options
author | 2011-08-09 16:49:03 +0000 | |
---|---|---|
committer | 2011-08-09 16:49:03 +0000 | |
commit | 8ccadddfa78adbdbbdfa724247318436465a7378 (patch) | |
tree | f63f5430c806cc94fc215214d09d64b7657c6613 | |
parent | a44f7003e5f9d1353bc9274268fb5302e69fc94a (diff) |
Increase default cache size
Review URL: http://codereview.appspot.com/4810087/
git-svn-id: http://skia.googlecode.com/svn/trunk@2083 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gpu/src/GrContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/src/GrContext.cpp b/gpu/src/GrContext.cpp index 54b29548c5..d1de73496f 100644 --- a/gpu/src/GrContext.cpp +++ b/gpu/src/GrContext.cpp @@ -28,8 +28,8 @@ #define BATCH_RECT_TO_RECT (1 && !GR_STATIC_RECT_VB) -static const size_t MAX_TEXTURE_CACHE_COUNT = 128; -static const size_t MAX_TEXTURE_CACHE_BYTES = 8 * 1024 * 1024; +static const size_t MAX_TEXTURE_CACHE_COUNT = 256; +static const size_t MAX_TEXTURE_CACHE_BYTES = 16 * 1024 * 1024; static const size_t DRAW_BUFFER_VBPOOL_BUFFER_SIZE = 1 << 18; static const int DRAW_BUFFER_VBPOOL_PREALLOC_BUFFERS = 4; |