Blender Git Loki
Git Commits -> Revision 44b634b
Revision 44b634b by Campbell Barton (master) December 12, 2012, 06:53 (GMT) |
make EDBM_index_arrays's stay in memory, blender was allocating an array and filling it for verts/edges/faces on every redraw. this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use. in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup. |
Commit Details:
Full Hash: 44b634bcb1363fa600e0f9300dcaa76402b47738
SVN Revision: 52911
Parent Commit: 3759c10
Lines Changed: +156, -143
18 Modified Paths:
/source/blender/blenkernel/BKE_tessmesh.h (+0, -1) (Diff)
/source/blender/editors/include/ED_mesh.h (+7, -2) (Diff)
/source/blender/editors/mesh/editface.c (+1, -6) (Diff)
/source/blender/editors/mesh/editmesh_add.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_rip.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+6, -6) (Diff)
/source/blender/editors/mesh/editmesh_slide.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+54, -54) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+64, -27) (Diff)
/source/blender/editors/mesh/mesh_navmesh.c (+1, -3) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+2, -6) (Diff)
/source/blender/editors/space_view3d/view3d_iterators.c (+3, -6) (Diff)
/source/blender/editors/space_view3d/view3d_snap.c (+1, -2) (Diff)
/source/blender/editors/transform/transform_snap.c (+2, -8) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+8, -12) (Diff)
/source/blender/editors/uvedit/uvedit_smart_stitch.c (+1, -2) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+1, -3) (Diff)
/source/blender/editors/include/ED_mesh.h (+7, -2) (Diff)
/source/blender/editors/mesh/editface.c (+1, -6) (Diff)
/source/blender/editors/mesh/editmesh_add.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_rip.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+6, -6) (Diff)
/source/blender/editors/mesh/editmesh_slide.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+54, -54) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+64, -27) (Diff)
/source/blender/editors/mesh/mesh_navmesh.c (+1, -3) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+2, -6) (Diff)
/source/blender/editors/space_view3d/view3d_iterators.c (+3, -6) (Diff)
/source/blender/editors/space_view3d/view3d_snap.c (+1, -2) (Diff)
/source/blender/editors/transform/transform_snap.c (+2, -8) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+8, -12) (Diff)
/source/blender/editors/uvedit/uvedit_smart_stitch.c (+1, -2) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+1, -3) (Diff)