diff options
author | Jacques Lucke <jacques@blender.org> | 2020-02-23 19:35:47 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-02-23 19:35:47 +0300 |
commit | 096856a700b795ac3ffb0a6d86317fd0c57b2a11 (patch) | |
tree | 38e3b01c45654bb2c782065fc5c8229d5cd71675 /source/blender/draw/engines/eevee/eevee_render.c | |
parent | beed795e5aa3451bdc248b2df640c14615f286f9 (diff) |
new LinearAllocatedVector<T>
This is a vector that does not own the memory its elements are stored in.
Instead, a linear allocator is passed to every call to `append`, that will
be used if the vector has to grow. Since a linear allocator does not support
deallocation, no memory is dealloced until the linear allocator is destructed.
This structure can be used when many small vectors of initially unknown
size are required.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_render.c')
0 files changed, 0 insertions, 0 deletions