Blender Git Loki

Git Commits -> Revision 83a6bbb

November 4, 2019, 23:41 (GMT)
Tasks: don't pass thread_id always, instead go through accessor

We should move away from using thread IDs and instead store any thread local
data in the TaskParallelTLS. Getting the thread ID will also be more expensive
with TBB and is not so well defined.

Commit Details:

Full Hash: 83a6bbb09ab5c592af521c56f595bd742b39a713
Parent Commit: 78fd3bc
Lines Changed: +133, -185

23 Modified Paths:

/source/blender/blenkernel/intern/editmesh_tangent.c (+1, -3) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh_tangent.c (+1, -3) (Diff)
/source/blender/blenkernel/intern/ocean.c (+8, -24) (Diff)
/source/blender/blenkernel/intern/particle.c (+1, -3) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+2, -6) (Diff)
/source/blender/blenlib/BLI_task.h (+6, -4) (Diff)
/source/blender/blenlib/intern/task_iterator.c (+5, -7) (Diff)
/source/blender/blenlib/intern/task_pool.cc (+10, -39) (Diff)
/source/blender/blenlib/intern/task_range.cc (+23, -21) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval.cc (+8, -15) (Diff)
/source/blender/draw/intern/draw_cache_extract_mesh.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_undo.c (+1, -3) (Diff)
/source/blender/editors/physics/particle_edit.c (+1, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+4, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+2, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+49, -32) (Diff)
/source/blender/editors/space_clip/clip_editor.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+1, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+2, -6) (Diff)
/source/blender/imbuf/intern/imageprocess.c (+2, -4) (Diff)
/tests/gtests/blenlib/BLI_linklist_lockfree_test.cc (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021