Port GrGLCaps over to use SkTHash.
authormtklein <mtklein@chromium.org>
Fri, 20 Feb 2015 20:35:32 +0000 (12:35 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 Feb 2015 20:35:32 +0000 (12:35 -0800)
commit2aa1f7e6799501974532d35c1f6c3a0447121b95
treebd4ad170d9a5205cf1e93fb5d19665eb3d6cb900
parente5524cd52d56f9b70d9b4a83bd73a3fa75d56509
Port GrGLCaps over to use SkTHash.

I've written some new hashtable interfaces that should be easier to use,
and I've been trying to roll them out bit by bit, hopefully replacing
SkTDynamicHash, SkTMultiMap, SkTHashCache, etc.

This turns the cache in GrGLCaps::readPixelsSupported() into an SkTHashMap,
mapping the format key to a bool.  Functionally, it's the same.

BUG=skia:

Review URL: https://codereview.chromium.org/948473002
gyp/core.gypi
gyp/tests.gypi
src/core/SkTHash.h
src/core/SkTHashCache.h [deleted file]
src/gpu/gl/GrGLCaps.cpp
src/gpu/gl/GrGLCaps.h
tests/HashTest.cpp
tests/THashCache.cpp [deleted file]