Blender Git Loki
Git Commits -> Revision 2b7e1c6
Revision 2b7e1c6 by Antonis Ryakiotakis (master) November 28, 2014, 13:38 (GMT) |
Cleanup GPU: get rid of some extremely legacy draw code. Basically this commit gets rid of most of the derived mesh immediate mode drawing (cases such as subsurf excluded). Even when VBO is turned off in user preferences, we still use vertex arrays, which are very similar to VBOs but memory is client side. Vertex arrays are OpenGL 1.1 so compatibility is not an issue here. Reviewers: campbellbarton, sergey, jwilkins Differential Revision: https://developer.blender.org/D919 |
Commit Details:
Full Hash: 2b7e1c6011d5a3ba18d3296e20b048835dfd1602
Parent Commit: c9675b4
Lines Changed: +451, -771
5 Modified Paths:
/source/blender/blenkernel/intern/cdderivedmesh.c (+370, -665) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+10, -26) (Diff)
/source/blender/gpu/GPU_buffers.h (+3, -8) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+67, -71) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+10, -26) (Diff)
/source/blender/gpu/GPU_buffers.h (+3, -8) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+67, -71) (Diff)