aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-07-24 08:10:43 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-24 08:10:43 -0700
commit965b36cb16bc8108a4effdc236b215e4790b9cd4 (patch)
treefeff3b8e4a713ac3cdae7b4f0f56c2a57772505b /src
parent266c232104e465f807cf57b2855836b250146a02 (diff)
Set preallocated TextBatch geometries to 4 rather than 32
Diffstat (limited to 'src')
-rw-r--r--src/gpu/GrAtlasTextContext.cpp2
1 files changed, 1 insertions, 1 deletions
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; }