Change vertex buffer size for draw buffer. Hopefully helps with some of the perf...
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 15 Mar 2012 17:47:06 +0000 (17:47 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 15 Mar 2012 17:47:06 +0000 (17:47 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@3405 2bbb7eff-a529-9590-31e7-b0007b416f81

src/gpu/GrContext.cpp

index 8ae97c1..cafa77b 100644 (file)
@@ -38,7 +38,7 @@
 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 << 13;
+static const size_t DRAW_BUFFER_VBPOOL_BUFFER_SIZE = 1 << 15;
 static const int DRAW_BUFFER_VBPOOL_PREALLOC_BUFFERS = 4;
 
 // path rendering is the only thing we defer today that uses non-static indices