summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save.c
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-03-28 07:19:02 +0200
committerMathias Fröhlich <[email protected]>2018-03-31 06:32:15 +0200
commit1da345e56932b71067c069270828680aeb38d6b5 (patch)
tree863024f38e37439b00826e2f7e51db484209f946 /src/mesa/vbo/vbo_save.c
parent3f1cd957d30ed77d8d18f37885de921247f5377d (diff)
vbo: Use alloca for _vbo_draw_indirect.
Avoid using malloc in the draw path of mesa. Since the draw_count is a user api input, fall back to malloc if the amount of consumed stack space may get too high. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_save.c')
0 files changed, 0 insertions, 0 deletions