diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-03-17 20:23:04 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-03-17 20:23:04 +0300 |
commit | c2f36c35586a40693c066d2111bf9e557b0afd6c (patch) | |
tree | 1d9af7a57e59d4547ff50976c449d39697e9a4e6 /source/blender/draw/intern | |
parent | 87d88581aaec4abc4fc326a213dfc0d68c39cb3a (diff) |
GWN: Element Buffer: Refactor / Optimisation.
- Upload the data to the GPU directly when creating the element buffer in
GWN_indexbuf_build_in_place().
- Convert data in place when squeezing the indices and removing the need
for another allocation.
- GWN_indexbuf_build_in_place() can be used with already used element
buffers and reupload their data without changing vbo id (keeping vaos
up to date).
Diffstat (limited to 'source/blender/draw/intern')
0 files changed, 0 insertions, 0 deletions