Blender Git Commit Log

Git Commits -> Revision 59a187b

Revision 59a187b by Sergey Sharybin (master)
January 24, 2013, 08:14 (GMT)
Fix threading issues of viewport rendering when using movies/generated images

Issue was caused by the fact that guarded allocator is not thread-safe and
generated images/movies could allocate memory when loading pixels to Cycles.

Currently solved by switching memory allocator to using mutex lock (the same
as sued for jobs) when viewport rendering is used.

Nicer solution would be to make guarded allocator thread-safe by using atomic
operations and lock-free lists, but that's more serious change.

Commit Details:

Full Hash: 59a187b33876ad274cfd5cfcf13a3d25dbfe1b0a
SVN Revision: 54067
Parent Commit: 5e739dd
Lines Changed: +19, -1

3 Modified Paths:

/source/blender/editors/space_view3d/view3d_draw.c (+1, -1) (Diff)
/source/blender/render/extern/include/RE_engine.h (+2, -0) (Diff)
/source/blender/render/intern/source/external_engine.c (+16, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021