Blender Git Commit Log

Git Commits -> Revision c2f36c3

Revision c2f36c3 by Clément Foucault (master)
March 17, 2018, 17:23 (GMT)
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).

Commit Details:

Full Hash: c2f36c35586a40693c066d2111bf9e557b0afd6c
Parent Commit: 87d8858
Lines Changed: +25, -60

2 Modified Paths:

/intern/gawain/gawain/gwn_element.h (+0, -1) (Diff)
/intern/gawain/src/gwn_element.c (+25, -59) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021