Blender Git Loki

Git Commits -> Revision 0c50ba7

June 22, 2015, 17:17 (GMT)
Use index buffers for drawing with vertex buffers.

Tests show that we gain approximately 20-25% performance
by that for solid mode drawing.

Good memory/performance is gained for quad meshes mostly
but we also gain performance in triangle meshes as well.

This commit will not get rid of the CPU overhead in
some modes (textured/GLSL) yet, but it prepares the
code for caching changes to make things better
.

Commit Details:

Full Hash: 0c50ba7ec39398869473d132274e3b0680f7f978
Parent Commit: 530ee08
Lines Changed: +380, -274

3 Modified Paths:

/source/blender/blenkernel/intern/cdderivedmesh.c (+277, -250) (Diff)
/source/blender/gpu/GPU_buffers.h (+15, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+88, -23) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021