Increase GrGpuGL's program cache size
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 28 Mar 2014 15:52:18 +0000 (15:52 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 28 Mar 2014 15:52:18 +0000 (15:52 +0000)
BUG=skia:2274
R=robertphillips@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/214823009

git-svn-id: http://skia.googlecode.com/svn/trunk@13973 2bbb7eff-a529-9590-31e7-b0007b416f81

src/gpu/gl/GrGpuGL.h

index 600b345..6a89575 100644 (file)
@@ -199,7 +199,7 @@ private:
         enum {
             // We may actually have kMaxEntries+1 shaders in the GL context because we create a new
             // shader before evicting from the cache.
-            kMaxEntries = 32,
+            kMaxEntries = 128,
             kHashBits = 6,
         };