Blender Git Loki

Git Commits -> Revision 377915b

Revision 377915b by Clément Foucault (master)
January 9, 2018, 13:54 (GMT)
DRW: Make use of DRWInstanceData.

This modify the selection code quite a bit but it's for the better.
When using selection we use the same batching / instancing process but we draw each element at a time using a an offset to the first element we want to draw and by drawing only one element.
This result much less memory allocation and better draw time.

Commit Details:

Full Hash: 377915b08144e0945ed1984338def3dcad267a6d
Parent Commit: aa0097a
Lines Changed: +143, -130

2 Modified Paths:

/source/blender/draw/intern/draw_manager.c (+143, -127) (Diff)
/source/blender/draw/modes/object_mode.c (+0, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021