diff options
author | reed <reed@google.com> | 2015-11-16 13:22:24 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-16 13:22:24 -0800 |
commit | 31b80a9dc60ae5411ad6abd10269c4f88c635ec2 (patch) | |
tree | 79096e427e054b846770b12a829fc72e24819065 | |
parent | 566b23c571dbec97925ad0c44e744126a62e5a1e (diff) |
increase pre-allocated MCRecs to match common android calling pattern
BUG=skia:
Review URL: https://codereview.chromium.org/1450093002
-rw-r--r-- | include/core/SkCanvas.h | 2 |
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)]; |