Blender Git Commit Log

Git Commits -> Revision b5bf301

Revision b5bf301 by Clément Foucault (master)
March 19, 2018, 15:12 (GMT)
GWN: Vertex Buffer: Remove the use of glMapBufferRange

We revert to the malloc/realloc and manually manage the upload.
There seems to be a performance penalty from using glMapBuffer on some
hardware, prefering way is glBufferData(NULL) with glBufferSubData.

Commit Details:

Full Hash: b5bf3011bf3851d1e68dbcdde310fff04dc3f2f5
Parent Commit: 772e558
Lines Changed: +65, -80

2 Modified Paths:

/intern/gawain/gawain/gwn_vertex_buffer.h (+3, -5) (Diff)
/intern/gawain/src/gwn_vertex_buffer.c (+62, -75) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021