diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-01-09 16:21:55 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-01-09 16:54:11 +0300 |
commit | 377915b08144e0945ed1984338def3dcad267a6d (patch) | |
tree | 4abc64e3ae9290d7f71abf7a16a45f67101ce06c /source/blender/gpu/intern/gpu_viewport.c | |
parent | aa0097ad5e80278c0e08f64472b7bd1b402838da (diff) |
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.
Diffstat (limited to 'source/blender/gpu/intern/gpu_viewport.c')
0 files changed, 0 insertions, 0 deletions