Fix #32763: Image flickering appears if Movie Clip Editor and compositor opened
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 4 Oct 2012 20:31:08 +0000 (20:31 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 4 Oct 2012 20:31:08 +0000 (20:31 +0000)
commit41202e25e781543eaabfa5be90e2de0f1b7f94a8
tree67838bef4c850d363bc98d4807300f25914d7cde
parent282f98a84dc7d454a36918b9b8b279aa127c4d3b
Fix #32763: Image flickering appears if Movie Clip Editor and compositor opened

The issue was caused by compositor was allocating float buffer for image and
then this buffer was filled with data converted from byte buffer.

If display happens at time between float was allocated and it was filled black
areas were appearing on the screen.

Made it so IMB_float_from_rect locks color management thread so display
transform wouldn't use uninitialized buffer anymore.
source/blender/imbuf/intern/colormanagement.c
source/blender/imbuf/intern/divers.c