diff options
author | Qiang Yu <[email protected]> | 2018-02-19 21:44:44 +0800 |
---|---|---|
committer | Qiang Yu <[email protected]> | 2019-04-11 09:57:53 +0800 |
commit | dc37942c4e1dff8b9bba96b482a6b4fae766df6f (patch) | |
tree | f7d6280f01b6b42f78372a17f1b23ec883cbe45a /src/gallium/drivers/lima/lima_texture.c | |
parent | 509dd6e20b1bfa8f42966da1ea421a0b7057485c (diff) |
u_dynarray: add util_dynarray_grow_cap
This is for the case that user only know a max size
it wants to append to the array and enlarge the array
capacity before writing into it.
v2:
- rename newsize to newcap
- rename util_dynarray_enlarge to util_dynarray_grow_cap
Signed-off-by: Qiang Yu <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/lima_texture.c')
0 files changed, 0 insertions, 0 deletions