diff options
author | Jason Ekstrand <[email protected]> | 2017-04-06 22:15:16 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-04-07 19:24:14 -0700 |
commit | e5c29b8c2713f622a66cae9ad35f85469cda2a46 (patch) | |
tree | 12b5ff89785659ac6314c87c8739dd0a093067b0 /include/GLES3 | |
parent | 82695c32b6f5afe742de17a2d617dc200f7f0676 (diff) |
anv: Add a helper for doing mass allocations
We tend to try to reduce the number of allocation calls the Vulkan
driver uses by doing a single allocation whenever possible for a data
structure. While this has certain downsides (usually code complexity),
it does mean error handling and cleanup is much easier. This commit
adds a nice little helper struct for getting rid of some of that
complexity.
Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'include/GLES3')
0 files changed, 0 insertions, 0 deletions