Blender Git Commit Log

Git Commits -> Revision 9c010c4

Revision 9c010c4 by Clément Foucault (master)
August 14, 2019, 17:05 (GMT)
Mesh Batch Cache: Refactor + Multithread

For clarity sake, the batch cache now uses exclusively per Loop attributes.
While this is a bit of a waste of VRAM (for the few case where per vert
attribs are enough) it reduces the complexity and amount of overall VBO
to update in general situations.

This patch also makes the VertexBuffers filling multithreaded. This make
the update of dense meshes a bit faster. The main bottleneck is the
IndexBuffers update which cannot be multithreaded efficiently (have to
increment a counter and/or do a final sorting pass).

We introduce the concept of "extract" functions/step.
All extract functions are executed in one thread each and if possible,
using multiple thread for looping over all elements.

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D5424

Commit Details:

Full Hash: 9c010c44f4201ab114b3facc69d0343525a1779f
Parent Commit: 45a45f7
Lines Changed: +5337, -4906

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020