vbo/dlist: realloc vertex stores
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 12 Aug 2021 14:06:41 +0000 (16:06 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 9 Sep 2021 14:42:16 +0000 (16:42 +0200)
commit93867fad5588d3c457dfb988b07ade4b20b9eee9
tree6a2e1d8a5f913b0c56758fd95f27bd7a1cd5b622
parent776445468be6867f8a5f2074db9a47acbc7b3e77
vbo/dlist: realloc vertex stores

Same logic that for the primitives: since we're using an intermediate
RAM storage, we don't need to artificially split lists when the buffer
is full.

Instead, we can simply realloc-ate it.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12646>
src/mesa/vbo/vbo_save_api.c