Blender Git Loki
Git Commits -> Revision 2411027
Revision 2411027 by Antonis Ryakiotakis (master) August 3, 2015, 17:09 (GMT) |
Multires sculpting drawing optimization: Use OpenGL 3.2 extension ARB_draw_elements_base_vertex, which allows us to add offset in index buffer indices automatically. This should reduce the number of draw calls significantly. We may have some errors on the Mac with VBO setting off. OSX OpenGL extensions don't play well with vertex arrays. Will test that more later. We might also use a full element buffer here, like we do when hiding some quads, but this approach keeps the memory savings intended originally. |
Commit Details:
Full Hash: 2411027a7996170188c49e4eac0a6762f3a2599f
Parent Commit: 7667ad2
Lines Changed: +46, -8
1 Modified Path:
/source/blender/gpu/intern/gpu_buffers.c (+46, -8) (Diff)