Blender Git Loki
Git Commits -> Revision 2d4ec90
Revision 2d4ec90 by Campbell Barton (master) June 30, 2021, 06:53 (GMT) |
Transform: support multi-threading for most modes Multi-threading support for transform modes: bevel-weight, crease, push-pull, rotate, shear, shrink-fatten, skin-resize, to-sphere, trackball & translate. This is done using a parallel loop over transform data. From testing a 1.5million polygon mesh on a 32 core system the overall performance gains were between ~20-28% To ensure the code is thread-safe arguments to shared data are const. Reviewed By: mano-wii |
Commit Details:
Full Hash: 2d4ec90497443dc28e342c539e65010c7f4a04bb
Parent Commit: 501d244
Lines Changed: +934, -299
12 Modified Paths:
/source/blender/editors/transform/transform_data.h (+2, -0) (Diff)
/source/blender/editors/transform/transform_mode_edge_bevelweight.c (+61, -9) (Diff)
/source/blender/editors/transform/transform_mode_edge_crease.c (+63, -13) (Diff)
/source/blender/editors/transform/transform_mode_push_pull.c (+83, -27) (Diff)
/source/blender/editors/transform/transform_mode_resize.c (+45, -6) (Diff)
/source/blender/editors/transform/transform_mode_rotate.c (+163, -54) (Diff)
/source/blender/editors/transform/transform_mode_shear.c (+93, -41) (Diff)
/source/blender/editors/transform/transform_mode_shrink_fatten.c (+59, -13) (Diff)
/source/blender/editors/transform/transform_mode_skin_resize.c (+70, -22) (Diff)
/source/blender/editors/transform/transform_mode_tosphere.c (+92, -31) (Diff)
/source/blender/editors/transform/transform_mode_trackball.c (+66, -10) (Diff)
/source/blender/editors/transform/transform_mode_translate.c (+137, -73) (Diff)
/source/blender/editors/transform/transform_mode_edge_bevelweight.c (+61, -9) (Diff)
/source/blender/editors/transform/transform_mode_edge_crease.c (+63, -13) (Diff)
/source/blender/editors/transform/transform_mode_push_pull.c (+83, -27) (Diff)
/source/blender/editors/transform/transform_mode_resize.c (+45, -6) (Diff)
/source/blender/editors/transform/transform_mode_rotate.c (+163, -54) (Diff)
/source/blender/editors/transform/transform_mode_shear.c (+93, -41) (Diff)
/source/blender/editors/transform/transform_mode_shrink_fatten.c (+59, -13) (Diff)
/source/blender/editors/transform/transform_mode_skin_resize.c (+70, -22) (Diff)
/source/blender/editors/transform/transform_mode_tosphere.c (+92, -31) (Diff)
/source/blender/editors/transform/transform_mode_trackball.c (+66, -10) (Diff)
/source/blender/editors/transform/transform_mode_translate.c (+137, -73) (Diff)