summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-11-14 18:29:15 -0800
committerJeff Brown <jeffbrown@google.com>2011-11-22 17:12:22 -0800
commit66fbde305047b7a606d083a9ec8994fa693cc7d7 (patch)
tree85822ab685c49f5d1d6d926edcc427799019f3a8 /opengl/tests/gl_basic/gl_basic.cpp
parent95368f5778bd614b489ee29c501268ee1ab7576a (diff)
Add a basic hashtable data structure, with tests!
The basic hashtable is intended to be used to support a variety of different datastructures such as map, set, multimap, multiset, linkedmap, generationcache, etc. Consequently its interface is fairly primitive. The basic hashtable supports copy-on-write style functionality using SharedBuffer. The change introduces a simple generic function in TypeHelpers for specifying hash functions. The idea is to add template specializations of hash_type<T> next to the relevant data structures such as String8, String16, sp<T>, etc. Change-Id: I2c479229e9d4527b4fbfe3b8b04776a2fd32c973
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions