Blender Git Commit Log

Git Commits -> Revision 3d69dbd

Revision 3d69dbd by Campbell Barton (master)
December 12, 2012, 05:04 (GMT)
use openmp to thread some common bmesh operations
- BM_mesh_elem_toolflags_ensure / bmo_flag_layer_alloc / bmo_flag_layer_free / bmo_flag_layer_clear
- BM_mesh_select_flush
- EDBM_index_arrays_init

notes:
- mostly use openmp `sections` to split operations on vert/edge/face since this is a fairly minor change.
- split tool flag pool in 3, this means we can allocate exact sizes needed and iterate on them in threads without alloc'ing.

Commit Details:

Full Hash: 3d69dbd44a8c14c54785833fc469ee14173c6132
SVN Revision: 52908
Parent Commit: 21a2660
Lines Changed: +364, -231

7 Modified Paths:

/source/blender/bmesh/bmesh_class.h (+3, -2) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+16, -16) (Diff)
/source/blender/bmesh/intern/bmesh_marking.c (+78, -47) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+90, -60) (Diff)
/source/blender/bmesh/intern/bmesh_operators.c (+153, -78) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+21, -27) (Diff)
/source/blender/modifiers/intern/MOD_decimate.c (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021