Task scheduler: Get rid of extended version of parallel range callback
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 5 Jan 2018 15:33:13 +0000 (16:33 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 9 Jan 2018 15:09:33 +0000 (16:09 +0100)
commitd2708b0f73d5f0e0a40b36da21c6a0d15405e739
tree53d699a0a7701dbe009234633a38065e6f474cdf
parentf5d64b59f5152114cfa25a2b7433ed25204cb149
Task scheduler: Get rid of extended version of parallel range callback

Wrap all arguments into TLS type of argument. Avoids some branching and also
makes it easier to extend things in the future.
33 files changed:
source/blender/blenkernel/intern/CCGSubSurf_legacy.c
source/blender/blenkernel/intern/colortools.c
source/blender/blenkernel/intern/dynamicpaint.c
source/blender/blenkernel/intern/mask_rasterize.c
source/blender/blenkernel/intern/mesh_evaluate.c
source/blender/blenkernel/intern/ocean.c
source/blender/blenkernel/intern/particle_system.c
source/blender/blenkernel/intern/pbvh.c
source/blender/blenkernel/intern/shrinkwrap.c
source/blender/blenkernel/intern/smoke.c
source/blender/blenkernel/intern/tracking_auto.c
source/blender/blenkernel/intern/tracking_stabilize.c
source/blender/blenlib/BLI_task.h
source/blender/blenlib/intern/BLI_kdopbvh.c
source/blender/blenlib/intern/math_statistics.c
source/blender/blenlib/intern/task.c
source/blender/bmesh/intern/bmesh_interp.c
source/blender/depsgraph/intern/eval/deg_eval.cc
source/blender/depsgraph/intern/eval/deg_eval_flush.cc
source/blender/editors/sculpt_paint/paint_cursor.c
source/blender/editors/sculpt_paint/paint_image_2d.c
source/blender/editors/sculpt_paint/paint_mask.c
source/blender/editors/sculpt_paint/paint_vertex.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/editors/sculpt_paint/sculpt_undo.c
source/blender/editors/space_sequencer/sequencer_scopes.c
source/blender/modifiers/intern/MOD_displace.c
source/blender/modifiers/intern/MOD_meshdeform.c
source/blender/modifiers/intern/MOD_ocean.c
source/blender/modifiers/intern/MOD_surfacedeform.c
source/blender/modifiers/intern/MOD_uvwarp.c
source/blender/modifiers/intern/MOD_weightvgproximity.c
source/blender/render/intern/source/pointdensity.c