Blender Git Commit Log

Git Commits -> Revision 4ecc8b6

Revision 4ecc8b6 by Clément Foucault (master)
March 14, 2018, 21:44 (GMT)
GWN: Add primitive restart in element/index buffers.

This allows to draw multiple primitive of the type
GWN_PRIM_LINE_STRIP
GWN_PRIM_LINE_LOOP
GWN_PRIM_TRI_STRIP
GWN_PRIM_TRI_FAN
GWN_PRIM_LINE_STRIP_ADJ
with only one drawcall. This should speed up some areas that are really
sensitive to drawcall counts : UV drawing, Hair drawing...

Commit Details:

Full Hash: 4ecc8b67861a4869cd6b1231c1f8a1082e031ff5
Parent Commit: 2c80a4d
Lines Changed: +73, -14

3 Modified Paths:

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