blender/intern
Sergey Sharybin a3df65dea8 Fix T47008: OSL Memory Corruption (Use after free)
The issue was caused by OSL using TLS which is required to be freed before the
Cycles session is freed. This is quite tricky to do in Cycles because different
render session are sharing the same task scheduler, so when one session is being
freed TLS might need to be active still.

In order to solve this, we are now doing JIT optimization ahead of the time
which ensures either TLS of JIT is freed before the render on multi-core system
or freed on OSLRenderSession destroy on single-core system.

This might increase synchronization time due to JIT of unused function, but
that we can solve later with some smart idea,
2016-01-03 18:28:33 +05:00
..
atomic atomic_ops: Fix MSVC versions of add/sub returning original value instead of result of operation. 2015-07-01 12:25:32 +02:00
audaspace Fix T47064: Change Audio defaults to 48 kHz 2015-12-27 16:33:54 +01:00
container Rework carve integration into boolean modifier 2014-02-13 17:16:53 +06:00
cycles Fix T47008: OSL Memory Corruption (Use after free) 2016-01-03 18:28:33 +05:00
dualcon Skip some more workarounds when using MSVC 2015 2015-12-30 11:23:10 +01:00
eigen Fix T47081: laplacian smooth edit mode tool crash. 2015-12-30 17:26:51 +01:00
elbeem Fix various compiler warnings. 2015-10-10 17:35:30 +02:00
ffmpeg Fix video FFmpeg nt being able to produce video files due to usage of deprecated settings 2014-04-15 00:15:09 +06:00
ghost OS X: remove code for OS X <= 10.5, which is already not supported since 2 years. 2015-12-29 00:27:18 +01:00
glew-mx Fix T46431: Init glew before glx-context crashes 2015-10-12 15:08:20 +11:00
guardedalloc Support for platforms /wo malloc_usable_size 2015-06-21 12:33:55 +10:00
iksolver IK Solver: remove unused and outdated test code. 2015-12-11 01:42:41 +01:00
itasc OS X: remove code for OS X <= 10.5, which is already not supported since 2 years. 2015-12-29 00:27:18 +01:00
locale Cleanup: warnings (msvc) 2015-12-21 13:02:38 +11:00
memutil Memutil: remove some unused code. 2015-12-11 01:48:26 +01:00
mikktspace CMake: use -Wshadow warning for C source 2015-11-23 17:43:55 +11:00
moto Fix Moto overflow warnings 2015-12-30 12:45:36 +01:00
opencolorio OpenGL: when checking GL version, assume >= 2.1 2015-11-24 02:34:54 -05:00
opensubdiv OpenSubdiv: Avoid having bad-level call 2015-12-18 23:16:52 +05:00
raskter code cleanup: use NULL rather then 0 for pointers, and make vars static where possible. 2013-03-22 05:34:10 +00:00
rigidbody Code cleanup 2014-07-18 11:55:59 +10:00
smoke Fix various compiler warnings. 2015-10-10 17:35:30 +02:00
string fix for buffer out-of-bounds reading for STR_String comparisons with char arrays. 2013-03-22 21:26:59 +00:00
utfconv Warning cleanup: 2014-03-22 14:41:38 +02:00
CMakeLists.txt Eigen: fold remaining OpenNL code into intern/eigen. 2015-12-10 01:58:10 +01:00
SConscript Eigen: fold remaining OpenNL code into intern/eigen. 2015-12-10 01:58:10 +01:00