Blender Git Commit Log
Git Commits -> Revision 09665a5
Revision 09665a5 by Antonis Ryakiotakis (temp_display_optimization) June 29, 2015, 15:18 (GMT) |
GLSL drawing redesign: Use new upload scheme. Idea here is that materials share a VBO where the size of each element is the maximum size of all mesh materials. While this will waste some size if material sizes differ it is the simplest scheme to use and allows easy reuse of indices as opposed to separating the materials in separate vertex buffers. In fact if we do that, management gets quite complex and code much more error prone. I may write an extra blog post to explain the choices here at some point. |
Commit Details:
Full Hash: 09665a5301c11e99e92fe7ce55f1b6d3d4cc232e
Parent Commit: 850e9ce
Lines Changed: +118, -108