Replace use of GrTHashTable in GrFontCache with SkTDynamicHash.
authorjvanverth <jvanverth@google.com>
Tue, 22 Jul 2014 20:25:26 +0000 (13:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 22 Jul 2014 20:25:26 +0000 (13:25 -0700)
commitdd6d22751a1ec858daaf78c3929c22737483e3db
treec336f0a593044a91810d6cf49db16f8d82562267
parent1c63bf6e90f160c9a0d7484dedfaf87c0aa341e9
Replace use of GrTHashTable in GrFontCache with SkTDynamicHash.

Searching the font cache for existing text strikes was showing up
as a hotspot on Android. This change reduces that cost.

R=bsalomon@google.com, robertphillips@google.com, mtklein@google.com

Author: jvanverth@google.com

Review URL: https://codereview.chromium.org/390103002
include/gpu/GrGlyph.h
src/core/SkDescriptor.h
src/gpu/GrTextStrike.cpp
src/gpu/GrTextStrike.h
src/gpu/GrTextStrike_impl.h