blender/intern/cycles
Sergey Sharybin 6371fccdbe Cycles: Fix guarded allocator issues on Windows
The issue was caused by static vectors allocating some internal
data using rebound element allocator for them, which was causing
access to a non-initialized statistics objects and was failing a
lot when switching Blender to a fully guarded allocation.

Additionally, we were not able to free that internal memory before
Blender exits, which was causing false-positive memory leak prints.

Now we're not using GuardedAllocator for those proxy containers.

Ideally this should be done as a GuardedAllocator::rebind, but
it didn't work for vector<bool> because it seems some internal
parts are converting bool to char32_t, which either makes it so
we can't use GuardedAllocator for those vectors or the compiler
get's confused when we're trying explicitly allow GuardedAllocator
for rebind<char32_t>.

This with current approach we should be fine for the release.
2016-02-15 11:46:13 +01:00
..
app Cycles: Implement approximate reflectance profiles 2016-02-04 13:27:23 +05:00
blender Cycles: Remove meaningless expression 2016-02-13 13:29:50 +01:00
bvh Cleanup: And one more commit... (BVH Cache). 2015-09-24 17:01:58 +02:00
cmake CMake: Fix typo in CUDA dynload commit 2016-01-14 12:48:14 +05:00
device Cycles: Always use guarded allocator of vectors 2016-02-12 15:43:26 +01:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
kernel Cycles: Fixes for Burley BSSRDF 2016-02-13 13:29:13 +01:00
render Cleanup: Move Cycles sky model data to util. 2016-02-13 13:41:40 +01:00
subd Cycles: Correction to asserts, they will never trigger before 2016-02-03 15:01:26 +01:00
test Cycles: Add some utility tests using GTests 2016-02-06 19:19:20 +01:00
util Cycles: Fix guarded allocator issues on Windows 2016-02-15 11:46:13 +01:00
CMakeLists.txt Cycles: Always use guarded allocator of vectors 2016-02-12 15:43:26 +01:00