Adds a GrTRecorder class that GrInOrderDrawBuffer uses to allocate
authorcdalton <cdalton@nvidia.com>
Tue, 14 Oct 2014 18:53:04 +0000 (11:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Oct 2014 18:53:05 +0000 (11:53 -0700)
commit360b6801cfd90485891d709e44cf395d527ba69e
tree87751f5acbe9485464cced198d104a3a3cce9590
parente30597375c19dfb5197fd065a3d1768401eb00fa
Adds a GrTRecorder class that GrInOrderDrawBuffer uses to allocate
all its commands interleaved in contiguous memory. GrTRecorder also
supports extra data associated with objects, so we can store arrays
inline without having to call malloc().

Review URL: https://codereview.chromium.org/628453002
gyp/gpu.gypi
gyp/tests.gypi
src/gpu/GrInOrderDrawBuffer.cpp
src/gpu/GrInOrderDrawBuffer.h
src/gpu/GrTRecorder.h [new file with mode: 0644]
tests/GrTRecorderTest.cpp [new file with mode: 0644]