Blender Git Loki
Git Commits -> Revision aa0097a
Revision aa0097a by Clément Foucault (master) January 9, 2018, 13:54 (GMT) |
DRW: Add instance data memory manager. This is a special memory manager that keeps memory blocks ready to send as vbo data. Since we loose which memory block was used each DRWShadingGroup we need to redistribute them in the same order/size to avoid to realloc each frame. This is why DRWInstanceDatas are sorted in a list for each different data size. |
Commit Details:
Full Hash: aa0097ad5e80278c0e08f64472b7bd1b402838da
Parent Commit: 2237ee3
Lines Changed: +283, -0
2 Added Paths:
/source/blender/draw/intern/draw_instance_data.c (+226, -0) (View)
/source/blender/draw/intern/draw_instance_data.h (+41, -0) (View)
/source/blender/draw/intern/draw_instance_data.h (+41, -0) (View)