projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef6a47b
)
Increase request cache size.
author
bungeman
<bungeman@google.com>
Fri, 8 Apr 2016 15:57:00 +0000
(08:57 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Fri, 8 Apr 2016 15:57:00 +0000
(08:57 -0700)
BUG=chromium:424082
See comment #63.
Review URL: https://codereview.chromium.org/
1875733002
src/ports/SkFontHost_fontconfig.cpp
patch
|
blob
|
history
diff --git
a/src/ports/SkFontHost_fontconfig.cpp
b/src/ports/SkFontHost_fontconfig.cpp
index
f91b7a0
..
e42929a
100644
(file)
--- a/
src/ports/SkFontHost_fontconfig.cpp
+++ b/
src/ports/SkFontHost_fontconfig.cpp
@@
-70,7
+70,8
@@
SK_DECLARE_STATIC_MUTEX(gSkFontHostRequestCacheMutex);
class SkFontHostRequestCache {
// The value of maxSize here is a compromise between cache hits and cache size.
- static const size_t gMaxSize = 1 << 12;
+ // See https://crbug.com/424082#63 for reason for current size.
+ static const size_t gMaxSize = 1 << 15;
static SkFontHostRequestCache& Get() {
gSkFontHostRequestCacheMutex.assertHeld();