From 965b36cb16bc8108a4effdc236b215e4790b9cd4 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Fri, 24 Jul 2015 08:10:43 -0700 Subject: [PATCH] Set preallocated TextBatch geometries to 4 rather than 32 Review URL: https://codereview.chromium.org/1256843003 --- src/gpu/GrAtlasTextContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp index e20ca4bb7f..91527aba64 100644 --- a/src/gpu/GrAtlasTextContext.cpp +++ b/src/gpu/GrAtlasTextContext.cpp @@ -1773,7 +1773,7 @@ public: } // The minimum number of Geometry we will try to allocate. - static const int kMinAllocated = 32; + static const int kMinAllocated = 4; // Total number of Geometry this Batch owns int instanceCount() const { return fInstanceCount; }