diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-01-27 14:14:00 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-01-27 14:26:00 +0300 |
commit | b871160dd962ac05b31456bc2f4c8f8fd45a839d (patch) | |
tree | 51709c3d9a8698571c2b3955163c1bbeed23eec9 /intern/openvdb | |
parent | e5e7507d31e8ae817231c4189fe0602ebce4003f (diff) |
OMP -> BLI_task: BKE's pbvh.c
Should be the last bit of sculpt/paint code, now this is fully using BLI_task.
Note that PBVH normals update is now about 20% quicker than with OMP code
(from 27ms to 21ms with a big stroke over a 500k vertices monkey), even though
a missing thread-protection was added... atomic primitives ftw!
For the records, with the missing `#pragma omp critical` section added,
previous code was like four times slower (above 100ms).
Diffstat (limited to 'intern/openvdb')
0 files changed, 0 insertions, 0 deletions