Blender Git Loki

Git Commits -> Revision 39f7a81

Revision 39f7a81 by Mike Erwin (master)
September 15, 2016, 14:51 (GMT)
Gawain: batch rendering API

Follow-up to rBddb1d5648dbd

API is nearly complete but untested.

1) create batch with vertex buffer & optional index buffer
2) choose shader program
3) draw!

Commit Details:

Full Hash: 39f7a8117692da3a6645ccb7ae2080077f9e5980
Parent Commit: 0d54d32
Lines Changed: +209, -123

7 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+3, -0) (Diff)
/source/blender/gpu/gawain/batch.c (+103, -5) (Diff)
/source/blender/gpu/gawain/batch.h (+42, -88) (Diff)
/source/blender/gpu/gawain/element.c (+23, -19) (Diff)
/source/blender/gpu/gawain/element.h (+3, -4) (Diff)
/source/blender/gpu/gawain/vertex_buffer.c (+30, -4) (Diff)
/source/blender/gpu/gawain/vertex_buffer.h (+5, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021