aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-11-16 13:22:24 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-16 13:22:24 -0800
commit31b80a9dc60ae5411ad6abd10269c4f88c635ec2 (patch)
tree79096e427e054b846770b12a829fc72e24819065
parent566b23c571dbec97925ad0c44e744126a62e5a1e (diff)
increase pre-allocated MCRecs to match common android calling pattern
-rw-r--r--include/core/SkCanvas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index b49cc27789..3e8f362e43 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1340,7 +1340,7 @@ private:
// the first N recs that can fit here mean we won't call malloc
enum {
kMCRecSize = 128, // most recent measurement
- kMCRecCount = 8, // common depth for save/restores
+ kMCRecCount = 32, // common depth for save/restores
kDeviceCMSize = 136, // most recent measurement
};
intptr_t fMCRecStorage[kMCRecSize * kMCRecCount / sizeof(intptr_t)];