Files
test2/source/blender/blenkernel
Bastien Montagne a4a968fd99 Dynapaint: parallelize drip effect.
Was not so far, because this effect is not modifying its 'own' PaintPoint, which means
it's not threadsafe. Since a global lock (mutex or spinlock) would not be much efficient
(we need to lock a given point pretty much all the computaion cycle), and since locking
a same PaintPOint from different threads at the same time is *very* unlikely,
solution here is to use an 'array of locks', one for each PaintPoint (same thing as BLI_bitmap,
using atomic ops to set/clear bits).

Here in own test (complex dynapaint over a huge sphere combining all dynapaint types), it gives
20% speedup of the whole dynapaint simulation!

Note: maybe we'd want to move that kind of bitlock into BLI lib some day - not totally sure how,
so let's keep it local for now...
2016-05-19 14:44:37 +02:00
..
2015-05-11 12:39:39 +10:00
2015-05-06 11:13:42 +10:00
2016-05-17 03:07:40 +10:00
2015-07-25 07:44:25 +10:00
2015-08-01 12:37:52 +10:00
2016-01-04 01:25:52 -05:00
2016-04-01 10:02:59 +11:00
2015-10-23 01:20:01 +11:00
2015-12-28 00:37:07 +01:00
2015-11-12 18:54:26 +11:00
2015-10-08 15:05:37 +02:00
2015-12-01 13:31:26 +11:00
2016-05-11 20:20:25 +10:00
2016-05-03 13:52:07 +10:00
2015-04-06 10:40:12 -03:00
2015-04-06 10:40:12 -03:00
2015-04-07 08:46:48 +10:00