Blender Git Loki

Git Commits -> Revision b871160

Revision b871160 by Bastien Montagne (master)
January 27, 2016, 11:26 (GMT)
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).

Commit Details:

Full Hash: b871160dd962ac05b31456bc2f4c8f8fd45a839d
Parent Commit: e5e7507
Lines Changed: +138, -101

1 Modified Path:

/source/blender/blenkernel/intern/pbvh.c (+138, -101) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021