combine glyph and image bulk alloc, and adjust initial alloc size, to reduce total...
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 19 Jun 2013 19:25:36 +0000 (19:25 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 19 Jun 2013 19:25:36 +0000 (19:25 +0000)
commit6757a3c71fd6c16af6bbd76f268307f0177b17ae
tree0031572fda6b00a7ab8b91ad3c0079cede2103bd
parent3832da1e9cf6066d22007881888d65405d8cc6a5
combine glyph and image bulk alloc, and adjust initial alloc size, to reduce total waste from 50% to 30%

add diagnostics to measure cache efficiency

BUG=

Review URL: https://codereview.chromium.org/17449012

git-svn-id: http://skia.googlecode.com/svn/trunk@9691 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkChunkAlloc.h
src/core/SkChunkAlloc.cpp
src/core/SkGlyphCache.cpp
src/core/SkGlyphCache.h
tests/MemsetTest.cpp