specialize SkDataTable for arrays where all elements are the same size.
authormike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sun, 21 Apr 2013 01:37:46 +0000 (01:37 +0000)
committermike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sun, 21 Apr 2013 01:37:46 +0000 (01:37 +0000)
commitcac3ae37522bf070244c723960d1689e53da4dcd
tree775464fdcac7cb93f493b2b6ba8b9b6e5cff612e
parent4309a02bd1aac3250c0a7c7f7378aac36341022d
specialize SkDataTable for arrays where all elements are the same size.
optimize impl to not require another level of indirection (SkData) for storage.
add unittests for flattening.
optimize builder to not make a deepcopy of its chunkalloc heap.

git-svn-id: http://skia.googlecode.com/svn/trunk@8790 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkDataTable.h
src/core/SkDataTable.cpp
tests/DataRefTest.cpp