Go to file
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
build_files CMake: use signed char for recastnavigation 2016-05-19 07:36:32 +10:00
doc BGE: Fix KX_LightObject python API documentation. 2016-05-15 14:56:40 +00:00
extern CMake: use signed char for recastnavigation 2016-05-19 07:36:32 +10:00
intern Cycles: Add support for bindless textures. 2016-05-19 13:14:37 +02:00
release Cycles: Pole merging for spherical stereo 2016-05-18 10:56:57 +02:00
source Dynapaint: parallelize drip effect. 2016-05-19 14:44:37 +02:00
tests Fix bl_load_py_modules test 2016-05-02 21:06:15 +10:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Git ignore BUILD_NOTES.txt from install_deps.sh. 2015-11-23 20:17:02 +01:00
.gitmodules Remove SCons building system 2016-01-04 14:20:48 +05:00
CMakeLists.txt Cleanup: CMake indentation 2016-05-19 07:12:14 +10:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Fix T48078: incorrect OS X command for retrieving number of CPUs on in Makefile. 2016-04-09 00:25:18 +02:00
make.bat Fix make.bat checking 64bit systems 2016-02-10 00:26:12 +11:00