DRW: Replace BLI_mempool by BLI_memblock
authorClément Foucault <foucault.clem@gmail.com>
Tue, 7 May 2019 16:01:14 +0000 (18:01 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Wed, 8 May 2019 15:49:28 +0000 (17:49 +0200)
commit820a64b9e5cf9c737fd484c6794e2e22c3f66d9f
treeba6f2ab7457de787506723c10b0b52422e931da5
parent9fea65a93def1ee72fdc1585a381607441f76c21
DRW: Replace BLI_mempool by BLI_memblock

This remove a avoid the big overhead present in BLI_mempool when it is
cleared.
source/blender/draw/intern/draw_manager.c
source/blender/draw/intern/draw_manager_data.c
source/blender/draw/intern/draw_manager_exec.c
source/blender/gpu/GPU_viewport.h
source/blender/gpu/intern/gpu_viewport.c