summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorweiliangc <weiliangc@chromium.org>2014-09-23 07:29:03 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-23 14:29:20 +0000
commitd1f5016cb601daa67da3ca36eff3c8af1f35fa60 (patch)
treeee53f274b4e988d963d5c91a086eef669a9f8775 /apps
parentd6828ed750604b5914fa2cc26a739783efa0159b (diff)
downloadchromium_src-d1f5016cb601daa67da3ca36eff3c8af1f35fa60.zip
chromium_src-d1f5016cb601daa67da3ca36eff3c8af1f35fa60.tar.gz
chromium_src-d1f5016cb601daa67da3ca36eff3c8af1f35fa60.tar.bz2
Class for allocating a chunk of memory for RenderPass
For DrawQuads and SharedQuadState, RenderPass used allocate them one by one whenever needed. This new class helps RenderPass manages allocation and iteration of those two types. This container allocates a chunk of memory at one time and hands out raw pointers. It also provides iterator and reverse iterators for going through its contents. Unittest for ListContainer makes sure the raw pointers it hands out are valid and iterator has same behavior as vector iterators. Follows 398533002, and 404563005. BUG=344962 Committed: https://crrev.com/6ae8c50c839a8c0d8fb399578256c754ed3ce39a Cr-Commit-Position: refs/heads/master@{#296100} Review URL: https://codereview.chromium.org/400463002 Cr-Commit-Position: refs/heads/master@{#296176}
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions