Blender Git Loki

Git Commits -> Revision 6d973b8

Revision 6d973b8 by Antonis Ryakiotakis (master)
March 28, 2014, 20:02 (GMT)
Fix T39468

Issue is that sampling functions did not pass a thread index to the
texture sampler so all threads were contesting for the same pool.

Paint cursors and sculpting that used openmp for threading suffered from
this. Now use omp_get_thread_num to pass the thread number.

Commit Details:

Full Hash: 6d973b87a6c0351510603b118814618333318321
Parent Commit: 8b43b9f
Lines Changed: +13, -10

4 Modified Paths:

/source/blender/editors/sculpt_paint/paint_cursor.c (+6, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+4, -5) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021