Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(607)

Unified Diff: src/gpu/GrAtlasTextContext.cpp

Issue 1256843003: Set preallocated TextBatch geometries to 4 rather than 32 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrAtlasTextContext.cpp
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp
index e20ca4bb7ffd07c84d3cdf689dce05aeab32494e..91527aba64885ac3b31605a0d746a4fb021c76a8 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; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698